Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending Changes From A Dataset To The DB
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01306720
Message ID:
01306778
Vues:
19
>>I have a method that receives a changed record as XML:
>>
>>
>>public void UpdateUser(string sUserXML)
>>{
>>
>>    StringReader oReader = new System.IO.StringReader(sUserXML);
>>    DataSet oDataSet = new DataSet();
>>    oDataSet.ReadXml(oReader);
>>
>>}
>>
>>
>>How do I get the changes back to the database?
>
>The best answer depends on a few things.
>Is the database MSSQL?
>How did you obtain/create the original dataset?
>Regards,
>Viv


1) The DB is MSSQL
2) I am using the scenerio I described in past threads - a Client side class making a call through a WS
which returns the data as XML. The XML is the reconverted back to a DS, changed, and passed back through
the WS to the server AS XML, reconverted back to a DS as above.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform