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 HussainRank #423 · 5.9K reputationPosted Aug 3, 2013, 11:36 PM EDT
in your code
Regards,
Iftikar
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 1, 2013, 4:03 AM EDT
On the Search button click, write query to filter data from House Info table
Regards,
Iftikar
Bineesh ViswanathRank #1,680 · 907 reputationPosted Aug 3, 2013, 10:11 AM EDT
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 HussainRank #423 · 5.9K reputationPosted Aug 3, 2013, 9:12 PM EDT
Regards,
Iftikar
Bineesh ViswanathRank #1,680 · 907 reputationPosted Aug 3, 2013, 10:38 PM EDT
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 HussainRank #423 · 5.9K reputationPosted Aug 4, 2013, 10:11 PM EDT
Regards,
Iftikar
Bineesh ViswanathRank #1,680 · 907 reputationPosted Aug 5, 2013, 12:19 AM EDT
As my topic has changed to ASP.Net, I left from that topic.