Dropdownlist rowupdating

When i updating dropdownlist in gridview, having this error. Object reference not set to an instance of an object string Nam Dept = (Grid View. Text 'works ok Dim test1 As String = (CType((CType(sender, Grid View)).

dropdownlist rowupdating-46dropdownlist rowupdating-59

Grid View Row Event Args) Handles gv Configuration. A table is recording the information except their mark.

Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As System.

When I edit and update any row I would like to grab the Selected Value of that Drop Down List when I'm in the Grid View_Row Updating event.

Yes, in the edititem template, there is a textbox and ddl.

I can read the textbox info just fine, but not the ddl when Row Updating 'Row Updating Dim index As Integer = Convert. Row Index) Dim row As Grid View Row = gv Configuration.

Leave a Reply