Wrox Home  
Search P2P Archive for: Go

  Return to Index  

sql_language thread: Stored Proc Returning a dataset???


Message #1 by "Vittal_setty" <Vittal_setty@i...> on Thu, 19 Dec 2002 22:22:23 +0530
[I'm not an expert, but:]
The sqlDataAdaptor constructor accepts an sqlCommand object. Point the
sqlCommand to your sproc. Use the sqlDataAdaptor to place the resultset in
the DataSet.

There is a ADO.Net list where you can ask these questions. It's under the
ASP category at p2p.wrox.com and it's called adox_net

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Vittal_setty" <Vittal_setty@i...>
Subject: [sql_language] Stored Proc Returning a dataset???


Hi All,

I am currently with ADO.NET and SQL server2000.

Is it possible for a stored proc to return a dataset.
A dataset is basically an XML and a stored proc can return data as XML
RAW or XML Explicit.  So I guess this should be possible.

Can anyone throw some more light on this?
Would highly appreciate if any sample code/ links are available.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Return to Index