winson lee

winson lee

  • NA
  • 6
  • 0

Connecting SQL Server 2005 database from Windows Mobile 6.0

Aug 9 2009 8:10 PM
[code]
                _alwaysOpenCon = new SqlConnection(@"Data Source=db.ppp.com.au;database=sales;uid=xxx;pwd=yyy");
                _alwaysOpenCon.Open();

[/code]

i use the exact same code for my windows application and it works fine. I try to use the same connection string for my windows mobile application and somehow it fails to connect.  The only exception msg given is only "ex.Message = "SqlException". Please advise how I can go about solving this problem. Thanks.

Answers (1)