5
Answers

How do I bind 60000 rows to dropdown list in ASP.NET

Hi All,
 
While binding more than 600000 rows into the drop-down list then the page is hanged up.
 
I have tried:
 
DataTable dt;
dt = GetDataTable(sqlQuery);
lb.DataSource = dt;
lb.DataTextField = Display;
lb.DataValueField = Value;
lb.DataBind();
Answers (5)