Answers for "gridview column cell alignment form c#"

C#
0

gridview column cell alignment form c#

protected void GridView1_PreRender(object sender, EventArgs e)
{
foreach (GridViewRow row in GridView1.Rows)
{
if (row.RowType == DataControlRowType.DataRow)
{
row.Cells[0].HorizontalAlign = HorizontalAlign.Left;
}
}
}
Posted by: Guest on September-02-2021

Code answers related to "gridview column cell alignment form c#"

C# Answers by Framework

Browse Popular Code Answers by Language