Accessign files in SmartDeviceApplication
Hi all,
Actually i have got a requirement like in a smart device application i have 2 combo boxes and it will be having different number of items in the list at different instancess based on the selection of value in forst combobox.
Actually i do have to load the values from one file in the first combo box. Upon selecting a particular item in the list of combobox1 i do have to read the particular line of another text file and should load the values in combobox2.
Since i am a new bie to smart devices application development, initially i have created a .mdb file with two tables and had a common field in both the tables to make my task easier. After that i realised that oledb is not available for smartdevice applications. Then i tried moving the data from the .mdb file to two text files. But there again i am seeing some issues. In emulator mode only it says that the file could not be found. but i have placed those supporting text fles in the active directory and in the .exe file directory. but no solution.
After that tried to use fileopendialog to select the files. But i ti not at all loading the contents and shows that to me in emulator mode. And so i tried in mobile device, it was throwing an error saying it requires a latest.net compact framework. my target device is a HTC H60 mobile loaded with windows mobile v6.1 system. Please guide me to resolve the issue.
thanks in advance to everyone
|