3
Answers

Set Attributes of TextBox

Photo of Ramco Ramco

Ramco Ramco

1y
481
1

Hi

  I have below code in Gridview RowDataBound. I want to set font-size

TableCell cell = new TableCell();
                TextBox txtColumn = new TextBox();
                txtColumn.ID = "txtSessionDate";
                txtColumn.CssClass = "form-control daterange-single";
                cell.Controls.Add(txtColumn);
                e.Row.Cells.Add(cell);

Thanks

Answers (3)