Need to select data from dbo.customers
Id
Name
Surname
tax
to class,becose need to use in my app.
Now I every time in form create string select from etc...
I dont want that.
Want to use data with class
Some exaples or link
Thank you
Loading

Rajanikant HawaldarRank #110 · 20.2K reputationPosted Nov 21, 2019, 10:52 PM EST
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 22, 2019, 5:37 AM EST
Goran BibicRank #993 · 2K reputationPosted Nov 21, 2019, 11:25 PM EST
Rajanikant Hawaldar
Goran BibicRank #993 · 2K reputationPosted Nov 21, 2019, 11:25 PM EST
Jaimin ShethiyaRank #177 · 13.7K reputationPosted Nov 21, 2019, 11:52 PM EST
please refer below link for.
this is convert datatable to generic list so helping for you.
https://stackoverflow.com/questions/208532/how-do-you-convert-a-datatable-into-a-generic-list
let me know if you have needed any other help.
Thanks
Goran BibicRank #993 · 2K reputationPosted Nov 22, 2019, 10:22 PM EST
Magesh R