http://www.codeproject.com/KB/webforms/Datagrid_Col_Example.aspx
private void HideShowColumns(DataGrid dg)
{
if(dg == null)
{
return;
}
// Loop through all of the columns in the grid.
foreach(DataGridColumn col in dg.Columns)
{
// Hide the Salary and SS# Columns.
if(col.HeaderText == "ExampleColumn")
{
col.Visible = false;
}
}
}
Thursday, September 16, 2010
Monday, September 13, 2010
interface with private method
http://msdn.microsoft.com/en-us/library/87d83y5b%28VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/ms173157%28v=VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/ms173157%28v=VS.80%29.aspx
Thursday, September 2, 2010
call by value and reference
http://msdn.microsoft.com/en-us/library/s6938f28%28VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/0f66670z%28VS.71%29.aspx#vclrfpassingmethodparameters_example1
http://msdn.microsoft.com/en-us/library/0f66670z%28VS.71%29.aspx#vclrfpassingmethodparameters_example1
Wednesday, September 1, 2010
Subscribe to:
Posts (Atom)