private void GetTodayEpic() { Biz wBiz = new Biz(); DataSet ds = wBiz.GetTodayEpic(); SqlDataSource1.DataBind(); //chartWajangchang.DataBind(); gvList.DataSource = ds; gvList.DataBind(); }
/// <summary> /// 아이템 리스트 조회 /// </summary> private void GetContentLog() { Hashtable ht = new Hashtable(); ht.Add("adventure_NM", ddlGirin.Value); ht.Add("girinCheck", "Y"); Biz wBiz = new Biz(); DataSet ds = wBiz.GetContentLog(ht); gvGirinList.DataSource = ds; gvGirinList.DataBind(); }
private void GetCacIdList() { Hashtable ht = new Hashtable(); ht.Add("cac_Id", txtName.Text); Biz wBiz = new Biz(); DataSet ds = new DataSet(); ds = wBiz.GetCacIdList(ht); gvCacList.DataSource = ds; gvCacList.DataBind(); }
private void GetArmorEpciList() { Hashtable ht = new Hashtable(); ht.Add("adventure_NM", ddlGirin.Value); ht.Add("item_NM", ddlArmor.Value); Biz wBiz = new Biz(); DataSet ds = wBiz.GetHellEpicList(ht); gvArmorList.DataSource = ds; gvArmorList.DataBind(); gvCount.Text = ds.Tables[1].Rows[0][0].ToString(); }
/// <summary> /// 모험단 지옥파티 아이템 리스트 /// </summary> private void GetContentLog() { Hashtable ht = new Hashtable(); ht.Add("adventure_NM", txtName.Text); ht.Add("girinCheck", "N"); Biz wDac = new Biz(); DataSet ds = wDac.GetContentLog(ht); gvCount.Text = ds.Tables[0].Rows.Count.ToString(); gvList.DataSource = ds.Tables[0]; gvList.DataBind(); gvCount2.Text = ds.Tables[1].Rows.Count.ToString(); gvList2.DataSource = ds.Tables[1]; gvList2.DataBind(); }
/// <summary> /// ddl 바인딩 /// </summary> private void GetAdventureList() { ListItem item; Biz wBiz = new Biz(); DataSet ds = wBiz.GetAdventureList(); if (ds.Tables[0].Rows.Count > 0) { DataRow[] drAdventureList = ds.Tables[0].Select(); for (int i = 0; i < drAdventureList.Length; i++) { item = new ListItem(); item.Value = drAdventureList[i]["adventureName"].ToString(); item.Text = drAdventureList[i]["adventureName"].ToString(); ddlGirin.Items.Add(item); } ddlGirin.Items.FindByText("스쿠").Selected = true; } }