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