protected void ddlRange_SelectedIndexChanged(object sender, EventArgs e) { BindGrid(ddlRange.SelectedValue.ToString()); } protected void BindGrid(string Language) { try { GridView1.DataSource = objMain.Selectinfo(Convert.ToInt32(Session["RANGE_ID"].ToString())); GridView1.DataBind(); } catch (Exception ex) { } finally { } }
public DataTable Selectinfo(int RANGE_ID) { ArrayList lstParam = new System.Collections.ArrayList(); SqlParameter param; param = new SqlParameter(); param.ParameterName = "@RANGE_ID"; param.SqlDbType = SqlDbType.Int; param.Value = RANGE_ID; lstParam.Add(param); return (new ConnectivityStatusDAL.SQLDAL().SelectData("SP_SelectIinfo", lstParam, false)); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)