chetan shinde

chetan shinde

  • NA
  • 108
  • 45.5k

Json in javascripr

Mar 16 2015 12:40 AM
hi i am using Json while binding data from database. when i bind data in jason format using javascript is also bind its html format atomatically. 
Like 
"{"Header":[{"SrNo":"##","RID":"RID","VDATE":"VDATE","WTypeAlias":"WTypeAlias","VAmount":"VAmount","DocType":"DocType","FSize":"FSize","FileName":"FileName"},{"SrNo":"1","RID":"VWe2002515","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"818.00","DocType":"Gains","FSize":"4.00","FileName":"VWe2002515_3.TXT"},{"SrNo":"2","RID":"VWe2002513","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"745.00","DocType":"Gains","FSize":"34.00","FileName":"VWe2002513_3.png"},{"SrNo":"3","RID":"VWe2002513","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"745.00","DocType":"Gains","FSize":"9.00","FileName":"VWe2002513_2.xlsx"},{"SrNo":"4","RID":"VWe2002513","VDATE":"01/Feb/2014","WTypeAlias":"SLS","VAmount":"745.00","DocType":"Gains","FSize":"227.00","FileName":"VWe2002513_1.txt"}],"Footer":[{"Total":"4","curIndex":"1","last":"4","TotalPage":"2"}]} <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title> </title></head> <body> <form method="post" action="DocGrid_Support.aspx?mode=list&amp;DocType=25&amp;Ledger=20625188&amp;FromDt=01%2fApr%2f2013&amp;ToDt=31%2fMar%2f2015&amp;SiteId=202" id="form1"> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE2MTY2ODcyMjlkZDYeAiA0vD2VMbPbFqDskkvxb+sCrFrdqSLMXgsqrYVA" /> </div> <div> </div> </form> </body> </html> "