Quote:
according to selected dropdown values into the query
I don't know how you are displaying date of birth is dropdown.
Quote:
I want to dynamic passing Parameter according to selected dropdown values
Suppose your dropdown contains these values:
Name
FatherName
Birthdate
You can try this:
SqlCommand cmd = new SqlCommand("Select "+DropDown1.SelectedValue+" from Student");
--Amit