index > SQL Server Everywhere Edition > Best way to learn SQL Mobile?

Best way to learn SQL Mobile?

I am an experienced web developer using PHP and MySql have experience with VB.

What is the best way for me to learn programming pocket pc's? Is using sql server mobile the best offline database to use as I will be using MySql Compact framework to connect direcly to our Linux server.

Any help is much appreciated as I can't seem to find any useful tutorials on quering an sql databse to update, insert, read or delete. I have created a datebase however, I just don't know how to use it.

Thanks in advance.

Mark

BSC Mark P

Hi Mark,

The SQL Mobile is ideal for offline scenarios. You can find SQL Mobile related resource on MDSN. I am providing the links below

SQL Mobile page on MSDN - http://msdn.microsoft.com/mobility/sqlmobile/default.aspx

SQL Mobile page from SQL Server home: http://www.microsoft.com/sql/editions/sqlmobile/default.mspx

SQL Mobile Books Online - http://msdn2.microsoft.com/en-us/library/ms173053.aspx

For advanced topics like replication with Microsoft SQL Server backend databases you can visit the following links

Connectivity with Microsoft SQL Server - http://www.microsoft.com/sql/editions/sqlmobile/connectivity-tools.mspx

Manish Agnihotri
I'm working on somthing simular too. I want to connect to a mysql server on the web.
What do you use to connect to the mysql server?

The only thing I found for CF is MySQLDirect...

could you please let me know.

Dennis
dd209

I think I use the same one, it is made by Core Lab. The download link is below.

http://crlab.com/mysqlnet/download.html

Thanks for the links but I still cannot find a tutorial that demonstrates some simple insert, delete, update and select queries.

Mark

BSC Mark P

Hi Mark,

Below is a specific link to IBuySpy Sample app available on MSDN

http://msdn2.microsoft.com/en-us/library/ms174006.aspx

IBuySpy Delivery 2005 Sample Application (SQL Server Mobile) - "When you install IBuySpy Delivery, you install modified versions of the IBuySpy database and Web application, and the code specific to the IBuySpy Delivery 2005 smart device application."

Hope this helps

Regards

Manish




Please hit "Yes", if my post answered your question(s). All postings are as-is and confer no rights.
Manish Agnihotri

Thanks for all this help Manish, but I think your going to hate me now. I am starting to think that I am either stupid, a complete novice or more likley both.

The sample app you gave me is overly complicated and requires MS Server 2005 to be installed on my computer. I have no intension of doing this as I don't need it. I just need a sample of an extreamely simple application that has its own database and doesn't sync with anything, it is stand alone.

I simply need to know how to select data from the database and store it in an array(?) or something similar, and to send sql command to the database. I ask to store the results of a quey in an array because every example app I have found shows the data as a datagrid, which is ugly and not suitable for my current project.

ie. With PHP I would explain the above like so.

1. Connect to database using a connect string.

2. get results of a query using something like : $queryResults = getQueryResults("SELECT * FROM table")

3. Use a loop to read the $queryResults array. Read the date using : $queryResults[0]['name'] <-- this would give you the stored value in the first row and the in the field 'name'.

Can development for the pocket pc be this easy? I have developed app's for the Palm OS and naver had as much trouble as this. Why is it so overly complicated?

Thanks for your patience and help.

Mark

BSC Mark P
reply 6

You can use google to search for other answers

 

More Articles

• *.mdf to *.sdf
• How does this, ResetDbType(), work
• Problem using SQL Server Mobile 2005 with Windows Mobile 5 applic...
• GUID in Mobile SQL
• String truncate error
• Getting RecordCount with TableDirect
• I need some information regarding Windows Mobile5.0
• Inserting images
• SQL Mobile 2005 NVarChar Truncation Problem?
• Wrong version of SQL Server Mobile deployed to emulator?
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Filter using a combobox
• Using Everywhere/Mobile from a service
• RDA Pull from Windows Server 2003 gives
• Synchronizing Very Large Database from P
• Data Access Application Block for SQLCli
• Rapi SecurityPolicy on Windows Mobile 5
• System.Data from NETCF and System.Data f
• SQL CE Err 80004005 "Unspecified Er
• How do I install SQL Server Management S
• SQl Server CE database connection issue
• Failure to create first Replicated Datab
• MSDN about CeSetDatabaseInfo (EDB) info
• What is the difference in WM5 windbase.h
• duplicated data display
• OutOfMemoryException with SQL Server Mob

Hot Articles

• sql server CE supported classes
• An error has occurred on the computer ru
• Newbie: Am I really using Everywhere?
• possible to connect to SQL Server Mobile
• Sos..
• data application blocks for windows mobile
• Replication Error 28559
• Getting RecordCount with TableDirect
• What are the performance characteristics
• FlushFailure
• DataBase Connection
• Any Movement on the 4 gig limit???
• SQL Server Mobile: RDA Diagnostic Error
• Synchronize SQL Mobile 2005 using Active
• Isqlw for sql server mobile edition (sql

Recommend Articles

• can pocpet pc direct connect to sql serv
• Compact Sql Mobile 3.0 DataBase in C++/O
• Does 'SELECT INTO' not work in SQL Mobi
• Merge Replication Question
• Help setting up replication on remote IIS
• Error in Synchronizing Data
• sql mobile alter statement
• Create a Mobile database on desktop
• Indexing SL CE to make search faster. How?
• SQL Server Mobile - Reset Increment
• Getting replication to work on Windows 2
• Infopath
• HELP US MICROSOFT: SYNCH BETWEEN SQL EX
• SQL 2005 EXPRESS
• SQL Everywhere ConnectionString problems