1
Answer

Unable to open the saved application

murali krishna

murali krishna

13y
1.5k
1
I have developed c# application which is not having any database.I have saved the application with data in rich textboxes in my custom file format.When i click on the saved application,I can open my application but,i was unable to open with the data saved in it.
How to load the saved data in my application.
I was unable to load data when application starts.




When i click on the save button my application is saved in my file format(.edp),it is saved on my desktop.When i double click on saved file icon my application is opening in my file format with my UI design,but not he data in it.I was unable to load data when application starts.


Answers (1)
0
Roei Bar

Roei Bar

NA 7.8k 0 15y

hey, i would recommend you to change your work, to work with CheckedListBox
you will have a CheckedItems Property in this, and the Value is the text in it, and if you want complex Object with multiple properties, you can have an object, and on the build just do an Override on the ToString for the displayed item Text and once you run all all Checked Items, you will have the ItemId, and by ItemId you can get any property in the ListView