Re: Typed DataSet and Stored Procedure
From: Mythran (kip_potter_at_hotmail.com)
Date: 08/25/04
- Next message: David Browne: "Re: newbie problem w/ calling Oracle proc in .NET"
- Previous message: Percival Palbuck: "Re: SQLDataReader: Retrieving sproc output parameters"
- In reply to: Andrew: "Typed DataSet and Stored Procedure"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Aug 2004 10:10:11 -0700
One way to "test" and find out what the difference is between the two datasets
which is causing the typed dataset to fail is to export the schema of the
un-typed dataset and then compare it to the typed dataset's schema xmlschema
(check out WriteXmlSchema for both datasets).
Anywho, what is the exception you are getting when you fill the typed dataset?
Mythran
"Andrew" <Andrew@discussions.microsoft.com> wrote in message
news:C6FEE810-0D74-48B2-BF2B-EC4AE440CD91@microsoft.com...
> I am using a Typed Recordset which won't populate using a SqlDataAdapter.Fill
> method. I am passing in the dataset and the Stored procedure name.
>
> I can pass in an untyped dataset and that get's populated, I can then
> populated the typed dataset from this one. I guess I feel this an unnecessay
> double update. Some of the fields returned by the stored proc are null, but i
> don't see why this should make any difference.
>
> To complicate things I am using a separate component to assess the database
> and run the stored procs, but it doesn't do anything special.
>
> I am only returning the contents os one table. Does any one have any ideas
> what is actually failing, because I really cna't see what is going wrong.
>
> Many Thanks Andy
- Next message: David Browne: "Re: newbie problem w/ calling Oracle proc in .NET"
- Previous message: Percival Palbuck: "Re: SQLDataReader: Retrieving sproc output parameters"
- In reply to: Andrew: "Typed DataSet and Stored Procedure"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|