protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e) { DataTable dt = bindgrid(); this.RadGrid1.DataSource = dt; } [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public static string ProductFillFileUploadDetails(string DistibutorId) { DataServiceBase objdal = new DataServiceBase(); DataTable dtpricingrule = new DataTable(); dtpricingrule.Rows.Clear(); dtpricingrule = objdal.Getdata("SELECT* from XXXX)); string UploadDetails = dtpricingrule.Rows[0][0].ToString() + "," + dtpricingrule.Rows[0][1].ToString(); return UploadDetails; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)