Author: gtjr921 | Posted on: 4/15/2009 8:19:55 AM | Views : 375

 I have a gridview that has two edit item templates which have controls
textbox and a label I want to get the value of the controls when I
update the gridview and add that to the update parameters. I keep
getting object reference not set to an instance of an object for the
label and the textbox. I cannot figure this out.
I can't believe this has stumped me as I know I have done it before and it is very simple I must be over looking something.
here is my vb

 here is my vb

Protected Sub GridView1_RowUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewUpdateEventArgs)
Handles GridView1.RowUpdating

Dim varSSN As Integer = CType Go to the complete details ...