Hi,
Can any one please suggest which is better from Performance point of view for RADCombo.
Because after 'googling' I found that my first approach is better for small data lets say 100 or 1000 rows.
Example: Here is link what they discuss
http://forums.asp.net/t/1670292.aspx/1
Can any one please suggest which is better from Performance point of view for RADCombo.
Because after 'googling' I found that my first approach is better for small data lets say 100 or 1000 rows.
Example: Here is link what they discuss
http://forums.asp.net/t/1670292.aspx/1
Dim Item As RadComboBoxItem
For Each row As DataRow In DataTable.Rows
Item = New RadComboBoxItem
Item.Text = row("name").ToString()
Item.Value = row("id").ToString()
Combo.Items.Add(Item)
Next
OR
Combo.DataSource=DataTable
Combo.DataTextField="name"
Combo.DataValueField="id"
Combo.DataBind()
Thanks,
Sanjeev Kumar