This is a discussion on GUI way for DB and tables in mobile devices within the Windows Mobile forums, part of the Mobile Software Development category; Hi all, I need to create db and create table there in mobile device. I have already created the database ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi all, I need to create db and create table there in mobile device. I have already created the database itself on the device, but I need a way to add tables and columns to those tables and establish relationships. Is there a GUI way to do this?
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
| Sponsored Links |
| |||
| Yes... I'm using VS.2005. I've added the database as a datasource and I can create the tables and stuff that way, but it appears that it's only a dataset and not the actual database file. Is there a quick way I could just update my dataset to the database? ![]()
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
| |||
| Hi friend , I prefer to create the DB objects through code - it's rather simple... But to do it from VS 2005 VIEW menu - Server Explorer. You will see Data Connections - ADD connections. I left it selected to My Computer - browsed to a folder where the SQL CE db was - put in the password - tested the connection - all that worked.
__________________ cheers Aman |
| |||
| Thanks! I've created my tables and columns using code, How do I assign a column as the primary key? Is there a way to get it to auto increment as I add new records?
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
| |||
| Hi buddy... Code: Create Table XYZ (Col1 int identity, Col2 nvarchar(1), Primary Key (Col1))
__________________ cheers Aman |
| |||
| When I try to create it on my computer it gives me an OK on test connection, but when I try to hit next, it fails and says it can't access the file. It works fine when I create it on my device though, but I still end up with a dataset and not the actual database file in datasources explorer.
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
| |||
| ... I'll give your code a try, thanks again for the help. More to come I'm sure.
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is the cache sizes for mobile devices? | S.Vinothkumar | Windows Mobile | 6 | 11-20-2007 01:45 AM |
| How Can we search Bluetooth Devices using C# for windows mobile? | mobilegeek | Windows Mobile | 2 | 08-17-2007 08:07 AM |
| VISTA - Able to use Concurrent Devices | prasannavigneshr | Operating Systems | 8 | 08-02-2007 04:07 AM |
| Can I nest tables within tables? | oxygen | HTML, CSS and Javascript Coding Techniques | 2 | 07-27-2007 03:33 AM |
| Any idea about Connecting Windows Mobile to Wireless HID devices? | itbarota | Windows Mobile | 0 | 07-23-2007 07:12 AM |