sSql = "select STATUS from tblTimeRegister" ds = New DataSet If Common.servername = "Access" Then adapA = New OleDbDataAdapter(sSql, con1Tmp) adapA.Fill(ds) Else adap = New SqlDataAdapter(sSql, Common.con) adap.Fill(ds) End If 'Dim dc As DataColumn = MsgBox(ds.Tables(0).Columns(0).DataType.ToString)
(Nothing, Nothing, "tblTimeRegister", "STATUS")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)