i have a header text city and city is retrived from database which is in bound field.
i just want to put a drop downlist near to header text city which ave item some city name.
i require when i select the city from drop downlist in gridview. it only show that city grid view.
Loading

Parveen SiwachPosted May 20, 2013, 2:15 AM
.aspx:
.cs:
protected void Page_Load(object sender, EventArgs e)
{
BindData();
}
private void BindData()
{
DataTable dt = new DataTable();
dt.Columns.Add("Name");
DataRow dr = dt.NewRow();
dr["Name"] = "Parveen";
dt.Rows.Add(dr);
gvTest.DataSource = dt;
gvTest.DataBind();
}
Hope this will solve your problem.