objReg.Faculty = drpdFaculty.SelectedValue;
select DROPDDOWN LIST value from db
if (Convert.ToString(dt.Rows[0]["Faculty"]) == "")
{
drpdFaculty.SelectedValue = "--Select--";
}
else
{
drpdFaculty.SelectedValue = dt.Rows[0]["Faculty"].ToString();
}
Thursday, February 4, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment