Thursday, September 16, 2010

Header column Text in Datagrid

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;
}
}
}

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

Thursday, September 2, 2010

parms

http://msdn.microsoft.com/en-us/library/w5zay9db%28VS.71%29.aspx

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

ref and out variabls differences

http://msdn.microsoft.com/en-us/library/t3c3bfhx%28VS.80%29.aspx

Wednesday, September 1, 2010

Access modifier

http://www.codeproject.com/KB/cs/CsharpAccessModifiers.aspx