コード例 #1
0
    public void getstates()
    {
        DatabaseFunctions db = new DatabaseFunctions();
        DataSet dt = db.getStates();
        if (dt.Tables[0].Rows.Count > 0)
        {
            dropdownSto.DataSource = dt.Tables[0];
            dropdownSto.DataBind();
        }

    }