Hi guys,I just need help here,I want to search my database and show searched row with all its contents, i was able to search it but am racking my brain right now about how to show everything from this row.

Recommended Answers

All 2 Replies

>i was able to search it but am racking my brain right now about how to show everything from this row.

SELECT statement with WHERE clause.

>i was able to search it but am racking my brain right now about how to show everything from this row.

SELECT statement with WHERE clause.

Is this the syntax?

command.CommandText = "SELECT * FROM Employee WHERE emp_surname"+"="+ read;
OleDbDataReader reader = command.ExecuteReader();

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.