protected void DisplayOrders(string orderdate) { orderDate = orderdate; ds = BLL.GetOrdersByTimePeriod_BLL(orderdate); dt1 = ds.Tables[0]; //System.Diagnostics.Debug.WriteLine(dt1.Columns[6].ColumnName); grid.DataSource = ds; grid.DataBind(); }