hello,

i have a project and im a beginner in this type of programming..

im using sqlcserver 2005 to connect into visual studio 2010.. may i ask what is the correct syntax connection string.. i have my code already but i can not connect because there is an error stating that connection string did not inialized.. thank you in advance.

here is my code..

str ="Data Source=USER-PC;Initial Catalog=master;User ID=sa;Password=12345" providerName="System.Data.SqlClient"/>"

but there is an error states that Conversion from string "providerName=System.Data.SqlClie" to type 'Double' is not valid.

need some one to help.. thank you in advance.