Пример #1
0
        protected void btnReply_Click(object sender, EventArgs e)
        {
            ServeAtDoorstepData.CustomerMessageDetails objMsg = new CustomerMessageDetails();
            objMsg.CustomerMessageId = 0;
            objMsg.QuiryId = Convert.ToInt32(hdnQuoteId.Value.ToString());
            objMsg.SendVendorId = Convert.ToInt32(hdnVendorId.Value.ToString());
            objMsg.RecCustomerId = Convert.ToInt32(hdnCustomerId.Value.ToString());
            objMsg.CategoryId = Convert.ToInt32(hdnCategoryId.Value.ToString());
            objMsg.MessageTitle = "Re: "+lblMsgTitle.Text.Trim(); ;
            objMsg.Description = txtReply.Text.Trim();
            objMsg.Status="";

            objService = new ServeAtDoorstepService();
            int i = objService.AddCustomerMessage(objMsg);

            txtReply.Text = "";

            this.ModalPopupViewMessage.Hide();
        }