Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Suppose in a situation if two list boxes are there and if
you select multiple options based on that the options
related to those selected items should display in second
list box.

Again if we select multiple items in second listbox then the
related to those selected items should display .

In this scenario how will you design database,tables?



Suppose in a situation if two list boxes are there and if you select multiple options based on that..

Answer / pawan k. dubey

e.g. create two table
1-department(dept_id int PK,dept_name)
2-employee(emp_id int Primary key,Name varchar(40),dept_id
FK)

now create two listbox employee and department.

step1-when multiple departments are selected...dispaly
employee related to selected department in employee listbox

step2-when multiple employees are selected...dispaly
respective department in department listbox

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More SQL Server Interview Questions

What is difference in performance between insert top (n) into table and using top with insert?

0 Answers  


What is difference between inner join and full join?

0 Answers  


Can you index views?

0 Answers  


write the query for taking database backup in sql

10 Answers   ABC, IBM, Logica CMG, MA,


Can you explain various data region available in ssrs with their use?

0 Answers  


What's the difference between a primary key and a unique key?

10 Answers   Wipro,


How to create new table with "create table" statements?

0 Answers  


Why should one not prefix user stored procedures with ‘sp_’?

0 Answers  


What is difference between equi join and natural join?

0 Answers  


What’s the distinction between dropping a info and taking a info offline?

0 Answers  


Does partitioning improve performance?

0 Answers  


Does a sql server 2005 select statement require a from?

0 Answers  


Categories