Hi All,
I have data contained in XML file and SQL database. What I'd like to do is to create a DataSet with a DataTable containing data coming from the XML file, and retrieve from the SQL server only data that match a field in the XML datatable, for example DocID.
The xml might look like
<Document>
<DOCID>1</DOCID>
<SCORE>Title 1</SCORE>
</Document>
<Document>
<DOCID>5</DOCID>
<SCORE>Title 5</SCORE>
</Document>
It is generated by 3rd party software.
The table in SQL server might have fields, DocID, DocAuthor,DocTitle. That table could contains a very large number of records. In the DataGridView, I'd like to be able to display DocID, DocAuthor,DocTitle,Score and sort by any of the column.
What would be the best approach to create the DataSet and to retrieve data from the SQL server?
Thanks in advance!
xkxTnT
I have data contained in XML file and SQL database. What I'd like to do is to create a DataSet with a DataTable containing data coming from the XML file, and retrieve from the SQL server only data that match a field in the XML datatable, for example DocID.
The xml might look like
<Document>
<DOCID>1</DOCID>
<SCORE>Title 1</SCORE>
</Document>
<Document>
<DOCID>5</DOCID>
<SCORE>Title 5</SCORE>
</Document>
It is generated by 3rd party software.
The table in SQL server might have fields, DocID, DocAuthor,DocTitle. That table could contains a very large number of records. In the DataGridView, I'd like to be able to display DocID, DocAuthor,DocTitle,Score and sort by any of the column.
What would be the best approach to create the DataSet and to retrieve data from the SQL server?
Thanks in advance!
xkxTnT