Link to home
Create AccountLog in
Avatar of Somuchowdary
Somuchowdary

asked on

Developing a smart device application in c# and want to add data from sql server to the application

Hi, Im developing a smart device application in c# and i want the data from sql server, so i used a datagrid in the form and adds the datasource to that datagrid when im trying to deploy the application in an emulator it is giving me a sql exception, can i know how to connect the data from sql server to smart device project in c#
Avatar of jjardine
jjardine
Flag of United States of America image

Are you using mobile sql on the device or actually trying to connect to a sql server located over the network?   If it is the latter of the options, make sure that your networking is set up correctly on the emulator so you can access the network resources.   My first guess would be that the emulator is not configured for network access.  
Avatar of Somuchowdary
Somuchowdary

ASKER

im developing the application in visual studio and it it provides me USA Windows Mobile 5.0 Pocket PC R2 Emulator.....i dont know whether it is configured to network acess or not. My sql is on the server and im trying to acess it from the internet.. how to configure the emulator to the network so that i can use sql
ASKER CERTIFIED SOLUTION
Avatar of jjardine
jjardine
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account