Click here to Skip to main content
15,908,444 members
Home / Discussions / Mobile
   

Mobile

 
QuestionUninstall/Remove application on windows mobile 5 Pin
Starzfighter19-Oct-08 22:57
Starzfighter19-Oct-08 22:57 
Questionnewb to mobile web development Pin
airwalk33118-Oct-08 22:01
airwalk33118-Oct-08 22:01 
AnswerRe: newb to mobile web development Pin
airwalk33119-Oct-08 16:34
airwalk33119-Oct-08 16:34 
AnswerRe: newb to mobile web development Pin
Joel Ivory Johnson6-Nov-08 14:44
professionalJoel Ivory Johnson6-Nov-08 14:44 
QuestionSelect a phone number Pin
EliottA18-Oct-08 7:40
EliottA18-Oct-08 7:40 
AnswerRe: Select a phone number Pin
Mike Dimmick19-Oct-08 0:31
Mike Dimmick19-Oct-08 0:31 
GeneralRe: Select a phone number Pin
EliottA19-Oct-08 4:30
EliottA19-Oct-08 4:30 
QuestionWindows Mobile application direct hitting sql server 2005 problem Pin
manish.singhal17-Oct-08 2:12
manish.singhal17-Oct-08 2:12 
hi guyz

i am facing a problem of connecting a mobile application from sql server 2005 directly .............................i have used a sql mobile edition in mobile devices keeping .sdk in mobile device only .................but know i want to used .mdf which is in server from mobile device

peace of code show below is throughing an exception :-

SQLException


----------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace TestPocketSqlDirectHit
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{
string source =
"data source=192.168.2.13;" +
"initial catalog=dialdb;" +
"user id=sa;" +
"pwd=maxworth;" +
"workstation id=192.168.2.13\\SQLEXPRESS;" +
"packet size=4096;" +
"persist security info=False;";

SqlConnection conn = new SqlConnection(source);
conn.Open();
SqlDataAdapter adapter = new SqlDataAdapter("select * from USERMASTER", conn);
DataSet dst = new DataSet();
adapter.Fill(dst);
textBox1.Text = dst.Tables[0].Rows[0].ItemArray[0].ToString();
}
}
}


can anyone help me out for this.
Thanks a lot

Thanks & Regards
Manish Singhal
Software Engineer
Maxworth systems(Delhi)

QuestionNeed Suggestion Pin
wasimsharp17-Oct-08 0:39
wasimsharp17-Oct-08 0:39 
QuestionHow to Read barcodes (Code39 etc.) using built-in camera ? Pin
SierraMike16-Oct-08 4:32
SierraMike16-Oct-08 4:32 
Questionflowlayout in windows mobile? Pin
bryce15-Oct-08 15:43
bryce15-Oct-08 15:43 
QuestionPassing Bitmap value to a Sub(routine). Pin
Hurricane300015-Oct-08 3:15
Hurricane300015-Oct-08 3:15 
AnswerRe: Passing Bitmap value to a Sub(routine). Pin
Joel Ivory Johnson4-Nov-08 19:22
professionalJoel Ivory Johnson4-Nov-08 19:22 
QuestionSHCreateMenuBar + TBSTYLE_CUSTOMERASE + NM_CUSTOMDRAW Pin
Voland.cpp14-Oct-08 9:55
Voland.cpp14-Oct-08 9:55 
Questionhide Link label focus rectangle Pin
~Khatri Mitesh~14-Oct-08 2:44
~Khatri Mitesh~14-Oct-08 2:44 
AnswerRe: hide Link label focus rectangle Pin
Hurricane300014-Oct-08 12:11
Hurricane300014-Oct-08 12:11 
GeneralRe: hide Link label focus rectangle Pin
~Khatri Mitesh~14-Oct-08 19:23
~Khatri Mitesh~14-Oct-08 19:23 
GeneralRe: hide Link label focus rectangle Pin
Hurricane300015-Oct-08 8:06
Hurricane300015-Oct-08 8:06 
QuestionBlackBerry Application Pin
Parasmani Swamy13-Oct-08 20:00
Parasmani Swamy13-Oct-08 20:00 
QuestionRe: BlackBerry Application Pin
bhushan kasturiwale17-Nov-08 21:19
bhushan kasturiwale17-Nov-08 21:19 
QuestionRobot navigating via Touch Sensitive Panel Pin
Amrish Deep13-Oct-08 9:10
Amrish Deep13-Oct-08 9:10 
QuestionHow can I secure files on .NET CF Pin
Vimvq198712-Oct-08 7:15
Vimvq198712-Oct-08 7:15 
AnswerRe: How can I secure files on .NET CF Pin
Joel Ivory Johnson4-Nov-08 19:32
professionalJoel Ivory Johnson4-Nov-08 19:32 
QuestionResizing great size images. Pin
Hurricane300012-Oct-08 6:29
Hurricane300012-Oct-08 6:29 
QuestionDeveloping for Nokia E90 (OS: Symbian s60) Pin
Rafferty Uy9-Oct-08 15:22
Rafferty Uy9-Oct-08 15:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.