How to access GridView inside WebMethod of Web Service in ASP.Net

Manoj2807
 
on Nov 12, 2014 02:47 AM
3982 Views

Can we add asp control in web api asmx file like asp grid view and bind it and handle datarow bound event

Download FREE API for Word, Excel and PDF in ASP.Net: Download
Mudassar
 
on Nov 12, 2014 02:47 AM

No you cannot. ASP.Net controls can only be used in an ASPX page and no where else.