yes that,s what i was saying see carefully my coding i removed integrated security and add user and password
On 8/19/09, AstroDrabb <[email protected]> wrote: > > > Why are you passing a user and a password if you are using SSPI: > > Just something like: > > Data Source=localhost; Integrated Security=SSPI; Initial Catalog=pubs > > Will do the job. > > On Sun, Aug 16, 2009 at 11:31 AM, stanlei<[email protected]> wrote: > > > > is there anything wrong with this ... > > SqlConnection conn = new SqlConnection("Data Source='MOI-PC/ > > SQLEXPRESS';Initial Catalog =project;Integrated Security=SSPI;User > > ID=sa;Password=madurai;"); >
