asp.net database problem RRS feed

  • Question

  • I am using VB.NET 2005 in an ASP.NET application with a SQL Server 2000 database.  I have a table called keynumbers.  In the table keynumbers I have the one up index number for all the key fields in the database.  My application is inserting data into table A.    What I have been trying is to read the index number into the form with a Sqldatasource and into a gridview.  I then read index number from the gridview and put it into a variable which I then insert into the table A.  I can get the number into the gridview without any problem.  I just can not access the row and column of the gridview.


    The only way I can think of doing it is by using an ActiveX data Objects and an OLEDBConnection.


    How can I get the data out of the gridview?


    Does anyone have a better Idea?  


    Thank you,



    Thursday, August 16, 2007 5:26 PM