iam using bulksms online software sir .. perfect sending messgess
but present iam using sms api to trying develop own windows vb.net application sir
I want to select classnames in checkbox after automatically add the mobile nos in mobiletextbox in vb.net
checkbox select jpg file
select checkbox jpg file link
[
^]
Private Sub CheckedListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckedListBox1.SelectedIndexChanged
which code write in this sir
End Sub
Hi sir,
Iam created student data
Class name & name & phone number
1st class – prabhakar – 9908302604
1st class – rajesh – 9999999999
2nd class – codeproject – 8888888888
3rd class – prasd – 8888888888
Iam writed code in form load
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
classcheckbox1()
End Sub
Sub classcheckbox1()
Try
Dim CN As New OleDbConnection(css)
CN.Open()
adp = New OleDbDataAdapter()
adp.SelectCommand = New OleDbCommand("SELECT distinct RTRIM(chitgroupname) FROM caddingroup", CN)
ds = New DataSet("ds")
CheckedListBox1.Items.Clear()
For Each drow As DataRow In dtable.Rows
CheckedListBox1.Items.Add(drow(0).ToString())
Next
CN.Close()
Catch ex As Exception
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try
End Sub
i want this changes after seelct checkbox:
If iam select 1st class add only 1st class phone numbers in mobiletextbox
If iam select all classess add all class phone numbers in mobiletextbox