Ramco Ramco

Ramco Ramco

  • 419
  • 3.4k
  • 528.1k

Date column Editable

Apr 26 2023 9:54 AM

Hi

  I have below code & i want to make Date Column editable.

SQLUtility sQLUtility = new SQLUtility();
                DataTable BookPlanningResult = sQLUtility.GeBookPlanningRecommendation(BookCollection, StudentCollection).Tables[0];
                if (BookPlanningResult != null)
                {
                    DataColumn Remarks = new DataColumn("Remarks", typeof(string));
                    BookPlanningResult.Columns.Add(Remarks);
                    DataColumn Dates = new DataColumn("Date", typeof(DateTime));
                    BookPlanningResult.Columns.Add(Dates);

                    
                    
                    grdPlanning.DataSource = BookPlanningResult;
                    grdPlanning.DataBind();
                }

Thanks


Answers (7)