By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,723 Members | 1,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,723 IT Pros & Developers. It's quick & easy.

DataSet in XSLT

100+
P: 117
i am fetching some data from SQL and filling it through the Adapterto in DataSet, and then passing that DataSet to the XmlDataDocument Object, like

XmlDataDocument XMLDoc = new XmlDataDocument(dsOrders);

and then again i take SqlDataAdapteradapter2 with new Query and again fill the same Dataset. means there are now two results, resulted by 2 queries


XMLDoc.DataSet.EnforceConstraints = false;

and then i am accessing that data through XSLT and exporting it as Excel,

when i access the data of the First query in XSLT it shows the required result but it also repeat the rows for the seocnd result,

like suppose there are total 7 rows in out put 3 are for first query and 4 are for 2nd query and i need the print only first 3 [of first query] but it displays thw hwole 7, first 3 showing results but last 4 with no values.

why it is repeating.
Mar 6 '07 #1
Share this Question
Share on Google+
1 Reply


dorinbogdan
Expert 100+
P: 839
It seems to be a .Net issue, so I'll move the thread to the .Net forum.
Mar 6 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.