> From my DATABASE i get Dataset to my GRIDVIEW.
> On run time I want to change the value of a cell.
> For example:
> Instead of "0" i want to write "N/A".
<asp:GridView ID="MyGridView" runat="server
OnRowDataBound="MyGridView_RowDataBound">
...
</asp:GridView>
protected void MyGridView_RowDataBound(object sender, GridViewRowEventArgs
e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (e.Row.Cells[0].Text == "0") { e.Row.Cells[0].Text = "N/A"; }
}
}

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net