Dear I have data reader into my web application and now I want to read rows and my table containing 233 rows and based on each record (each row) i am populating checkboxlist based on these records , so my reader in while loop loops 233 times and this works locallly (mean on local database) and does not work when working live (live Database)
Any one have an idea??
Loading


Guest UserRank #816 · 2.8K reputationPosted Apr 22, 2015, 12:49 AM EDT
Khargesh RajputRank #616 · 3.9K reputationPosted Apr 22, 2015, 12:57 AM EDT
or not getting record in datareader
Danish HabibRank #2,024 · 715 reputationPosted Apr 22, 2015, 1:27 AM EDT
Khargesh RajputRank #616 · 3.9K reputationPosted Apr 22, 2015, 1:43 AM EDT
You can use below method
http://www.aspsnippets.com/Articles/Populate-bind-CheckBox-in-GridView-from-database-in-ASPNet-using-C-and-VBNet.aspx