public void sbing() { BLL.size bsize = new BLL.size(); DataSet ds = bsize.select_size(u_sizeid.Text); GridView1.DataSource = ds.Tables[0]; GridView1.DataBind(); }
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"]); } }
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 ; }
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); }