i want to change the color of border rows and columns in the grid view in asp for printing purpose.how it can be possible
Before printing you can loop through the rows and change color
foreach (GridViewRow row in GridView1.Rows) { if (row.RowType == DataControlRowType.DataRow) { row.Attributes["style"] = "border:1px solid red"; } }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.