c# Mobile Application Connection String question

niv

Member
Joined
Jun 3, 2003
Messages
9
Hello,

I am creating a mobile application using c#.

I keep getting and SqlException when I try to open a
database from a mobile application using the code below.

SqlConnection cnn = new SqlConnection();
cnn.ConnectionString = @"Server = TFD1;" +
"Integrated Security = SSPI;" +
"Connection Timeout = 5;";


This code work on reqular .NET C# applications but not on
the mobile application.
Does anyone know why?

Thanks,

niv
 
Back
Top