On Mon, Jul 18, 2011 at 1:48 AM, DotNet Newbie <bauer.j...@gmail.com> wrote: > Good evening. I have a GridView linked to an Access 2000 database. The > GridView has a template field with a checkbox to allow the user to select > records. What I want to do is then take those selected records and insert > them into an MS SQL database. After hours of reading online and trying to > figure this out, I still remain confused on how to accomplish this using C# > and ado.net. Please note, I am not trying to copy the entire table from > Access, just certain fields from the table. I am using this code to confirm > that I can successfully determine which records have been selected in the > GridView, but now I'm stuck. Here's the code I have so far, which right now > is writing the list of selected records to an asp label: ----------
Do you know how to parse out a string looking for any value between your ; delimiter? If you do make a method that will receive that string and identify each item you plucked from the grid. That method will also do the request for the insert or do it there. Stephen -- Stephen Russell Unified Health Services 60 Germantown Court Suite 220 Cordova, TN 38018 Telephone: 888.510.2667 901.246-0159 cell -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to dotnetdevelopment@googlegroups.com To unsubscribe from this group, send email to dotnetdevelopment+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net