Data Grid View is not showing data.
Hi, I am writing a library project with N Layered Architecture, like I mentioned in the thread, DGV it is not showing any data but adding it and sending it to the SQL, since it is not showing any data I cannot check if it updates or deletes, could you please help me how can I solve this issue? I google'd it but cannot find any solution.
5 Replies
you didn't share any code that loads data from your database
code please, xoxo
I am sorry guys I added this while I was half sleepy those are the related codes
for a start please do not make your fields publid, in the above example there is absolute no need to even have fields you ould just write
If for whatever reason your teaher wants you to use the backing fields, then:
aside from that you're binding a empty new List<BookInformation> to your datagrid hence why its empty
I dont know how or if ur creating an instance of LogicBookInformation as u dont show more code.
so I assume u have a singleton for that and for your DAL
Man thank you so much it worked