AVARICESOFT
asked on
how to add data in dropdown using database using C#.net
hello,
i know its a easy question but i would to know .. please write the code..
i want to know how could i select the one row from database and insert it into my dropdown.. using C#.net
suppose:
query str = "select customerName from Customer where id=" '+custId+' "=customerId";
i want to select those customers whoz id is same which i pass via parameter and check the database id.. kindly give the code..
thanks..
i know its a easy question but i would to know .. please write the code..
i want to know how could i select the one row from database and insert it into my dropdown.. using C#.net
suppose:
query str = "select customerName from Customer where id=" '+custId+' "=customerId";
i want to select those customers whoz id is same which i pass via parameter and check the database id.. kindly give the code..
thanks..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window