Knowledge Share
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Knowledge Share

Knowledge is NOT Power IMPLEMENTATION of knowledge is Power!!!
 
HomePortalGalleryLatest imagesRegisterLog in

 

 To Modify An existing Record in DataBase

Go down 
AuthorMessage
Admin
Admin



Posts : 142
Points : 59684441
Reputation : 0
Join date : 2007-12-29
Location : Chennai

To Modify An existing Record in DataBase Empty
PostSubject: To Modify An existing Record in DataBase   To Modify An existing Record in DataBase Icon_minitimeMon Feb 08, 2010 11:15 am

To Modify An existing Record in DataBase

Dim mcmd As OleDbCommand
mcmd = New OleDbCommand("update notice set notice='" & ta.Value & "' where noticeno='" & tb1.text & "'", Application("con"))
Dim r As Integer
r = mcmd.ExecuteNonQuery

To Delete An existing Record in DataBase

Dim dcmd As OleDbCommand
dcmd = New OleDbCommand("delete from notice where noticeno='" & dl2.SelectedItem.ToString & "'", Application("con"))
Dim r As Integer
r = dcmd.ExecuteNonQuery
Back to top Go down
https://knowledgeshare.forumotion.com
 
To Modify An existing Record in DataBase
Back to top 
Page 1 of 1
 Similar topics
-
» To Find An existing Record in DataBase and display in fields
» Database Faqs
» Database Connection

Permissions in this forum:You cannot reply to topics in this forum
Knowledge Share :: .Net-
Jump to: