My task is by using comboBox.
here is my form.
You can see the numbers in comboBox. These are the houseNumber saved in the database.
here the way I saved data into database:-
Like this, I want search functions too.
when I select a houseNumber from comboBox and click the search button, I want the data to be filled in the above picture.
please help me.

Iftikar HussainPosted Aug 4, 2013, 3:36 AM
in your code
Regards,
Iftikar
Bineesh ViswanathPosted Aug 5, 2013, 4:19 AM
As my topic has changed to ASP.Net, I left from that topic.
Iftikar HussainPosted Aug 5, 2013, 2:11 AM
Regards,
Iftikar
Bineesh ViswanathPosted Aug 4, 2013, 2:38 AM
Photo is being retrieved, but not showing in the pictureBox.
The gridview items not been retrieved. SQL SP for this function is :-
ALTER PROCEDURE houseNumberView
@houseNumber int
AS
SELECT tbl_House.houseNumber, tbl_House.Address, tbl_House.phoneNumber, tbl_House.ownerName, tbl_House.Photo, tbl_Person.personName,
tbl_Person.Age, tbl_Person.Sex, tbl_Person.Relation, tbl_Person.Occupation
FROM tbl_House INNER JOIN
tbl_Person ON tbl_House.houseId = tbl_Person.houseId
the form's current state is:-
Iftikar HussainPosted Aug 4, 2013, 1:12 AM
Regards,
Iftikar
Bineesh ViswanathPosted Aug 3, 2013, 2:11 PM
I write a separate function and called in the btnSearch_Click()
Some data is being retrieved. but not reached the output end.
Here is the error:-
Iftikar HussainPosted Aug 1, 2013, 8:03 AM
On the Search button click, write query to filter data from House Info table
Regards,
Iftikar