473,659 Members | 2,645 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

create dataset from stored procedure

I have a tsql stored procedure I want to drag from server explorer onto an
xsd file. I get the error ' xml schema could not be interpreted'. The stored
procedure does a select from a udf, that's it.
Sep 14 '06 #1
3 3406
"vickilynnp gc" <vi**********@d iscussions.micr osoft.comwrote in message
news:3A******** *************** ***********@mic rosoft.com...
>I have a tsql stored procedure I want to drag from server explorer onto an
xsd file. I get the error ' xml schema could not be interpreted'. The
stored
procedure does a select from a udf, that's it.
Are you sure you posted to the correct newsgroup?

John
Sep 14 '06 #2
i guessed on the newsgroup, more details follow, could you suggest which
newsgroup i go to?

i'm working in visual studio, .net, and i'm having trouble with a dataset.
this dataset has 4 tables, 3 of which fill fine, the 4th table fails (used to
work fine). reviewed the xml for the table, looks fine as far as i can tell.

so, i created a new, empty dataset and tried to create a table in it by
dropping the stored procedure onto it. fails with the error ' xml schema
could not be interpreted'. rewrote the stored procedure a couple different
ways, no luck.


"John Saunders" wrote:
"vickilynnp gc" <vi**********@d iscussions.micr osoft.comwrote in message
news:3A******** *************** ***********@mic rosoft.com...
I have a tsql stored procedure I want to drag from server explorer onto an
xsd file. I get the error ' xml schema could not be interpreted'. The
stored
procedure does a select from a udf, that's it.

Are you sure you posted to the correct newsgroup?

John
Sep 14 '06 #3
"vickilynnp gc" <vi**********@d iscussions.micr osoft.comwrote in message
news:23******** *************** ***********@mic rosoft.com...
>i guessed on the newsgroup, more details follow, could you suggest which
newsgroup i go to?
The problem happens when you take an action in Visual Studio, so I'd look at
the Visual Studio newsgroups. Maybe there's one that has to do with the data
tools.

John
Sep 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
24387
by: Jim | last post by:
I have a stored procedure that queries a sql server database and returns the multiple data tables ( 7 to be precise) these tables are the results of many joins. When I use the System.Data.SqlClient namespace objects to access this data it is returned intoa dataset, this dataset has the tables as expected but they are name 'Table', 'Table1' , 'Table2' etc.... How can I ge the table name to be more friendly as in "Customers", "Rates"...
1
2439
by: Telemaco | last post by:
Ho la necessità di inserire i risultati di una stored procedure in un dataset. Mi spiego meglio .... Ho costruito una store procedure che incapsula una query di lettura su un database sqlserver che restituisce di dati in formato xml. La clausola utilizzata per avere il risultato in xml è: FOR XML AUTO,XMLDATA, e la stored procedure si chiama SP_Lettura ed accetta tre parametri interi P1,P2,P3. ....
9
1366
by: Jarod | last post by:
Hey Will be in .net 2.0 any nice way to use stored procedures and get typed dataset ? Jarod
9
47201
by: Nikolay Petrov | last post by:
How to fill DataSet from stored procedure?
10
13300
by: Rich | last post by:
I have a stored procedure on Sql Server2k. I can fill a data table which I can append to a dataset using an ADODB recordset object which gets populated from a command object that runs the sp. I was hoping to use a DataAdapter. But I think the data adapter only uses select statements. I could write the sp in my vb.net app, but the sp references UDF's I wrote in the Sql Sever. I will guess that I will need to stick with the ADODB recordset...
3
4869
by: Jon B | last post by:
Hi There! I'm looking into Strongly Typed DataSets in the .NET Framework. I know it can generated strongly typed tables as objects and column names as properties. However, one thing that I would like to know is if it wraps database Stored Procedures as methods and functions? For instance, if I have a Stored Procedure called SelectBestProduct in the Product table, would I be able to call the Stored Procedure with
8
1622
by: Ornette | last post by:
Hello, I have a stored procedure which generates some values in the table. When I use update() how to populate the dataset with theses values ? For the moment I use output parameter but it just works for 1 row and as the dataset doesn't have the value I should put it after and the rowstate goes to "modified"... Any ideas ?
10
1350
by: Steve | last post by:
Ok, I hit a wall and I'm stuck. I have a web form that has a textbox were the user can enter in 1 to many usernames, then the user has to validate the user to make sure the user exists. I have a stored procedure that can only take one username at a time, so I need to keep calling this stored procedure with all of the usernames in the textbox( i have this portion working). The issue I'm running into is that only the data for the last...
4
1970
by: cwilliams01 | last post by:
Hello I am new to VB.NET, so sorry if this is really obvious. I have written the following code to fill my dataset from a stored procedure requiring 1 paramter input (from a SQL database). The Stored Procedure is quite lengthy including a number of inner joins. The Dataset is used to populate a combobox on a form. I get the combobox to be populated by the dataset correctly based on my query selection. When the combobox selected item...
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8539
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7360
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4176
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4342
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2759
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.