コード例 #1
0
        protected void Select(object sender, GridViewDeleteEventArgs e)
        {
            String Cake_Name = ViewAllCakeAdmin.Rows[e.RowIndex].Cells[0].Text;
            Cake   c         = CakeRepositories.getCake(Cake_Name);

            Response.Redirect("BuyCake.aspx?cName=" + Cake_Name);
        }
コード例 #2
0
 public static Cake get(String cakeName)
 {
     return(CakeRepositories.getCake(cakeName));
 }