Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

How to bind data grid view from xml database file based on search ?

$
0
0

Hi all,

          I am trying to make Document uploader winforms c# application ,where we can upload important documents by name  and then search it by name so that can open the document and if required can print the document ,i am using xml database file as database so i am getting problem in binding the datagridview based on search from textbox using Like operator as in sql , and i am also getting the problem on how to make link in data gridview to open the document and make link in datagridview to print the document ? Below is my xml file ,please help in this i am stuck from many days ? Below is the xml file .

The document uploaded is kept in the folder named "Doc_Upl".

I am using VS 2010 and not working in MVC framework.

<?xml version="1.0" standalone="yes"?>
<DOCUMENT_UPLOADER>
  <DOCUMENT>
    <OWNER_ID>Rohit Johri</OWNER_ID>
    <DOCUMENT_NAME>xczb</DOCUMENT_NAME>
    <DOCUMENT_URL>1372016_152710images.jpe</DOCUMENT_URL>
  </DOCUMENT>
  <DOCUMENT>
    <OWNER_ID>Rohit Johri</OWNER_ID>
    <DOCUMENT_NAME>xczb</DOCUMENT_NAME>
    <DOCUMENT_URL>1372016_152710images.jpe</DOCUMENT_URL>
  </DOCUMENT>
  <DOCUMENT>
    <OWNER_ID>Rohit Johri</OWNER_ID>
    <DOCUMENT_NAME>zx</DOCUMENT_NAME>
    <DOCUMENT_URL>1372016_153247Student.jpg</DOCUMENT_URL>
  </DOCUMENT>
  <DOCUMENT>
    <OWNER_ID>Rohit Johri</OWNER_ID>
    <DOCUMENT_NAME>asss</DOCUMENT_NAME>
    <DOCUMENT_URL>1372016_153530download.jpe</DOCUMENT_URL>
  </DOCUMENT>

Thanks in advance

Rohit J




Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>