Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2003
    Posts
    6

    Unanswered: Compact Framework and Sybase Database

    Hi
    I am developing an application for Hand-held devices using Compact framework [c#] and Sybase database. Actually I want to connect the sybase databse that will be on PC [ not on Device] from Pocket PC.

    I tried to conect SQLServer database form pocket PC using following code and it works perfectly. Same way I tried to connect Sybase database , but not able to connect

    System.Data.SqlClient.SqlConnection conn ;
    conn = new System.Data.SqlClient.SqlConnection("data source=10.122.12.27;initial catalog=tempdb; uid=sa;pwd=sa;");
    conn .Open();

    I also tried to connect using DSN connection. that also did not help me

    adding driver information in the DSN file

    [ODBC]
    uid=DBA
    pwd=sql
    databasename=test
    enginename=test
    commlinks=tcpip(host=10.122.12.27)



    Does any one tried to connect Sybase database from Pocket Pc. If tried I would really appreciate if you could help me

    Thanks
    AKPR

  2. #2
    Join Date
    Dec 2003
    Location
    FRANCE (Paris)
    Posts
    23

  3. #3
    Join Date
    Nov 2003
    Posts
    6

    Compact Framework and Sybase Database

    Hi
    Thanks for the link. But I think that is for connecing Sybase database from desktop. The link does not say that it support compact frameworks.
    But I have not tried out, Let me download and try the provider .

    Thanks in advance
    Anil

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •