Click here to Skip to main content
15,902,938 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ERD Pin
Khan.Bangash1-Feb-07 3:19
Khan.Bangash1-Feb-07 3:19 
GeneralRe: ERD Pin
v4503054-Feb-07 19:48
v4503054-Feb-07 19:48 
QuestionSmileys Pin
ADY0071-Feb-07 1:26
ADY0071-Feb-07 1:26 
AnswerRe: Smileys Pin
Artem Kustikov1-Feb-07 1:44
Artem Kustikov1-Feb-07 1:44 
QuestionHow display data from DB by selecting from DropdownList Pin
Praveen 1231-Feb-07 1:20
Praveen 1231-Feb-07 1:20 
AnswerRe: How display data from DB by selecting from DropdownList Pin
varshavmane1-Feb-07 2:27
varshavmane1-Feb-07 2:27 
AnswerRe: How display data from DB by selecting from DropdownList Pin
Sandeep Akhare1-Feb-07 2:53
Sandeep Akhare1-Feb-07 2:53 
AnswerRe: How display data from DB by selecting from DropdownList Pin
Naveed Kamboh1-Feb-07 6:05
Naveed Kamboh1-Feb-07 6:05 
Your probelm is not clear when and why you want to select employee , please explain your question.

If you are filling dropdownlist use its property autopsotback=true which is false by default.

Now use SelectedIndexChange event of your dropdownlist.

if you have fetch data from database on the basis of rowselected in the dropdowlist.

You have to keep in mind that weahter you are using DataTexFiled property and DataValuefield property of the Dropdownlist

if you are using these two then you can query your database like this

sql="select * from tbl where field="+ dropdownlist.selectedValue or
sql="select * from tbl where field="+ dropdownlist.selectedItem
if you are not using these two properties then
you can use
sql="select * from tbl where field="+ dropdownlist.Text

Hope it will help you .


Naveed Kamboh

QuestionRe: How display data from DB by selecting from DropdownList [modified] Pin
Praveen 1231-Feb-07 17:06
Praveen 1231-Feb-07 17:06 
QuestionHow do i pass the SelectedValue/Index of a DropDownList in a GridViews EditItem Template to a Control Parameter? Pin
Red_Wizard_Shot_The_Food1-Feb-07 1:18
Red_Wizard_Shot_The_Food1-Feb-07 1:18 
AnswerRe: How do i pass the SelectedValue/Index of a DropDownList in a GridViews EditItem Template to a Control Parameter? Pin
minhpc_bk1-Feb-07 5:35
minhpc_bk1-Feb-07 5:35 
GeneralRe: How do i pass the SelectedValue/Index of a DropDownList in a GridViews EditItem Template to a Control Parameter? Pin
Red_Wizard_Shot_The_Food1-Feb-07 6:14
Red_Wizard_Shot_The_Food1-Feb-07 6:14 
GeneralRe: How do i pass the SelectedValue/Index of a DropDownList in a GridViews EditItem Template to a Control Parameter? Pin
minhpc_bk1-Feb-07 18:44
minhpc_bk1-Feb-07 18:44 
QuestionReporting Problem Pin
Sarfaraj Ahmed1-Feb-07 1:15
Sarfaraj Ahmed1-Feb-07 1:15 
AnswerRe: Reporting Problem Pin
Sandeep Akhare1-Feb-07 2:58
Sandeep Akhare1-Feb-07 2:58 
GeneralRe: Reporting Problem Pin
Sarfaraj Ahmed2-Feb-07 1:40
Sarfaraj Ahmed2-Feb-07 1:40 
GeneralRe: Reporting Problem Pin
Sandeep Akhare2-Feb-07 2:03
Sandeep Akhare2-Feb-07 2:03 
GeneralRe: Reporting Problem Pin
Sarfaraj Ahmed2-Feb-07 4:03
Sarfaraj Ahmed2-Feb-07 4:03 
Questionhow to import data from an excel to a datagrid Pin
gauthee1-Feb-07 1:06
gauthee1-Feb-07 1:06 
AnswerRe: how to import data from an excel to a datagrid Pin
Parwej Ahamad1-Feb-07 1:18
professionalParwej Ahamad1-Feb-07 1:18 
AnswerRe: how to import data from an excel to a datagrid Pin
Sandeep Akhare1-Feb-07 3:09
Sandeep Akhare1-Feb-07 3:09 
GeneralRe: how to import data from an excel to a datagrid Pin
gauthee1-Feb-07 23:08
gauthee1-Feb-07 23:08 
GeneralRe: how to import data from an excel to a datagrid Pin
Sandeep Akhare2-Feb-07 2:06
Sandeep Akhare2-Feb-07 2:06 
GeneralRe: how to import data from an excel to a datagrid Pin
Sandeep Akhare2-Feb-07 2:15
Sandeep Akhare2-Feb-07 2:15 
QuestionWhy OleDbCommand call oracle9i user function success,but OleDbCommand call failed. Pin
Old Gun1-Feb-07 0:56
Old Gun1-Feb-07 0:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.