EDN Admin
Well-known member
[background=transparent]
just want to know which one is faster :[/background][background=transparent]
provide a datareader to dropdownlist as datasource or looping through datareader and add items to the list ?[/background][background=transparent]
suppose we have DropDownList name = ddlx[/background][background=transparent]
ddlx.datasource = datareader or[/background][background=transparent]
while(reader.read())[/background][background=transparent]
{[/background][background=transparent]
ddlx.items.add(new itemlist("","");[/background][background=transparent]
{[/background][background=transparent]
which one is faster and why please ?[/background]
View the full article
just want to know which one is faster :[/background][background=transparent]
provide a datareader to dropdownlist as datasource or looping through datareader and add items to the list ?[/background][background=transparent]
suppose we have DropDownList name = ddlx[/background][background=transparent]
ddlx.datasource = datareader or[/background][background=transparent]
while(reader.read())[/background][background=transparent]
{[/background][background=transparent]
ddlx.items.add(new itemlist("","");[/background][background=transparent]
{[/background][background=transparent]
which one is faster and why please ?[/background]
View the full article