con.Open(); cmd = new SqlCommand("sp_StudentDetails", con); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("Date_of_Joining", txtDateofJoining.Text); cmd.Parameters.AddWithValue("StudentID", txtStudID.Text); cmd.Parameters.AddWithValue("Other_Certificates", txtOthersifAny.Text); cmd.Parameters.AddWithValue("image", SqlDbType.Image); cmd.Parameters.AddWithValue("@action", "i"); cmd.ExecuteNonQuery(); Response.Write("Records inserted successfully"); bind(); con.Close();
cmd.Parameters.AddWithValue("@image", <big>imgByte</big>)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)