473,574 Members | 2,687 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dataset Transformed to Word via XML

Hi,

The following snippet:

(ds is a populated dataset)

string sXSLT = @"C:\XML\templa te\template.xsl ";
string sTemp = @"C:\XML\temp\t emp.xml";
string sOutput = @"C:\XML\output \output.xml";
ds.WriteXml(sTe mp);
XslTransform xslt = new XslTransform();
xslt.Load(sXSLT );
xslt.Transform( sTemp, sOutput, new XmlUrlResolver( ));
creates an XML word document which, when opened, loads fine - in other
words It is generating my word document OK.

However, assuming the dataset contains more than one row, then only
one word document is created, with the body of the document repeated
over and over - rather than one document per dataset row.
Is there any way to create a document per dataset row (other that
ensuring the dataset only contains one row!)??

Thanks in advance.

Jan 6 '06 #1
6 2193
Looks like you need your XSLT to be able to create multiple output
documents.

You could do that with the exsl:document tag.
http://www.exslt.org/exsl/index.html
http://msdn.microsoft.com/library/de...ml06162003.asp

Cheers,
-Naraendira Kumar R.R.
~~~~~~~~~~~~~~~
<ji******@gmail .com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
Hi,

The following snippet:

(ds is a populated dataset)

string sXSLT = @"C:\XML\templa te\template.xsl ";
string sTemp = @"C:\XML\temp\t emp.xml";
string sOutput = @"C:\XML\output \output.xml";
ds.WriteXml(sTe mp);
XslTransform xslt = new XslTransform();
xslt.Load(sXSLT );
xslt.Transform( sTemp, sOutput, new XmlUrlResolver( ));
creates an XML word document which, when opened, loads fine - in other
words It is generating my word document OK.

However, assuming the dataset contains more than one row, then only
one word document is created, with the body of the document repeated
over and over - rather than one document per dataset row.
Is there any way to create a document per dataset row (other that
ensuring the dataset only contains one row!)??

Thanks in advance.

Jan 7 '06 #2
That's great thanks - can you/anyone help with my document - I can't work
out where to put the exsl:document tag? Ive tried a few optios:

<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:w="http://schemas.microso ft.com/office/word/2003/wordml"
xmlns:v="urn:sc hemas-microsoft-com:vml"
xmlns:w10="urn: schemas-microsoft-com:office:word "
xmlns:sl="http://schemas.microso ft.com/schemaLibrary/2003/core"
xmlns:aml="http ://schemas.microso ft.com/aml/2001/core"
xmlns:wx="http://schemas.microso ft.com/office/word/2003/auxHint"
xmlns:o="urn:sc hemas-microsoft-com:office:offi ce"
xmlns:dt="uuid: C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:ns0="http ://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:st1="urn: schemas-microsoft-com:office:smar ttags">
<xsl:output method="xml" encoding="UTF-8" standalone="yes " />
<xsl:template match="/">
<xsl:processi ng-instruction name="mso-application">
<xsl:text>progi d="Word.Documen t"</xsl:text>
</xsl:processing-instruction>
<w:wordDocume nt
xmlns:w="http://schemas.microso ft.com/office/word/2003/wordml"
xmlns:v="urn:sc hemas-microsoft-com:vml"
xmlns:w10="urn: schemas-microsoft-com:office:word "
xmlns:sl="http://schemas.microso ft.com/schemaLibrary/2003/core"
xmlns:aml="http ://schemas.microso ft.com/aml/2001/core"
xmlns:wx="http://schemas.microso ft.com/office/word/2003/auxHint"
xmlns:o="urn:sc hemas-microsoft-com:office:offi ce"
xmlns:dt="uuid: C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:ns0="http ://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:st1="urn: schemas-microsoft-com:office:smar ttags" w:macrosPresent ="no"
w:embeddedObjPr esent="yes" w:ocxPresent="n o" xml:space="pres erve">
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags" o:name="City" />
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags" o:name="Street"
/>
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags" o:name="address "
/>
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags"
o:name="country-region" />
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags" o:name="place"
/>
<o:DocumentProp erties>
<o:Title>Form4B </o:Title>
<o:Author>Bow e</o:Author>
<o:LastAuthor>J im Ryder</o:LastAuthor>
<o:Revision>2 </o:Revision>
<o:TotalTime> 1</o:TotalTime>
<o:LastPrinted> 2003-02-13T16:16:00Z</o:LastPrinted>
<o:Created>20 06-01-05T15:51:00Z</o:Created>
<o:LastSaved>20 06-01-05T15:51:00Z</o:LastSaved>
<o:Pages>2</o:Pages>
<o:Words>340</o:Words>
<o:Characters>1 944</o:Characters>
<o:Company>NCHA </o:Company>
<o:Lines>16</o:Lines>
<o:Paragraphs>4 </o:Paragraphs>
<o:CharactersWi thSpaces>2280</o:CharactersWit hSpaces>
<o:Version>8.54 25</o:Version>
</o:DocumentPrope rties>
<w:fonts>
<w:defaultFon ts w:ascii="Times New Roman" w:fareast="Time s New
Roman" w:h-ansi="Times New Roman" w:cs="Times New Roman" />
</w:fonts>
<w:lists>
<w:listDef w:listDefId="0" >
<w:lsid w:val="00C65B6C " />
<w:plt w:val="Multilev el" />
<w:tmpl w:val="00000000 " />
<w:lvl w:ilvl="0">
<w:start w:val="1" />
<w:lvlText w:val="%1." />
<w:legacy w:legacy="on" w:legacySpace=" 0" w:legacyIndent= "720"
/>

