Exemplo n.º 1
0
 protected void PrepareGridLoots()
 {
     this.gridLoot.DataSource = ControladorCreatures.GetCreatureLoots(this.NameCreature, true).GetDataSet();
     this.gridLoot.DataBind();
     if (this.gridLoot.Rows.Count <= 0)
     {
         throw new Exception(Erros.NaoEncontrado("Generic Loot's for Creature"));
     }
 }
Exemplo n.º 2
0
 protected void PrepareGridCreatures()
 {
     this.gridCreatures.DataSource = ControladorCreatures.GetActiveCreatures().GetDataSet();
     this.gridCreatures.DataBind();
 }