Example #1
0
    void Load_Play()
    {
        ddl_Play.Items.Clear();
        DataTable dtlocation = VistaBOL.Select_AuditPlay();

        ddl_Play.Items.Add(new ListItem("Select", "0"));
        if (dtlocation != null && dtlocation.Rows.Count > 0)
        {
            foreach (DataRow dr in dtlocation.Rows)
            {
                ddl_Play.Items.Add(new ListItem(dr[0].ToString(), dr[0].ToString()));
            }
        }
    }