Ramco Ramco

Ramco Ramco

  • 440
  • 3.4k
  • 516k

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)