If reader("Time").ToString <> "" And reader("DeviceId").ToString() <> "" Then myarrlst11_1.Add(reader("sno").ToString) 'sno data_time = reader("Time").ToString.Split(":") myarrlst13_1.Add(reader("DeviceId").ToString) 'Device id myarrlst21_1.Add(data_time(0)) myarrlst22_1.Add(data_time(1)) myarrlst23_1.Add(data_time(2)) Try time1 = Convert.ToInt32(data_time(0) & data_time(1) & data_time(2)) 'THIS IS THE LINE WHERE IT IS SHOWING AS INPUT STRING NOT IN A CORRECT FORMAT Catch ex As Exception End Try myarlst_tm_1.Add(time1)
data_time(0) & data_time(1) & data_time(2)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)