"Naraendira Kuma R.R." <na****@nospam. com> wrote in message
news:us******** *****@TK2MSFTNG P12.phx.gbl...
Looks like you need your XSLT to be able to create multiple output
documents.

You could do that with the exsl:document tag.
http://www.exslt.org/exsl/index.html
http://msdn.microsoft.com/library/de...ml06162003.asp

Cheers,
-Naraendira Kumar R.R.
~~~~~~~~~~~~~~~
<ji******@gmail .com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
Hi,

The following snippet:

(ds is a populated dataset)

string sXSLT = @"C:\XML\templa te\template.xsl ";
string sTemp = @"C:\XML\temp\t emp.xml";
string sOutput = @"C:\XML\output \output.xml";
ds.WriteXml(sTe mp);
XslTransform xslt = new XslTransform();
xslt.Load(sXSLT );
xslt.Transform( sTemp, sOutput, new XmlUrlResolver( ));
creates an XML word document which, when opened, loads fine - in other
words It is generating my word document OK.

However, assuming the dataset contains more than one row, then only
one word document is created, with the body of the document repeated
over and over - rather than one document per dataset row.
Is there any way to create a document per dataset row (other that
ensuring the dataset only contains one row!)??

Thanks in advance.


Jan 8 '06 #3
Thanks for that - where does the exsl:document bit goes exactly - here
is a snippet of my template:

<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:w="http://schemas.microso ft.com/office/word/2003/wordml"
xmlns:v="urn:sc hemas-microsoft-com:vml"
xmlns:w10="urn: schemas-microsoft-com:office:word "
xmlns:sl="http://schemas.microso ft.com/schemaLibrary/2003/core"
xmlns:aml="http ://schemas.microso ft.com/aml/2001/core"
xmlns:wx="http://schemas.microso ft.com/office/word/2003/auxHint"
xmlns:o="urn:sc hemas-microsoft-com:office:offi ce"
xmlns:dt="uuid: C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:ns0="http ://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:st1="urn: schemas-microsoft-com:office:smar ttags">
<xsl:output method="xml" encoding="UTF-8" standalone="yes " />
<xsl:template match="/">
<xsl:processi ng-instruction name="mso-application">
<xsl:text>progi d="Word.Documen t"</xsl:text>
</xsl:processing-instruction>
<w:wordDocume nt
xmlns:w="http://schemas.microso ft.com/office/word/2003/wordml"
xmlns:v="urn:sc hemas-microsoft-com:vml"
xmlns:w10="urn: schemas-microsoft-com:office:word "
xmlns:sl="http://schemas.microso ft.com/schemaLibrary/2003/core"
xmlns:aml="http ://schemas.microso ft.com/aml/2001/core"
xmlns:wx="http://schemas.microso ft.com/office/word/2003/auxHint"
xmlns:o="urn:sc hemas-microsoft-com:office:offi ce"
xmlns:dt="uuid: C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:ns0="http ://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:st1="urn: schemas-microsoft-com:office:smar ttags"
w:macrosPresent ="no" w:embeddedObjPr esent="yes" w:ocxPresent="n o"
xml:space="pres erve">
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags"
o:name="City" />
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags"
o:name="Street" />
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags"
o:name="address " />
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags"
o:name="country-region" />
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags"
o:name="place" />
<o:DocumentProp erties>
<o:Title>Form4B </o:Title>
<o:Author>Bow e</o:Author>
<o:LastAuthor>J im Ryder</o:LastAuthor>
<o:Revision>2 </o:Revision>
<o:TotalTime> 1</o:TotalTime>
<o:LastPrinted> 2003-02-13T16:16:00Z</o:LastPrinted>
<o:Created>20 06-01-05T15:51:00Z</o:Created>
<o:LastSaved>20 06-01-05T15:51:00Z</o:LastSaved>
<o:Pages>2</o:Pages>
<o:Words>340</o:Words>
<o:Characters>1 944</o:Characters>

