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
jszym20
NA
20
0
How update?
Aug 26 2004 4:09 AM
Hi! I have problem. I can select database, but I can't update. I generate : string query = "update asia set nowa = 'lala' where nowa='qqq'" ; string strCon = @"Provider=MSDAORA.1;Password=aaa;User ID=bbb;Data Source=test"; try { OleDbConnection myCon= new OleDbConnection(strCon); OleDbDataAdapter myAda = new OleDbDataAdapter(); myAda.UpdateCommand = new OleDbCommand (query,myCon); myAda.Fill(myDataSet1,"X"); dataGrid1.DataSource = myDataSet1; } catch { MessageBox.Show("There was some error", "DB Error", MessageBoxButtons.OK, MessageBoxIcon.Error) ; } What is bad? Help me.
Reply
Answers (
1
)
crystal reports
Local variable passed to thread. May it get reclaimed by GC before thread completion??? How to avoid it???