Example #1
0
        protected void btnSend_Click(object sender, EventArgs e)
        {
            //Stored procedure to send message.
            string time    = DateTime.Now.ToString("HH:mm:ss");
            string message = txtMessage.Text;

            txtMessage.Text = string.Empty;
            procedures.AddMessage(messenger.ConversationID, message, userEmail, time);
            DataBind();
        }