Jan 9 '06 #4
It is hard to suggest, by just looking at the XSLT.

Can you post a sample XML & call out which XML nodes, you want to go to a
seperate document?

--
Naraendira Kumar R.R.
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
"Jim Ryder" <no@chance.co m> wrote in message
news:F0******** ***@newsfe1-win.ntli.net...
That's great thanks - can you/anyone help with my document - I can't work
out where to put the exsl:document tag? Ive tried a few optios:

<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:w="http://schemas.microso ft.com/office/word/2003/wordml"
xmlns:v="urn:sc hemas-microsoft-com:vml"
xmlns:w10="urn: schemas-microsoft-com:office:word "
xmlns:sl="http://schemas.microso ft.com/schemaLibrary/2003/core"
xmlns:aml="http ://schemas.microso ft.com/aml/2001/core"
xmlns:wx="http://schemas.microso ft.com/office/word/2003/auxHint"
xmlns:o="urn:sc hemas-microsoft-com:office:offi ce"
xmlns:dt="uuid: C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:ns0="http ://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:st1="urn: schemas-microsoft-com:office:smar ttags">
<xsl:output method="xml" encoding="UTF-8" standalone="yes " />
<xsl:template match="/">
<xsl:processi ng-instruction name="mso-application">
<xsl:text>progi d="Word.Documen t"</xsl:text>
</xsl:processing-instruction>
<w:wordDocume nt
xmlns:w="http://schemas.microso ft.com/office/word/2003/wordml"
xmlns:v="urn:sc hemas-microsoft-com:vml"
xmlns:w10="urn: schemas-microsoft-com:office:word "
xmlns:sl="http://schemas.microso ft.com/schemaLibrary/2003/core"
xmlns:aml="http ://schemas.microso ft.com/aml/2001/core"
xmlns:wx="http://schemas.microso ft.com/office/word/2003/auxHint"
xmlns:o="urn:sc hemas-microsoft-com:office:offi ce"
xmlns:dt="uuid: C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:ns0="http ://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:st1="urn: schemas-microsoft-com:office:smar ttags"
w:macrosPresent ="no" w:embeddedObjPr esent="yes" w:ocxPresent="n o"
xml:space="pres erve">
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags" o:name="City"
/>
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags"
o:name="Street" />
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags"
o:name="address " />
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags"
o:name="country-region" />
<o:SmartTagTy pe
o:namespaceuri= "urn:schema s-microsoft-com:office:smar ttags" o:name="place"
/>
<o:DocumentProp erties>
<o:Title>Form4B </o:Title>
<o:Author>Bow e</o:Author>
<o:LastAuthor>J im Ryder</o:LastAuthor>
<o:Revision>2 </o:Revision>
<o:TotalTime> 1</o:TotalTime>
<o:LastPrinted> 2003-02-13T16:16:00Z</o:LastPrinted>
<o:Created>20 06-01-05T15:51:00Z</o:Created>
<o:LastSaved>20 06-01-05T15:51:00Z</o:LastSaved>
<o:Pages>2</o:Pages>
<o:Words>340</o:Words>
<o:Characters>1 944</o:Characters>
<o:Company>NCHA </o:Company>
<o:Lines>16</o:Lines>
<o:Paragraphs>4 </o:Paragraphs>
<o:CharactersWi thSpaces>2280</o:CharactersWit hSpaces>
<o:Version>8.54 25</o:Version>
</o:DocumentPrope rties>
<w:fonts>
<w:defaultFon ts w:ascii="Times New Roman" w:fareast="Time s New
Roman" w:h-ansi="Times New Roman" w:cs="Times New Roman" />
</w:fonts>
<w:lists>
<w:listDef w:listDefId="0" >
<w:lsid w:val="00C65B6C " />
<w:plt w:val="Multilev el" />
<w:tmpl w:val="00000000 " />
<w:lvl w:ilvl="0">
<w:start w:val="1" />
<w:lvlText w:val="%1." />
<w:legacy w:legacy="on" w:legacySpace=" 0" w:legacyIndent= "720"
/>

