dropdownlist in ASP.net page
-
I have a dropdown list that populates a list of users from one table in my database using a stored proc. I want to be able to pull that users information from another table(address, email, etc) and display that information on my page. how could i go about doing this?
-
I have a dropdown list that populates a list of users from one table in my database using a stored proc. I want to be able to pull that users information from another table(address, email, etc) and display that information on my page. how could i go about doing this?
example of query how should be
select users.*,usersinfo.* from users,usersinfo where users.iduser = usersinfo.iduser
this code you execute in SelectedIndexChanged event of DropDownList and then you populate this data in GridView. for more help give more info"My advice to you is to get married. If you find a good wife, you will be happy; if not, you will become a philosopher." Socrates
-
I have a dropdown list that populates a list of users from one table in my database using a stored proc. I want to be able to pull that users information from another table(address, email, etc) and display that information on my page. how could i go about doing this?
-
example of query how should be
select users.*,usersinfo.* from users,usersinfo where users.iduser = usersinfo.iduser
this code you execute in SelectedIndexChanged event of DropDownList and then you populate this data in GridView. for more help give more info"My advice to you is to get married. If you find a good wife, you will be happy; if not, you will become a philosopher." Socrates
Alright I get that but say i wanted to populate one user's information from my table on to my web pageafter the selectedIndexChanged event, and I also want to be able to update, edit and delete that info, but I don't want to use a datagridview. How can I do this?