Sign in
Google apps
Main menu
Post a Comment On:
Blogpad
"Change GridView backgrod color"
No comments yet. -
1 – 0 of 0
aspx
< id="grdLicensedClients" runat="server" onrowdatabound="grdLicensedClients_RowDataBound">
c#
protected void grdLicensedClients_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
DataRowView drv = (DataRowView)e.Row.DataItem;
string areaCode = drv["Area"].ToString();
if (_duplicateAreaCodes.Contains(areaCode))
{
e.Row.BackColor = System.Drawing.Color.Yellow;
}
}
}
posted by fc at
4:38 PM
on May 19, 2008
Leave your comment
You can use some HTML tags, such as
<b>, <i>, <a>
This blog does not allow anonymous comments.
Google Account
You will be asked to sign in after submitting your comment.
Please prove you're not a robot
"Change GridView backgrod color"
No comments yet. -