A
amateur
Hi,
I write a C#-application for handheld with Windows CE .Net in VS .Net 2003.
I try to connect cleint-application in handheld to database (OS: MS Windows
2000 , DB: MS Access 2000) via SqlConnection but it is not successful .
string strConnect= @"Data Source=\\MyServer\MyDatabase; database=books.mdb";
SqlConnection con =new SqlConnection(strConnect);
try
{
con.Open();
MessageBox.Show("Quelle:"+con.DataSource+"\r\n"+"State:"+con.State);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message,"Error");
}
finally
{
con.Close();
}
PC and handheld are connected via WLAN.
The quethion: is it possible or not ?
If not , is there other capabilities ?
Best regards
Amateur
I write a C#-application for handheld with Windows CE .Net in VS .Net 2003.
I try to connect cleint-application in handheld to database (OS: MS Windows
2000 , DB: MS Access 2000) via SqlConnection but it is not successful .
string strConnect= @"Data Source=\\MyServer\MyDatabase; database=books.mdb";
SqlConnection con =new SqlConnection(strConnect);
try
{
con.Open();
MessageBox.Show("Quelle:"+con.DataSource+"\r\n"+"State:"+con.State);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message,"Error");
}
finally
{
con.Close();
}
PC and handheld are connected via WLAN.
The quethion: is it possible or not ?
If not , is there other capabilities ?
Best regards
Amateur