TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
fomba collins
NA
3
0
Updating an oracle database
Sep 17 2009 2:53 PM
Hi,
I have got a problem updating my oracle database;When i run the code, there is no error detected but when I open the database, no changes have been made. Can someone hemp me please? Here is the code:
string connString = "DSN=cbc;UID=cbc;PWD=cbc";
OdbcConnection cnOracle = new OdbcConnection(connString);
cnOracle.Open();
OdbcCommand cmOracle = cnOracle.CreateCommand();
cmOracle.CommandText = "update mouvement set rapprocher = 1 where numerocompte = '"+code+"'";
MessageBox.Show(" comptes ont été rapprochés avec succès0000!!"); //to insure no errors during the insertion
cmOracle.ExecuteNonQuery();
MessageBox.Show(" comptes ont été rapprochés avec succès11111!!");//to insure no errors during the insertion
cnOracle.Close();
Reply
Answers (
2
)
How to show all first sunday in grid from the range of two date
inserting a check box into a datagridview