Desktop application

Author Topic
ravi sharma
Member

Joined: 06 Nov 2007
Country: India
Posts: 1

Posted: 06 Nov 2007 03:54:08

Hi
I have made desktop application using vb.
i h used all methods to add data through my application but
its not saving any type of data in database and also not showing anyerror.
can anyone tell me why this happens.

i h used simplest drag and drop methods too but its also not working
plz solve my problem

Hi
I have made desktop application using vb.
i h used all methods to add data through my application but
its not saving any type of data in database and also not showing anyerror.
can anyone tell me why this happens.

i h used simplest drag and drop methods too but its also not working
plz solve my problem

Charles Asbornsen
Member

Joined: 06 Nov 2007
Country: USA
Posts: 6

Posted: 06 Nov 2007 19:45:14

You aren't giving us a lot to go on. So we'll talk basic diagnostics.

1) Can you run your Select/Update/Insert/Delete procedures manually in the database and get them to work?
2) Are you sure the datatypes of the parameters you are using match the datatypes in the database?
3) Are your permissions on the DB all in order?
4) Step through your code and find the places where it fails to complete a task. Add a try catch there and on the catch, throw an exception. That will allow you to at least identify the reason that the code is failing.

Charles Asbornsen
Smartronix/Team EITC

You aren't giving us a lot to go on. So we'll talk basic diagnostics.

1) Can you run your Select/Update/Insert/Delete procedures manually in the database and get them to work?
2) Are you sure the datatypes of the parameters you are using match the datatypes in the database?
3) Are your permissions on the DB all in order?
4) Step through your code and find the places where it fails to complete a task. Add a try catch there and on the catch, throw an exception. That will allow you to at least identify the reason that the code is failing.

Charles Asbornsen
Smartronix/Team EITC
Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency