Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C# Programming

datgridview to datatable


i have a datagridview bound to a dataset that is populated with data
from a query from the source datatable. the data is then modified by
some procedures but still maintains the same schema. how do i update a
different datatable with the updated data from the datagridview? the
datatable to be updated must be cleared first. the datatable to be
updated has the same schema as the source datatable. I'm new to c# and
this is my first database program using c#.

basically i want to be able to:

populate new datatable with data from datagridview. please help.

Rex,

    Why not get the original DataTable (after you have updated it) and then
call the Copy method?  This will give you a new DataTable with the structure
and the contents of the original.

    Then, you can use it where you need your copy.

--
          - Nicholas Paldino [.NET/C# MVP]
          - m@spam.guard.caspershouse.com

"Rex NFX" <rexnfx@gmail.com> wrote in message

news:1180459035.893056.87910@h2g2000hsg.googlegroups.com...

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc