//how-to hide columns from GridView -
//add (OnRowCreated="OnRowCreated") in your gridview declarative syntax
//in this example the second column is hidden
//add also to the css file of the aspx page ( .hiddencol {display:none;} )
protected void OnRowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[1].CssClass = "hiddencol";
}
else if (e.Row.RowType == DataControlRowType.Header)
{
e.Row.Cells[1].CssClass = "hiddencol";
}
} //eof method OnRowCreated ( object sender, GridViewRowEventArgs e )
What the heck is a `\\.\nul` path and why is it breaking my Directory Files
Lookup?
-
[image: Null Device Banner]
In the last few months my Markdown Monster Application Insights log has
been inundated with a hard failure for lookups of a \...
3 weeks ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!