示例#1
0
 public void sbing()
 {
     BLL.size bsize = new BLL.size();
     DataSet ds = bsize.select_size(u_sizeid.Text);
     GridView1.DataSource = ds.Tables[0];
     GridView1.DataBind();
 }
示例#2
0
    public void sbing()
    {
        BLL.size bsize = new BLL.size();
        DataSet  ds    = bsize.select_size(u_sizeid.Text);

        GridView1.DataSource = ds.Tables[0];
        GridView1.DataBind();
    }
示例#3
0
    public void siz(string size_id)
    {
        BLL.size b_size = new BLL.size();
        DataSet  b_ds   = b_size.select_size(size_id);

        DataList2.DataSource = b_ds.Tables[0];
        DataList2.DataBind();
        if (b_ds.Tables[0].Rows.Count > 0)
        {
            _size.Text = Convert.ToString(b_ds.Tables[0].Rows[0]["_sizename"]);
        }
    }
示例#4
0
    public string sb(string size_id)
    {
        string str=null;
        BLL.size b_size = new BLL.size();
        DataSet ds = b_size.select_size(size_id);

        for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
        {
            str =str + Convert.ToString( ds.Tables[0].Rows[i]["_sizename"])+" ";

        }
        return str ;
    }
示例#5
0
    public string  sb(string size_id)
    {
        string str = null;

        BLL.size b_size = new BLL.size();
        DataSet  ds     = b_size.select_size(size_id);

        for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
        {
            str = str + Convert.ToString(ds.Tables[0].Rows[i]["_sizename"]) + " ";
        }
        return(str);
    }