Click here to Skip to main content
15,909,039 members

Comments by Ripoll_Ionn (Top 4 by date)

Ripoll_Ionn 17-Feb-14 18:51pm View    
This is my code:

There are not Error messages

SqlCommand cmd1 = new SqlCommand();
SqlConnection conn = new SqlConnection("server =" + myip + "," + myport + ";integrated security=false;Initial Catalog=" + mydb + ";User ID=" + myuser + ";Password=" + mypass + ";Trusted_Connection=False;");
StringBuilder sbQueryd = new StringBuilder();
SqlCommand cmdd = new SqlCommand();
try
{
conn.Open();
//Code lines
}
catch (SqlCeException ex)
{
MessageBox.Show("Error de base de datos/r/n" + ex.Message, "Error de base de datos");
Cursor.Current = Cursors.Default;
}
Ripoll_Ionn 11-Feb-14 18:37pm View    
Yes, all the information was manipulated as I wanted and in environment was displayed correctly; If I edited a record, after updating the information, the record is displayed with the changes made, if I eliminated one more, and after upgrading my screens that record didn't appear

But after stopping the application and pressing F5... Surprise! looked like it had not been removed and / or modified any record
Ripoll_Ionn 6-Feb-14 10:14am View    
I saw it, It says "Copy if newer"... In Build action section, it says "content"...
Ripoll_Ionn 5-Feb-14 19:05pm View    
I have just 1 database, but as far as I know, when I compile my app, my database is copied to my bin\debug foler. Isn't it?

But I think it's not the problem because I made the app, and I installed it on my windows mobile.. -And my app is on C:\Users\Myuser\- and The problem continues...

Another idea?