hi every body,
I need to help me,i want search my database by entering Id number in the text box.
My project is db_2008 and vb.net 2010.

thank u for u'r helping.
mohamed abdi

use the structured error control and use a messagebox to display the cause:

Try 
'statement(s)
Catch ex as exception 
Messagebox.show(ex.message)
End Try
commented: How is the try..catch going to help with searching the database? -1

hi every body,
I need to help me,i want search my database by entering Id number in the text box.
My project is db_2008 and vb.net 2010.

thank u for u'r helping.
mohamed abdi

Dear friend, please share your code so far. It will be easier for us to point you to the right direction if we know how you connect to your database. Also your code will show that you've worked on this and that you need help instead of just wanting the solution.

PS: What is db_2008?

hi every body,
I need to help me,i want search my database by entering Id number in the text box.
My project is db_2008 and vb.net 2010.

thank u for u'r helping.
mohamed abdi

state the DBMS in use so as to apply the appropriate connection string.

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.