Drop down list not binding with sqldatareader

前端 未结 4 1333
一个人的身影
一个人的身影 2021-01-24 10:15

i have a form with a collection of about five drop down . i have my query as follows .

 string sql = \"SELECT a.clientID ,a.[cname],b.bid,b.[bname],c.contactID,          


        
4条回答
  •  伪装坚强ぢ
    2021-01-24 10:48

    Your choices are to either rerun/refill it or create separate readers or better yet fill a datatable instead and then you can reuse the datatable.

提交回复
热议问题