Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created my website forms in Asp.net and created a database for the forms in sql server 2005. now I am unable to connect my forms with database. I have browsed many sites but unable to do as directed instructions on the site.please help as i want my website to work properly.
Posted
Comments
Vivek Krishnamurthy 7-Mar-12 13:06pm    
What is the problem ?
Herman<T>.Instance 7-Mar-12 15:37pm    
what error you get?

The easiest way is to use the Smart Tooltip. Drag a GridView onto your page and you will notice the little triangle dropdown in the upper right of the gridview. It has a wizard that will walk you through connecting it all up.
 
Share this answer
 
You have problem with web config file...may b ur sql password authenication so check it out..
if sql is window authonication then try it..

Data Source=MICROSOFT-PC;Initial Catalog=databasename;Integrated Security=True


if sql is password then try it

Data Source=MICROSOFT-PC;Initial Catalog=dbemployee;uid=username;pwd=password

May b it can help you
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900