2
Answers

C# and Microsoft sql server compact edition

Safayat Zisan

Safayat Zisan

9y
671
1
I have created a project with C# and visual studio built-in sql server compact edition. I have made a installer file with advanced installer software. The application installs in those computer which have already visual studio installed on that machine. But in other computer after being installed, it shows an exception "close program". I think there is no problem with .NET framework. But can't figure it out whatever the real problem is.
Need suggestion from the experts.
Thank you. 
Answers (2)
0
Menardo Espectacion

Menardo Espectacion

NA 16 6.4k 13y
That's a nice alternative... But I don't think I can apply that on our application right now since the requirements didnt allow a lot of development time. I can propose that on our next version maybe... Thanks for your suggestion...
0
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 13y
Why like this.. First give users a "Search" facility for item. If found ask to update (Change button text to "Update") or else create a new one (Change button text to "Add New"). Something like this :)
0
Menardo Espectacion

Menardo Espectacion

NA 16 6.4k 13y
Hi, 

Thanks for the comments... The requirement was quite a rush so I just did a work around. I used two buttons alternating their visibility on every post back depending on the result of the checking for the records existence... If the record doesn't exist, the Add button is visible. Otherwise, the update button is visible. The update is attached with attribute that calls on a client side script that asks the user for confirmation.
0
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 13y
query resolved?
0
Mayur  Gujrathi

Mayur Gujrathi

NA 4.3k 725.6k 13y
 if (MessageBox.Show("Do You Wish To continue", "Confirmation", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
                {
                        MessageBo.Show("yes pressed");
                 }
      
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y
Have you looked at the articles in this web site? Especially the ones listed under "Our recommended articles" at the right side of this window?