protected void btnsaveProduct_Click(object sender, EventArgs e) { try { con.Open(); Label1.Text = DropDownList1.SelectedValue; Session["id"] = DropDownList1.SelectedValue; SqlCommand cmd = new SqlCommand("rsa_products_sp_ProductTable", con); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("@Productname", txtProductName.Text); cmd.Parameters.AddWithValue("@ProductShortDescription", txtShortDescription.Text); cmd.Parameters.AddWithValue("@Productdescription", txtProductDescription.Text); cmd.Parameters.AddWithValue("@Price", txtPrice.Text); cmd.Parameters.AddWithValue("@MenuId", DropDownList1.SelectedItem.Value);> Please Help me with this.
session["id"]
Session["id"]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)