protected void btnJournalremove_Click(object sender, EventArgs e) { ComplaintsLink.TbL_Complaints_Journal obj = new ComplaintsLink.TbL_Complaints_Journal(); obj.Journal_ID = Convert.ToInt16(hfd_jouid.Value); obj.Cmp_ID = comid; obj.participantId = partid; obj.JournalType = "1";//dummy value obj.Comments = txtjournaltype.Text.Trim(); obj.ModifiedBy = 2; obj.ModifiedDate = System.DateTime.Now; int i = ComplaintsLink.Complaints.Complaint_Journal_InsertValues(obj, 103); //Bind_Journal(); }
protected void btnjornalok_Click(object sender, EventArgs e) { ComplaintsLink.TbL_Complaints_Journal obj = new ComplaintsLink.TbL_Complaints_Journal(); obj.Journal_ID = 0; obj.Cmp_ID = comid; obj.participantId = partid; obj.JournalType = ddlJournalType.SelectedValue; obj.Comments = txtjournaltype.Text.Trim(); obj.ModifiedBy = Convert.ToInt32(Session["UID"].ToString()); obj.ModifiedDate = System.DateTime.Now; int i = ComplaintsLink.Complaints.Complaint_Journal_InsertValues(obj, 101); // Bind_Journal(); }