Hello Friends,
I am very new to .Net and the VS.Net IDE. So I will definitely sound silly to you guys when I ask this question. I have been working on an ASP.Net project from quite some time now. However, most of the coding I did using Dreamweaver (No VS.Net IDE). I have a code behind file that I use to set up a connection with the SQL Server Database. And I use the classes within this file in aspx pages where I need to setup a connection. I used a code behind file so that I could change the connection string easily every time I uploaded my files to the production server.
Now, I am trying to make use of a readymade web control in one of my aspx pages. For that, I tried using VS.Net IDE. However, it throws me an error saying that the class I'm using within an aspx page is not available. Now I know that code behind file contains the class. However, I do not know how to add this code behind file to my project/solution.
Please elaborate with a solution for my problem.
Also please let me know what is a solution, project. And how do I change the default directory that is used to create solutions.
Thanx a lot,
Praveen
I am very new to .Net and the VS.Net IDE. So I will definitely sound silly to you guys when I ask this question. I have been working on an ASP.Net project from quite some time now. However, most of the coding I did using Dreamweaver (No VS.Net IDE). I have a code behind file that I use to set up a connection with the SQL Server Database. And I use the classes within this file in aspx pages where I need to setup a connection. I used a code behind file so that I could change the connection string easily every time I uploaded my files to the production server.
Now, I am trying to make use of a readymade web control in one of my aspx pages. For that, I tried using VS.Net IDE. However, it throws me an error saying that the class I'm using within an aspx page is not available. Now I know that code behind file contains the class. However, I do not know how to add this code behind file to my project/solution.
Please elaborate with a solution for my problem.
Also please let me know what is a solution, project. And how do I change the default directory that is used to create solutions.
Thanx a lot,
Praveen