473,396 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

What format should the XML text be in for SQL2k?

Don
Hi,

When passing serialized object's XML from ASP.NET to a SQL Server 2k
sproc, what format should
I have the text in?

Here's my XML:

<ArrayOfEmployee xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Employee empid="" firstname="Joe" lastname="Johnson"
hiredate="01/01/2004" title="President" />
<Employee empid="" firstname="Bob" lastname="Smith" hiredate="02/01/2003"
title="Vice President" />
<Employee empid="" firstname="Jack" lastname="Hayes" hiredate="01/01/2000"
title="CFO" />
</ArrayOfEmployee>

When the sproc is called from the ASPX page, there are no errors, but no
records get inserted. When I do it manually myself with copy and paste from
notepad, it works. Any suggestions?

Thanks,

Don

Nov 12 '05 #1
0 919

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

Similar topics

1
by: Ben M. | last post by:
Greetings all, This should be an easy task, and Im sure it is, but as many times as I have tried, I cant seem to get this to work properly. We changed ISPs recently from a shared host to a...
0
by: rh | last post by:
hi all, anyone knows how to deal with ampersands in full text search? such as: select * from table where contains(field, 'at&t') right now this errors out, saying: Server: Msg 7619, Level 16,...
1
by: Warren | last post by:
Below is the script. The problem is when I simulated the Oracle link drop, my SQL2K never have to a chance to head to the GOTO section as it dies with this error msg and exit. Any idea on a...
2
by: Steven T. Hatton | last post by:
I'm still not completely sure what's going on with C++ I/O regarding the extractors and inserters. The following document seems a bit inconsistent:...
1
by: Terrell Miller | last post by:
I have an Access front end with ODBC drivers to a SQL2k box. All our security is Wiondows-authentication on the back end, we don't use Access security workgroups. THerefore when I try to get the...
1
by: Jim P. | last post by:
I have a rich text box that I want to 'insert' into my SQL2K db. But I'm not sure how to handle it. Do I convert it to XML first? Do I place the rich text box in an object then insert it as a...
26
by: Lasse Edsvik | last post by:
Hello I'm trying to build a simple COM+ app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
In the Registry at HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Jet \ 4.0 \ Engines \ Text the default key for Text Format is: "Format" = "CSVDelimited" I can use the following OleDB...
0
by: lbseong | last post by:
Hi expect... I have ancounter another difficulty..I am getting an error message for replication "error 14294: supply either @job_id or @job_name to identify the job" This happen, after I have...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.