How to upload data in an Access database table into a ASP.NET Gridview Table using C#
Posted on 2014-01-16
I have an issue where my end user want's to take data that is in an access database table and then upload that data to a ASP.NET gridview table. Once the data has been uploaded to the table the user would then want to conform the columns in the gridview to match the columns in the SQL Server 2008 database table then save/load the data from the gridview to the SQL database table.
Issue are: How do you take a Access database table data/column and rows upload that data to an ASP.NET gridview table.
Next: Because the columns in the Access database tables column may not be formated the same way as the SQL database table columns to format those columns in the GridView to match those in the SQL database table. Ex: Access db table may have FullName (LastName Plus FirstName) and the SQL table may seperate out the First Name and Last Name as two seperate columns.
Then: Once the columns match the SQL table with those in the GridView table the end user can upload the GridView table to the SQL database table with the new row data.
Any and all help will be much appricated.
Thank you in advance