protected void btnInsert_Click(object sender, EventArgs e) { PlayerInformation p_info = new PlayerInformation(); p_info.PlayTime = Convert.ToInt32(txtPlayTime.Text); p_info.BattleID = Convert.ToInt32(txtBattleID.Text); p_info.BattleTag = txtBattleTag.Text; p_info.PlayerRank = Convert.ToInt32(txtPlayerRank.Text); p_info.TopHero = txtTopHero.Text; p_info.UserID = Convert.ToInt32(txtUserID.Text); PlayerInformation.InsertPlayerInfo(p_info); Response.Redirect("~/Admin/Player-Infos"); }