"Naraendira Kuma R.R." <na****@nospam. com> wrote in message
news:us******** *****@TK2MSFTNG P12.phx.gbl...
Looks like you need your XSLT to be able to create multiple output
documents.

You could do that with the exsl:document tag.
http://www.exslt.org/exsl/index.html
http://msdn.microsoft.com/library/de...ml06162003.asp

Cheers,
-Naraendira Kumar R.R.
~~~~~~~~~~~~~~~
<ji******@gmail .com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
Hi,

The following snippet:

(ds is a populated dataset)

string sXSLT = @"C:\XML\templa te\template.xsl ";
string sTemp = @"C:\XML\temp\t emp.xml";
string sOutput = @"C:\XML\output \output.xml";
ds.WriteXml(sTe mp);
XslTransform xslt = new XslTransform();
xslt.Load(sXSLT );
xslt.Transform( sTemp, sOutput, new XmlUrlResolver( ));
creates an XML word document which, when opened, loads fine - in other
words It is generating my word document OK.

However, assuming the dataset contains more than one row, then only
one word document is created, with the body of the document repeated
over and over - rather than one document per dataset row.
Is there any way to create a document per dataset row (other that
ensuring the dataset only contains one row!)??

Thanks in advance.



Jan 9 '06 #5
Hmmmm... I think(!) I understand your question:

The template above is generated by the MS Word XML toolbar. All I then
do is apply my dataset to it. The typed dataset looks like this:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="PrintQueueT enancyLetterFor m5DS"
targetNamespace ="http://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
elementFormDefa ult="qualified" attributeFormDe fault="qualifie d"
xmlns="http://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:mstns="ht tp://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="u rn:schemas-microsoft-com:xml-msdata">
<xs:element name="PrintQueu eTenancyLetterF orm5DS"
msdata:IsDataSe t="true">
<xs:complexType >
<xs:choice maxOccurs="unbo unded">
<xs:element name="PrintQueu eTable">
<xs:complexType >
<xs:sequence>
<xs:element name="Name" type="xs:string " />
<xs:element name="Address1"
type="xs:string " />
<xs:element name="Address2"
type="xs:string " minOccurs="0" />
<xs:element name="Address3"
type="xs:string " minOccurs="0" />
<xs:element name="PostCode"
type="xs:string " minOccurs="0" />
<xs:element name="IncreaseD ate"
msdata:ReadOnly ="true" type="xs:dateTi me" minOccurs="0" />
<xs:element name="Effective Date"
msdata:ReadOnly ="true" type="xs:dateTi me" minOccurs="0" />
<xs:element name="TenancyPK "
msdata:ReadOnly ="true" msdata:AutoIncr ement="true" type="xs:int" />
<xs:element name="PropertyF K" type="xs:int"
/>
<xs:element name="PeriodFK" type="xs:int"
/>
<xs:element name="Charge" type="xs:decima l"
/>
<xs:element name="Variation "
type="xs:decima l" />
<xs:element name="ApprovedB y"
type="xs:string " minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

Jan 10 '06 #6
I bet this isn't the XML to which you are trying to apply the XSLT.

Snippet from your original post ...
string sXSLT = @"C:\XML\templa te\template.xsl ";
>>string sTemp = @"C:\XML\temp\t emp.xml";
>>string sOutput = @"C:\XML\output \output.xml";
>>ds.WriteXml(s Temp);
>>XslTransfor m xslt = new XslTransform();
>>xslt.Load(sXS LT);
>>xslt.Transfor m(sTemp, sOutput, new XmlUrlResolver( )); >>That's great thanks - can you/anyone help with my document - I can't
>>work
>>out where to put the exsl:document tag? Ive tried a few optios:It is hard to suggest, by just looking at the XSLT.
Can you post a sample XML & call out which XML nodes, you want to go to a
seperate document?


If you post the a snippet of the XML document (temp.xml) and tell us which
nodes you want to go into each Word document, somebody on this group might
be able to help you.

--
Naraendira Kumar R.R.
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
"dfljfdlgld fj" <ji******@gmail .com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. . Hmmmm... I think(!) I understand your question:

