944,198 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 2935
  • VB.NET RSS
Nov 3rd, 2007
0

datagrid find record code - what's wrong??

Expand Post »
hi all, i am trying to find record in datagrid using a textbox (and/or a button) but it is not working. here is the code

DataSet.Tables(0).Rows.Find(txtName)

nothing happens when I type in textbox or when I press the Search button. can u tell me what wrong with it?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Steven_C is offline Offline
12 posts
since Aug 2007
Nov 3rd, 2007
0

Re: datagrid find record code - what's wrong??

What happens if you replace txtName with txtName.text
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Nov 4th, 2007
0

Re: datagrid find record code - what's wrong??

oops yeah, i made a mistake in the thread, i tried txtName.text. no luck it does not work
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Steven_C is offline Offline
12 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: limit forms open through MDI to 1
Next Thread in VB.NET Forum Timeline: Retrieving data frm ms access





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC