2010-06-04

Configure IP address / Network Connection from Command Prompt

Easy guide to configure your IP address / Network Connection from Command Prompt.

http://www.petri.co.il/configure_tcp_ip_from_cmd.htm

2010-06-02

Start Control Panel's item from command prompt

Here is a good list of command that you can use to start Control Panel item's from the command line.

http://en.kioskea.net/faq/403-command-prompts-for-windows

2010-05-30

What Is My Computer Doing.

What Is My Computer Doing by www.itsth.com is a software that monitor your pc for software activities. It let your monitor your pc in real time on what each program / software is doing on your pc, e.g. accessing hard disk, or closing.

This software is very useful when you need to check which software is utilizing your cpu.

 Download What 's my computer doing? [479 KB] >>

2010-05-24

C# Type safe casting and explicit casting

Explicit casting :
Label label = (
Label)e.FooterRow.FindControl("lblNAme");

if (label != null)
{
// Todo :

}

Type safe casting :
Label label = e.FooterRow.FindControl("lblNAme") as Label;
//'is' keyword is used in conjunction after 'as', to provide
//a more intuitive
then comparing to null as in explicit casting sample
if (label is Label)
{
// Todo :
}




ShareThis