Hi
I have below code & i want instead of Update/Cancel icons should be displayed and after the right side of last column.
Code
C#
DataTable BookPlanningResult = sQLUtility.GeBookPlanningRecommendation(vRpl, 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

Rajkiran SwainRank #165 · 14.4K reputationPosted Apr 30, 2023, 9:55 AM EDT
protected void OnRowEditing(object sender, GridViewEditEventArgs e) { grdPlanning.EditIndex = e.NewEditIndex; BindGridView(); // Rebind the GridView to enter edit mode } protected void OnRowCancelingEdit(object sender, GridViewCancelEditEventArgs e) { grdPlanning.EditIndex = -1; // Exit edit mode BindGridView(); // Rebind the GridView to show the original data }Ramco RamcoRank #462 · 5.4K reputationPosted Apr 30, 2023, 10:32 AM EDT
Hi Rajkiran
I want images to appear at the end of row. As of now they appear in the beginning
Thanks