memorystream to datatable in c# -
will please me out data memory stream datatable
below code m following
var config = new marketplacewebserviceconfig { serviceurl = serviceurl }; var client = new marketplacewebserviceclient(awsaccesskeyid, secretkey, appname, version, config); var request = new getreportrequest { merchant = sellerid, reportid = reportid }; var ms = new memorystream(); request.report = ms; var response = client.getreport(request);
please me out form ms data table m not able make it
thanks, jimmy darji
first of format memorystream data in? example, message stream below in binary format receive data memeorystream object tell start @ beginning of stream , deserialise object want.
memorystream mem = (memorystream) incoming.bodystream; mem.seek(0, seekorigin.begin); iformatter ifm = new binaryformatter(); var tt = (travelmessageserviceobjects) ifm.deserialize(mem);
tt can used post db.
Comments
Post a Comment