Thanks for the response.
I have a couple issues though --
1) It didn't like the const line. Something about the = sign and receiving
an "no identifier" message. I simply hardcoded the column for now.
2) Apparently the ToUpper() function is not part of the Cell class or
whatever. No worky??
Also, where did you obtain the Grid events info, etc? Are there any books
that reference how to do all these things.
This is really cool stuff.
Thanks
"Flinky Wisty Pomm" <Pa********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
If you want formatting that isn't covered by the format strings, your
best bet is to handle the databinding events of your GridView.
<code>
protected void MyGridView_RowDataBound(object sender,
GridViewRowEventArgs e)
{
const myUppercaseColumnIndex = 1;
// don't handle headers or footers
if(e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[myUppercaseColumnIndex].Text =
e.Row.Cells[myUp..].ToUpper();
}
}
</code>