You must Sign In to post a response.
  • Category: XML

    How to generate xml data from sqlserver 2008 using asp.net c#

    Dear Friends
    I have on gridview with full of html controls, and i will try to retrieve data from database ans store that in xml.. now i want to bind that xml into gridview.. how its possible can any one guide me
  • #765387
    Hi Navaneeth,

    If you want to get sql data in xml format then refer below link this might be helpful to you to convert your table data in xml format.

    http://www.aspdotnet-suresh.com/2014/10/sql-server-convert-table-data-to-xml-format-using-xml-auto-xml-path-xml-raw.html

    and after convert into xml you want to show the xml data in gridview, for that the below link will helpful to you,.
    http://stackoverflow.com/questions/20245229/gridview-displaying-xml-file-data

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/

  • #765473
    again use datatable and load the datatable with xml and bind to grid.
    XSLTRANSFORM TO DO THAT. once check with this keyword lots of information available in the google.

    SRI RAMA PHANI BHUSHAN KAMBHAMPATI


Sign In to post your comments