I am fairly new to .Net and data management. I have yet to understand how I get my new record id back when using GUID? Or how to set it to newID() in execution of the insert?
I am trying to achieve this with the Essential Grid.
ADAdministrator Syncfusion Team December 16, 2002 07:08 AM
I am sorry, but I do not have any insight on your question as I do not understand what you are trying to do.
I searched all ADO.NET samples shipped with the .NET FrameWork and did not get any hits on GUID. Are you using some COM object?
If you are trying to add a row to a DataTable, generally you call Datatable.NewRow to get a referrence to a new DataRow object. You then populate this DataRow, and then call DataTable.Rows.Add to add the new row to the datatable. The online FrameWork help for Datatable.NewRow shows code that handles this.
If you will explain a little more about what you are doing, then maybe we could provide more insight.