globalScriptid = ScriptId.ToString();
SqlParameter parameter = null;
SqlCommand cmd4 = new SqlCommand("tblScriptInsert", connection);
cmd4.CommandType = CommandType.StoredProcedure;
cmd4.Parameters.Add(new SqlParameter ("@ScriptId", SqlDbType.Int)).Value = globalScriptid.ToString();
cmd4.Parameters.Add(parameter);
cmd4.ExecuteNonQuery();
i am done this changed know data insert in 3 table thank you to all your valuable time