Click here to Skip to main content
15,902,938 members

Comments by imtiazahmad (Top 1 by date)

imtiazahmad 24-Jun-11 7:15am View    
thanks for the reply.
but whn I passed this query through moible application it excute but data not save .. whyy
SqlCeConnection con = new SqlCeConnection(@"Data Source=" + path + @"\AppDatabase2.sdf;Persist Security Info=False");
string Query = "Insert into userlist(usernames,pwd) values('ff','ff')";
con.Open();

SqlCeCommand cmd = new SqlCeCommand(Query);
cmd.Connection = con;

cmd.ExecuteNonQuery();