Database connection
-
Hi to all, I want to connect database(sqlserver2000) in .aspx file Not in Code behind File. Mohan balal
Mkanchha wrote:
I want to connect database(sqlserver2000) in .aspx file Not in Code behind File.
I assume you are using ASP.NET 2.0. When creating new ASPX page, visual studio will ask where you want to place the code. Single file or separate file. Choose single file , In this you can write all your code in ASPX file. Use the connection as usual here.:cool:
printf("Navaneeth!!") www.w3hearts.com
-
Mkanchha wrote:
I want to connect database(sqlserver2000) in .aspx file Not in Code behind File.
I assume you are using ASP.NET 2.0. When creating new ASPX page, visual studio will ask where you want to place the code. Single file or separate file. Choose single file , In this you can write all your code in ASPX file. Use the connection as usual here.:cool:
printf("Navaneeth!!") www.w3hearts.com
-
I am using asp.net 1.1, I want database connection code in .ASPx file. If you have some code or example Please Post it Mohan Balal
-
Hi to all, I want to connect database(sqlserver2000) in .aspx file Not in Code behind File. Mohan balal
-
I am using asp.net 1.1, I want database connection code in .ASPx file. If you have some code or example Please Post it Mohan Balal
Yup you can do so...just like asp... << >>