[DOTNET] Typed Dataset FindByPKID method

2002-05-01 Thread Ronald Young
I'm trying to copy the contents of a DataRow from a typed dataset to a new datarow using this code: int pkid = Convert.ToInt32( EmpGrid[selectedRow, 0] ); EmployeesData.EmployeesRow newRow = (EmployeesData.EmployeesRow)_empData.Employees.FindByPKID( pkid ); // update that rows values newRow.Fir

[DOTNET] Typed DataSet question

2002-04-24 Thread Greg Gates
Hi everyone: The following code creates a data view on a typed dataset. DataView view = new DataView(_months); view.RowFilter = "MonthID=MIN(MonthID)"; return (short)view[0]["MonthId"]; Is there anyway I can create a typed DataView? I would like to be able to use the syntax: return ((MonthDat

Re: [DOTNET] Typed Dataset

2002-04-15 Thread Chesnut, Casey
lto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 9:57 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Typed Dataset I had a moment of clarity in regards to Typed Datasets last night. What I was missing was the fact that you still load them as you would a non-typed dataset, with a DataReader. So, i

Re: [DOTNET] Typed Dataset

2002-04-15 Thread David B. Bitton
[EMAIL PROTECTED] > > > -Original Message- > > From: dotnet discussion [mailto:[EMAIL PROTECTED]] > > On Behalf Of David B. Bitton > > Sent: Sunday, April 14, 2002 10:22 PM > > To: [EMAIL PROTECTED] > > Subject: [DOTNET] Typed Dataset > > > &

Re: [DOTNET] Typed Dataset

2002-04-14 Thread Shawn Wildermuth
et discussion [mailto:[EMAIL PROTECTED]] > On Behalf Of David B. Bitton > Sent: Sunday, April 14, 2002 10:22 PM > To: [EMAIL PROTECTED] > Subject: [DOTNET] Typed Dataset > > > Is there a utility for created typed objects from database > table structures? I know that I ca

[DOTNET] Typed Dataset

2002-04-14 Thread David B. Bitton
Is there a utility for created typed objects from database table structures? I know that I can use xsd.exe to create a dataset inherited class, but it appears as if it needs to be deserialized from XML. Now, I understand I could do a FOR XML in my stored proc, but I'd like to bring it back in nat

[DOTNET] Typed Dataset

2002-04-13 Thread Vikram S
I have been doing some reading on typed datasets and its advantages. What's the performance like ? Does anyone have any statistics or advice for using it or not using using it ?? Thanks, - Vikram You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other Develo