set Autopostback = true fro first dropdownlist in your aspx page and on selectedIndexChange event get the records of second dropdownlist
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)