GridView and RowUpdating and getting the Values

15 pts.
Tags:
GridView
GridView RowUpdating
RowUpdating
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
UPDATED: May 15, 2009  2:15 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • BrentSheets
    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.
    6,875 pointsBadges:
    report
  • Srisaacks
    Here is the deal, I am using vb.net 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?
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following