Good evening all,
I am looking to find a way to add values to a single column in a datagridview column. Basically i would like to read the the values in one column and input the ip address in another column. please see parcial code below.. please let me know if you are able to assist.
Try
For Each DRow As DataRow In TestbaseDataSet.TestDB.Rows
Dim con As New SqlConnection
Dim cmd As New SqlCommand
Dim hname As IPHostEntry = Dns.GetHostByName(DRow.Item("Hostname").ToString())
Dim ip As IPAddress() = hname.AddressList
I am looking to find a way to add values to a single column in a datagridview column. Basically i would like to read the the values in one column and input the ip address in another column. please see parcial code below.. please let me know if you are able to assist.
Try
For Each DRow As DataRow In TestbaseDataSet.TestDB.Rows
Dim con As New SqlConnection
Dim cmd As New SqlCommand
Dim hname As IPHostEntry = Dns.GetHostByName(DRow.Item("Hostname").ToString())
Dim ip As IPAddress() = hname.AddressList