GridView and RowUpdating and getting the Values
15 pts.
0
Q:
GridView and RowUpdating and getting the Values
I have a gridview and I have my items in a template inside. I am trying to update the values after the edit mode but they are not updating and I keep getting a error saying its not an object. this is one piece of code where i am trying to access the data in the RowUpdating function

Dim thisTest As String = CType(recordsGridView.SelectedRow.FindControl("txtSvc"), TextBox).Text
ASKED: May 14 2009  11:16 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
15 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Last Answered: May 14 2009  11:16 PM GMT by Srisaacks   15 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

BrentSheets   6535 pts.  |   May 15 2009  2:06PM GMT

Moderator Note: Hello Srisaacks. Since this is your first question - I wanted to say welcome and explain the best way to get an answer on IT Knowledge Exchange. When you post a question, be sure to provide enough information. For example, it would have been helpful if you had mentioned what language you’re using and the version. You can click the “Add to Discussion” button to provide more details at any time. Thanks.

 

Srisaacks   15 pts.  |   May 15 2009  2:15PM GMT

Here is the deal, I am using <a href="http://vb.net" title="http://vb. " target="_blank">vb.net</a> 2005, VS 2008, SQL Server 2008, and I have a gridview. I have populated the gridview using stored procecures. In the gridview I use templates. In the RowUpdating procedure of the gridview I am not sure how to update the gridview with the user input. I am not sure how to retrieve these values either. I have searched all over the net with no avail. Is this a better explanantion?

 
0