Example #1
0
        private void btnSMS_Click(object sender, EventArgs e)
        {
            try
            {
                List <string> objList = new List <string>();
                var           list    = (from a in grdLister.Rows
                                         select new {
                    MobileNo = a.Cells["MobileNo"].Value.ToStr()
                }).ToList();;
                for (int i = 0; i < list.Count; i++)
                {
                    objList.Add(list[i].MobileNo);
                }


                frmSMSAll frm = new frmSMSAll(objList);

                frm.ShowDialog();
            }
            catch (Exception ex)
            {
                throw;
            }
        }