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?

Recommended Answers

All 2 Replies

Member Avatar for iamthwee

What happens if you replace txtName with txtName.text

oops yeah, i made a mistake in the thread, i tried txtName.text. no luck it does not work

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.