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#
.NET ProgrammingC#Programming Languages-Other

Avatar of undefined
Last Comment
jjardine

8/22/2022 - Mon
jjardine

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.  
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
jjardine

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck