-
Junior Member
Setting Column header and manipulate DATAGRID
How can i manipulate DATAGRID?
How can set its column headers,
How can i get its row values so that i can put those values in textboxes to update?
-
Junior Member
Re: Setting Column header and manipulate DATAGRID
Here is one of the example:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes["onmouseover"] = "this.style.cursor='hand';this.style.color='Blue'";
e.Row.Attributes["onmouseout"] = "this.style.textDecoration='none';this.style.color='Black'";
}
}
}
In this example I am adding some style to the ros items itself !!! So you can also do the same way !!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules