We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GUID - how to handle

Thread ID:





2093 Dec 15,2002 09:44 PM UTC Dec 16,2002 12:08 PM UTC WinForms 1
Tags: GridControl
Knut Vonheim
Asked On December 15, 2002 09:44 PM UTC

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. Many thanks, Knut Vonheim

Administrator [Syncfusion]
Replied On December 16, 2002 12:08 PM UTC

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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon