Hey I'm reaching out to the geeks in here for help. I'm working on an ASP.net application and have run into a huge wall. Here's my situation...
I have a datagrid with several records of information. I am trying to create a column labeled "edit" which when clicked, it will populate a webform which exists on the same page as the datagrid. I am having problems binding the data to a variable so that the record can be populated into the database. I am assuming that once I find out the "record ID" from the database, I can use an SQL SELECT statement to pull the data from the database. But I am unsure if this is correct or not. What would I write to assign the index value to a variable so that I can do a select statement? I have a feeling it would be placed in the EditRecord Subroutine but am not sure...
See attached file for code..
Thanks for any help you guys may have!!!
I have a datagrid with several records of information. I am trying to create a column labeled "edit" which when clicked, it will populate a webform which exists on the same page as the datagrid. I am having problems binding the data to a variable so that the record can be populated into the database. I am assuming that once I find out the "record ID" from the database, I can use an SQL SELECT statement to pull the data from the database. But I am unsure if this is correct or not. What would I write to assign the index value to a variable so that I can do a select statement? I have a feeling it would be placed in the EditRecord Subroutine but am not sure...
See attached file for code..
Thanks for any help you guys may have!!!

Attachments
-
3.8 KB Views: 40