Click here to Skip to main content
15,915,032 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL For Smarties Pin
Edbert P22-Mar-04 12:08
Edbert P22-Mar-04 12:08 
GeneralRe: SQL For Smarties Pin
Bill Dean8-Apr-04 1:59
Bill Dean8-Apr-04 1:59 
GeneralNeed some understanding on SP Pin
Tom Wright22-Mar-04 7:14
Tom Wright22-Mar-04 7:14 
GeneralRe: Need some understanding on SP Pin
OMalleyW25-Mar-04 2:41
OMalleyW25-Mar-04 2:41 
GeneralFoxpro (free) Tables and ADO.NET Pin
ArnieA21-Mar-04 19:56
ArnieA21-Mar-04 19:56 
GeneralBackup/Restore Database in ISP Pin
Clickok20-Mar-04 15:02
Clickok20-Mar-04 15:02 
GeneralRe: Backup/Restore Database in ISP Pin
Mike Dimmick22-Mar-04 4:55
Mike Dimmick22-Mar-04 4:55 
GeneralInserting Soap formatted XML into SQLServer2K table Pin
atan_ban20-Mar-04 7:26
atan_ban20-Mar-04 7:26 
Hi :
I am a starter in .NET technology and just trying to save this soap formatted XML serialized from Account class, mentioned below.
========================================================
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<a1:Account id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Accounts/Accounts%2C%20Version%3D0.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull">
<Name id="ref-3">Atanu</Name>
<Balance>500</Balance>
</a1:Account>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
==========================================================
Account table in SQLServer2K, has 2 fields: Name & Balance and currently has no data. When trying to insert using usual method (DataAdapter, CommandBuilder, DataSet), it is inserting NULL in the Name col and 500 in the Balance column.
Then I removed the (id="ref-3") from (<Name id="ref-3">Atanu</Name>) of the above generated XML and now the value "Atanu" is correctly inserted in the Name col? But then I should not have done this.
Could you please tell me how to insert the above XML into Account table. Also could you please tell meaning of the phrase "<Name id="ref-3">Atanu</Name>" found in the above XML, generated using serialize method and soap-formatter - I mean meaning of "id=ref-3" attrb. in the name element and is there any way to get rid of the attrb. while the XML was generated.

Thanks very much.
Atanu

GeneralRe: Inserting Soap formatted XML into SQLServer2K table Pin
Mazdak20-Mar-04 21:00
Mazdak20-Mar-04 21:00 
GeneralSending Data to URL Pin
SamAmman19-Mar-04 20:47
SamAmman19-Mar-04 20:47 
GeneralUpdating cells in datagrid base off another cells input value Pin
Anonymous19-Mar-04 7:05
Anonymous19-Mar-04 7:05 
GeneralODBC join Pin
Ganesh Ramaswamy19-Mar-04 6:35
Ganesh Ramaswamy19-Mar-04 6:35 
GeneralRe: ODBC join Pin
Mike Dimmick19-Mar-04 11:40
Mike Dimmick19-Mar-04 11:40 
GeneralSQL Server 7 to 2000 Pin
hxxbin19-Mar-04 4:31
hxxbin19-Mar-04 4:31 
GeneralRe: SQL Server 7 to 2000 Pin
Rob Graham19-Mar-04 10:53
Rob Graham19-Mar-04 10:53 
GeneralRe: SQL Server 7 to 2000 Pin
Jeff Varszegi20-Mar-04 4:48
professionalJeff Varszegi20-Mar-04 4:48 
QuestionHow to use SQL server CE in embedded visual c++? Pin
P_JAYAPRAKASH19-Mar-04 0:53
P_JAYAPRAKASH19-Mar-04 0:53 
QuestionLocale of DataSet effects datetime values? Pin
JackDotNet18-Mar-04 8:41
JackDotNet18-Mar-04 8:41 
AnswerRe: Locale of DataSet effects datetime values? Pin
Mazdak18-Mar-04 22:26
Mazdak18-Mar-04 22:26 
GeneralRe: Locale of DataSet effects datetime values? Pin
JackDotNet24-Mar-04 22:31
JackDotNet24-Mar-04 22:31 
GeneralRe: Locale of DataSet effects datetime values? Pin
Mazdak24-Mar-04 23:18
Mazdak24-Mar-04 23:18 
GeneralRe: Locale of DataSet effects datetime values? Pin
JackDotNet25-Mar-04 8:25
JackDotNet25-Mar-04 8:25 
GeneralCRecordSet and CDatabase.ExecuteSQL Pin
pnpfriend18-Mar-04 5:21
pnpfriend18-Mar-04 5:21 
GeneralRe: CRecordSet and CDatabase.ExecuteSQL Pin
Rob Graham18-Mar-04 5:39
Rob Graham18-Mar-04 5:39 
GeneralRe: CRecordSet and CDatabase.ExecuteSQL Pin
pnpfriend18-Mar-04 6:47
pnpfriend18-Mar-04 6:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.