![]() StringBuilder postData = new StringBuilder() This is actually a much smaller version of code made for a much larger project for some specific purpose for sending bulk SMS to fellow Team Members.I want to send SMS to bulk of users(4000 user) so i put the following method on loop : protected int SendSMS(string url) It will give lots of help to explore system information. Let the SMS begin !!! :-) Points of Interest Setting Cells Background color to GREEN which passes // above validations elseĭ.BackColor = Color.Green Setting Cells Background color to RED if above // Error Found in Any of the cellsĭ.BackColor = Color.Red )Ĭopy Code // On Check Values button below code will check cell values // One By One and set the color either RED or GREEN // if IF STATEMENT passes private void button7_Click( object sender, EventArgs e) Simple, isn't it? If not, send me a question and I will be glad to help you out.Īnd for extra spice, I have added simple checking when Excel File is loaded into DataGridView when CHECK VALUES button is clicked, it will check for NULL VALUES and Message text more than 160 Characters and highlighted cells to RED if an error is found, or else cells will be green if no error is found.įor achieving cell checking, a simple yet once again FOR LOOP will do the magic. MessageBox.Show( " T O T A L - M E S S A G E - S E N T = " i, Sleeps system for 1000ms for refreshing GSM Modem / Phone ![]() Pdu3 = new SmsSubmitPdu(MMessage, MSMS_Number, " ") MessageBox.Show( " Data Imported Successfully.!!!\r\n\nĬheck Imported Values
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |