25 August 2007

I think that here is the fastest way to bind a data grid for web application.Login with SQL Server 2005 with Windows Authentication.Open your database,Right Click your table and click on Modify menu for which one do you want to bind.Select Fields which are do you want to show in browser. user Control key to select.Press Control + C to copy those column.Now Open a web page in devenv.And Click to for...

24 August 2007

See this example here.I have created an interface.public interface myInterFace1{void Operation(string myParam);string myName();}it have two methods. Operation and myName.Now create a class.class Program{}Now, lets inherit with interface. class Program:myInterFace1{}Now I'm using myInterFace1 in Program class, So I need to write down all methods of that interface in my class.it's do that with...

15 August 2007

Here you will found programing code difference between VB.NET and C#.Following code structures are available there with examples.Program StructureComments linesData typesConstantsEnumerationsOperatorsChoices (If)Types of LoopArrayFunctionWorking with StringException HandlingNamespacesClasses and InterfacesConstructors and DestructorsUsing ObjectsStructsPropertiesDelegates and EventsConsole I/O File I/...