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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GUID - how to handle

Thread ID:

Created:

Updated:

Platform:

Replies:

2093 Dec 15,2002 09:44 PM UTC Dec 16,2002 12:08 PM UTC WinForms 1
loading
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.

CONFIRMATION

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.

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

;