Knowledge Share

Knowledge is NOT Power IMPLEMENTATION of knowledge is Power!!!
 
HomePortalGalleryCalendarFAQRegisterUsergroupsLog in

Share | 
 

 To Find An existing Record in DataBase and display in fields

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


Posts : 141
Points : 407
Reputation : 0
Join date : 2007-12-29
Location : Chennai

PostSubject: To Find An existing Record in DataBase and display in fields   Mon Feb 08, 2010 11:16 am

To Find An existing Record in DataBase and display in fields

Dim scmd As OleDbCommand
scmd = New OleDbCommand("select notice,noticedate from notice where noticeno='" & notice_no.text & "'", Application("con"))
Dim drr As OleDbDataReader
drr = scmd.ExecuteReader
drr.Read()
tb1.text = drr(0)
TextBox2.Text = drr(1)
drr.Close()
Back to top Go down
http://knowledgeshare.forumotion.com
 
To Find An existing Record in DataBase and display in fields
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» how to find duplicate record
» how to check the existing value in the textbox using selenium webdriver.
» selenium with database testing
» How to record when a link is opening in a new window or pop-up window
» unable to find dynamic frame ids

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