The template above is generated by the MS Word XML toolbar. All I then
do is apply my dataset to it. The typed dataset looks like this:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="PrintQueueT enancyLetterFor m5DS"
targetNamespace ="http://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
elementFormDefa ult="qualified" attributeFormDe fault="qualifie d"
xmlns="http://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:mstns="ht tp://tempuri.org/PrintQueueTenan cyLetterForm5DS .xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="u rn:schemas-microsoft-com:xml-msdata">
<xs:element name="PrintQueu eTenancyLetterF orm5DS"
msdata:IsDataSe t="true">
<xs:complexType >
<xs:choice maxOccurs="unbo unded">
<xs:element name="PrintQueu eTable">
<xs:complexType >
<xs:sequence>
<xs:element name="Name" type="xs:string " />
<xs:element name="Address1"
type="xs:string " />
<xs:element name="Address2"
type="xs:string " minOccurs="0" />
<xs:element name="Address3"
type="xs:string " minOccurs="0" />
<xs:element name="PostCode"
type="xs:string " minOccurs="0" />
<xs:element name="IncreaseD ate"
msdata:ReadOnly ="true" type="xs:dateTi me" minOccurs="0" />
<xs:element name="Effective Date"
msdata:ReadOnly ="true" type="xs:dateTi me" minOccurs="0" />
<xs:element name="TenancyPK "
msdata:ReadOnly ="true" msdata:AutoIncr ement="true" type="xs:int" />
<xs:element name="PropertyF K" type="xs:int"
/>
<xs:element name="PeriodFK" type="xs:int"
/>
<xs:element name="Charge" type="xs:decima l"
/>
<xs:element name="Variation "
type="xs:decima l" />
<xs:element name="ApprovedB y"
type="xs:string " minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

Jan 12 '06 #7

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

Similar topics

0
1770
by: Brendan Reynolds | last post by:
I have a web service that takes the XML representation of a dataset and uses XSLT to transform it to the format required to open a disconnected ADODB recordset on the XML, and returns the transformed XML as a string, for use in an Access/VBA application. The transformed XML looks, in part, like this .... <z:row...
1
4141
by: Matthew Baskey | last post by:
Hello, I need to reorder a Typed DataSet in memory using an Xsl Transform. Most of the examples use stream which write to the hard disk or xml file. I want to do this in memory and then write the resulting Typed Dataset into a Session object which will be reused on multiple postbacks and then finally saved when editing is done. Get...
1
3263
by: Geoffrey Gallaway | last post by:
Hello, I'm trying to apply an XSL to a dataset contents. More specifically, I want to apply an XSL to a dataset or an XmlDataDocument and put the resulting transformed data back into another DataSet or simply to modify the current DataSet. The first part is easy: Dim xmlDataDoc as XmlDataDocument = new XmlDataDocument(oracleDS) Dim...
5
2633
by: Jason | last post by:
Hello, I am working on a problem which requires me to take a String variable containing some Xml, transform it using Xslt, and dump the result into a DataSet. What would be the quickest way to do this? - I don't want to use any files in this process. Thanks,
4
2848
by: Siu | last post by:
Hi, I've written a class which inheritates from the CollectionBase class public class MyClass : CollectionBase { } An object istantiated from MyClass can be transformed in a DataSet? does exist a method which transform it into a DataSet?
13
11291
by: Hrvoje Voda | last post by:
How to put a specified dataset table into an array list ? Hrcko
2
4285
by: Mike Stephens | last post by:
A contact management application we previously developed for a customer now has a requirement to perform mail merging. Normally request like this would be very simple to solve, we were just point the mail merge data source to the database. But this request is a little bit different. The customer needs to perform the mail merge from the...
2
5650
by: kamil.nowicki | last post by:
Hi there, I want to create flat txt file from my data stored in my dataset. I do xslt transformation and i've got sth like that: (where ds - is my dataset, output.txt - is my result --------------------------------------------------------------- //Create a new XslTransform object. XslTransform xslt = new XslTransform();
4
9594
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
I've got a DataSet that I save as XML using the DataSet DataTable's WriteXml method. If I say XmlWriteMode.IgnoreSchema, it shows up great in Excel, but I can not reopen the file in my application because there is no schema for it. On the other hand, I can choose XmlWriteMode.WriteSchema, and the data in Excel looks more like some kind of...
0
7832
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7843
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...
0
8129
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...
1
5643
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5331
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...
0
3785
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2262
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
1
1364
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1094
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...

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.