Author: kalyangv | Posted on: 4/1/2010 4:10:03 PM | Views : 245

Hi all,
i'm a fresher in using ASP .NET and I don't have much experience in using it and i request all of you to forgive me if I post something wrong or silly.
My question is that, I've added a class file to my website project and instantiated an object for the SqlConnection class, but i'm unable to access the object i've created for the class.
____
SqlConnection cn = new SqlConnection("....");
if i type cn i'm not being shown this object in the intellisense menu, hence i tried to put the code in the constructor of the class and it worked.
Can someone please explain me the reason for this..
 
...

Go to the complete details ...