Example #1
0
 public void SendMarksSms()
 {
     if (status == 1)
     {
         LoginToWay2Sms();
         string Message = "G.P.Waghai-" + FetchDeptNameById(DeptIdGlobal) + " " + StudentEnrollment + " " + "got " + StudentsResultMarks + "/ " + GlobalExamTotalMarks + " in " + FetchSubjectNameById(SubjectIdGlobal) + " Subject";
         ResultSmsObject.SendSms(Message, StudentParentNo);
     }
 }
Example #2
0
 protected void btnSend_Click(object sender, EventArgs e)
 {
     if (TestSmsSetting.SendSms(tbMsgContent.Text.ToString(), tbReceiver.Text.ToString()))
     {
         lblErrMsg.Text      = "Message Sent....";
         lblErrMsg.ForeColor = System.Drawing.Color.Green;
         lblErrMsg.Font.Bold = true;
     }
     else
     {
         lblErrMsg.Text      = "Sorry Message Not sent";
         lblErrMsg.ForeColor = System.Drawing.Color.Red;
         lblErrMsg.Font.Bold = true;
     }
 }
Example #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     s.SendSms("hey bro kac haha is this correct---", "8153976277");
 }