PC Review


Reply
Thread Tools Rate Thread

DataBinding DataSet PrimaryKey

 
 
Srikanth
Guest
Posts: n/a
 
      20th Aug 2003
Hi,
I have a Strongly typed DataSet with a Primarykey which Iam binding
to a textbox control on the windows form. In order to create a new row, iam
creating a new Data row with dummy values. Up to now everything ok. But,
once I change the primary key textbox value on the UI, the same is not
reflected in the DataSet. I even tried EndCurrentEdit().

How to reflect the change in the DataSet??

Regards,
Srikanth.


 
Reply With Quote
 
 
 
 
Scot Rose [MSFT]
Guest
Posts: n/a
 
      20th Aug 2003
Do you have a sample project showing what you are trying to do that you can send to me to take a look at?

Want to know more? Check out the MSDN Library at http://msdn.microsoft.com or the Microsoft Knowledge Base at http://support.microsoft.com

Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (E-Mail Removed) <Remove word online. from address>

This posting is provided “AS IS”, with no warranties, and confers no rights.




--------------------
>From: "Srikanth" <(E-Mail Removed)>
>Subject: DataBinding DataSet PrimaryKey
>Date: Wed, 20 Aug 2003 17:14:31 +1000
>Lines: 13
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <(E-Mail Removed)>
>Newsgroups: microsoft.public.dotnet.framework.windowsforms
>NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.windowsforms:50589
>X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
>
>Hi,
> I have a Strongly typed DataSet with a Primarykey which Iam binding
>to a textbox control on the windows form. In order to create a new row, iam
>creating a new Data row with dummy values. Up to now everything ok. But,
>once I change the primary key textbox value on the UI, the same is not
>reflected in the DataSet. I even tried EndCurrentEdit().
>
>How to reflect the change in the DataSet??
>
>Regards,
>Srikanth.
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I find a DataRow in a DataSet by it's PrimaryKey value?(C++/CLI) google@robertbennett.us Microsoft VC .NET 2 4th Jan 2008 02:43 PM
Re: Can Column of type 'Guid' be used is DataSet as PrimaryKey ? Robert Microsoft Dot NET 0 26th Mar 2004 08:06 AM
Is Column which type is 'Guid' and has PrimaryKey set true can be used is DataSet ? Robert Microsoft Dot NET 0 25th Mar 2004 12:16 PM
Setting PrimaryKey Column of table in dataset Matt Tapia Microsoft ADO .NET 1 26th Feb 2004 05:24 PM
Link form DataSet to business layer DataSet, whilst maintaining design-time databinding support muesliflakes Microsoft C# .NET 2 5th Feb 2004 03:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:06 PM.