Visual Basic .NET » Visual Basic .NET General Discussion
Dataview & data grids - setting the value of a drop down. - VB.NET -- cause --


Sorted!

after binding - i will loop through the datatable and set the value then

For Each objLineItem In grdReturn.Items
objDropdown = objLineItem.FindControl("cboreason")
objDropdown.SelectedValue =
ReturnDT.Rows(I).Item("Reason")
I = I + 1
Next

[Submit Comment]Home