Happy New Year 2006

New year, new hopes, new goals I am always facinated at this time coz I feel like re-borned. Do u? Feel like doing some crazy things to celebrate this festival time. Anyway even next year we have to code and debug till we die thats our life but when it's come to party we must enjoy. Last weekend I met a person who is around late sixties so I asked him "what do you feel about a new year". He said "Life is all about dreams if you dont have any dreams you will feel life is boring and new year is a good time to forget your failures and start over with new dreams". So guys make new goals and make a good plan. All da best for 2006.

Merry Cristmas

It's party time for me. I just tought of get rid of all the work and go wild of fun. Anyway it is about to step in to another challenging year in life. Last few weeks were very tough on me. I had to migrate an old application to a new server and it was really a tough time since there was NO DOCUMENTATION what so ever. hummm... you want belive me I had to do lots of modification with out a trace. Sooooo it is time for some fun. Wish u all a Merry Cristmas and a very very happy new year.

Life ..... Any explanations

What is life and what is this world.... quite a bad question to ask from someone but have you ever think what is this all. I am thinking most of the time but I cant even nearly think a acceptable answer. If anybody have an answer please help me.

Linking Servers in SQL Server

Sometimes it is very important to link your SQL Server with antthor one since it is the best solution for some situations. This is very detailed article about How to link two SQL Servers and also how you can link an external datasources (Eg. Orcale, MS Access, Spredsheet, etc.)

Click here to read the article
By Neil Boyle

To SP or not to SP in SQL Server

This is sometimes a real big challenge we face during the development. This article have some real important stuff you should consider before taking your decision.


To SP or not to SP in SQL Server
by Douglas Reilly on MS SQL Server

Why Sealed Classes?

Why Sealed Classes?

The main purpose of a sealed class to take away the inheritance feature from the user so they cannot derive a class from a sealed class. One of the best usage of sealed classes is when you have a class with static members. For example, the Pens and Brushes classes of the System.Drawing namespace.

The Pens class represent the pens for standard colors. This class has only static members. For example, Pens.Blue represents a pen with blue color. Similarly, the Brushes class represents standard brushes. The Brushes.Blue represents a brush with blue color.

So when you're designing your application, you may keep in mind that you have sealed classes to seal user's boundaries ;).

By Mahesh Chand @ www.c-sharpcorner.com

Some really nice articles on Sealed Classes and Methods in .NET.

http://www.csharphelp.com/archives/archive158.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfsealed.asp
http://www.c-sharpcorner.com/Code/2002/Sept/SealedClasses.asp
http://www.lemanix.com/nick/archive/2005/10/19/3178.aspx

Access dialog results from the parent form in c#

This is something very important for a developers who is migrating from VB to .NET. Even though this is explainning using C# it is not much ditingush from VB code.

  • Lets say you are having two Windows forms called Form1 and Form2 in your project. Form1 will be your parent form and Form2 will be the Dialog form.
  • Form1 will have a Command button and a Label control to display the input from the Dialog form(Form2). Dialogform(Form2) will have a textbox and two command buttons.
  • In the Form2 change the text properties of two buttons as OK and CANCEL.
  • Set OK buttons DialogResult property to OK and CANCEL buttons property to Cancel.
  • Set Modifier property of the textBox1 in the Form2 to Public or Internal. This will allow the parent form(In this case form1) to access the text value of the dialog form.
  • Write following code segement on click events of both buttons (Or create one method and change the delegation)
this.Close();
  • In the Form1 Command buttons Click event write the following code
    Form2 nfrm = new Form2();
    if(nfrm.ShowDialog() == DialogResults.OK)
    {
    this.label1.Text = nfrm.textBox1.Text;
    }
    • It is pretty simple and if you have any further quetions, corrections, suggetions please contact me.

    By Kaminda Berugoda

      Combining JavaScript with ASP.NET Web forms

      ASP.NET provides a new paradigm for developing Web-based applications. This includes a set of server-based controls that are analogous to HTML form elements such as text boxes, buttons, and so forth. The problem with these controls is the need to call the server. JavaScript provides an alternative for many tasks that negates the need to go to the server. Let's take a closer look at combining the power of JavaScript with ASP.NET.

      Read the full article in click here

      Microsoft release SQL Server 2005, VS .NET 2005 & BIZ TALK 2006

      The next generation of software development platform

      What's New in SQL Server 2005?

      What's New in VS.NET 2005?

      Andy Mc's .NET Framework FAQ

      The .NET Framework FAQ was first posted in July 2000, and is regularly updated. It covers the fundamentals of the .NET Framework including assemblies, garbage collection, security, interop with COM and remoting. Newcomers to the .NET framework may wish to read the FAQ from top to bottom as a tutorial. More experienced practitioners may prefer to consult the contents list for topics of particular interest.

      This FAQ was inspired by discussions on the DOTNET mailing list. The list has now been split into several DOTNET-X lists - for details see http://discuss.develop.com/.

      Christophe Lauer has translated the FAQ into French. Royal has translated the FAQ into Chinese.

      If you like this FAQ, you might be interested in my C# FAQ for C++ Programmers.

      Click here to visit the site

      Sri Lanka .Net Forum

      A nice place to put your questions.
       
      Blog Directory - OnToplist.com