Exemple #1
0
 private void BindLoginTypes()
 {
     try
     {
         DataSet dslogins = objreg.BidLoginTypes();
         ddlLoginType.DataSource     = dslogins.Tables[0];
         ddlLoginType.DataValueField = "RoleId";
         ddlLoginType.DataTextField  = "NAME";
         ddlLoginType.DataBind();
         ddlLoginType.Items.Insert(0, new ListItem("Select Login", "0"));
     }
     catch (Exception)
     {
         throw;
     }
 }