There are 3 textboxes->textbox1,textbox2,textbox3 and 1 button.
In textbox1 bname will be stored and in textbox2 aname is stored.
Bname and aname are columns of databasetable.
This are not unique.
There are same bnames and anames records.
What I am trying to do is:
when the user clicks on button then the code should match textbox1 and textbox2 with the databasetable and get the count of rows that match this data.
And print the count in the textbox3.
If there is no similar bname and aname in the table then the count should show 0.
I tried doing this but am pretty sure that its not right as its not working.
umm what is the solution?