ในการติดต่อกับฐานข้อมูลของ microsoft เอง จะใช้ tools ที่ชื่อว่า Microsoft SQL Server 2005 Mobile Edition Device SDK
download ได้จาก
http://www.microsoft.com/downloads/details.aspx?FamilyID=5bd8abaa-5813-4db3-b23a-24551de2ecc1&displaylang=en
ผมเคยแค่ต่อ db ที่เป็น .sdf บนเครื่อง pda ครับ ยังไม่เคยลอง remote ต่อไปยัง db ที่เป็น ip ท่านใดลองได้แล้ว รบกวนแจ้งวิธีการหน่อยนะครับ
MOBILE
ใช้ connector ที่ Mysql มีมาให้ครับ
http://dev.mysql.com/downloads/connector/net/5.1.html
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
using System.Configuration;
namespace MySQLCompact
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
lBoxResults.Items.Clear();
MySqlConnection connection = new
MySqlConnection(”SERVER=MySQL server IP
address;DATABASE=databaseName;UID=user;PASSWORD=password;pooling=false”);
MySqlCommand command = connection.CreateCommand();
MySqlDataReader Reader;
command.CommandText = “select * from table1″;
connection.Open();
Reader = command.ExecuteReader();
while (Reader.Read())
{
string thisrow = “”;
for (int i = 0; i < Reader.FieldCount; i++)
thisrow += Reader.GetValue(i).ToString() +
lBoxResults.Items.Add(thisrow);
}
connection.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
}
MOBILE
http://mobilecodes.nokia.com/index.htm
เป็นเว็บสำหรับการสร้าง 2d-Barcode ครับ สำหรับบางรุ่นของ nokia
MOBILE
จากได้ลองทำ wap 1.1 พบว่ารองรับกับ tag small แต่เมื่อได้ทำการพัฒนาหน้า wap และใช้งานโดยเครื่อง
Nokia-N70 แล้วพบว่า link ต่างๆในหน้า wap จะไม่สามารถโฟกัสเพื่อให้เลือกได้
ทั้งๆที่เครื่อง Nokia-N70 ใน spec รองรับ Wap2.0 ผมก็เลยไปค้นใน dtd ของ wap2.0
http://www.wapforum.org/dtd/wml20.dtd
ก็ไม่พบว่าจะมี tag small อยู่ ก็ทำให้ถึงบางอ้อ ว่า ทำไม ถึงไม่รองรับ -_-!!!
MOBILE
ความเห็นล่าสุด