"TisMe" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Yup - I am coming from VB!
>
> Thanks for your replies!
>
you might find this useful:
http://labs.developerfusion.co.uk/co...to-csharp.aspx
it will take this:
If (e.Row.RowType = DataControlRowType.DataRow) AndAlso
(e.Row.Cells(1).Text.ToLower() = "jake") Then
e.Row.Cells(1).Text += "ALERT!!!"
End If
and convert it to this:
{
if ((e.Row.RowType == DataControlRowType.DataRow) &&
(e.Row.Cells(1).Text.ToLower() == "jake")) {
e.Row.Cells(1).Text += "ALERT!!!";
}
}