Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<asp:DataGrid …Attributes… OnItemDataBound=”OnItemDataBoundEventHandler”> //This specifies the function to call when populating the grid.
public void OnItemDataBoundEventHandler(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
{
TableCell tableCell = (TableCell) e.Item.Controls[0]; //Controls[0] is the first column in your grid.
}
tableCell.Text = "First Column";