I want to filter datagrid data according to Dropdownlist order by Months and Year(retrive from databse/listitem)showing same problem. Invalid column name 'Jan'.Same for All months(its when i choosed jan in dropdownlist
using
public
{
WelcomeName = Session[
Label2.Text = Date.ToString(
Label3.Text = Date.ToString(
BtnSubmit.Enabled =
}
Response.Clear();
Response.AddHeader(
Response.Charset =
Response.Cache.SetCacheability(
Response.ContentType =
System.IO.
System.Web.UI.
DataGrid1.RenderControl(htmlWrite);
Response.Write(stringWrite.ToString());
Response.End();
Bindgrid();
da.Fill(ds,
dt = RemoveDuplicateRows(dt,
DataGrid1.DataSource = ds.Tables[
DataGrid1.DataBind();
duplicateList.Add(drow);
hTable.Add(drow[AttDate],
dTable.Rows.Remove(dRow);