为啥提示 SQL 命令未正确结束?
Dim cmd As New OracleCommand
cmd.CommandText = "select * from Biao1 where JBSJ=2013/6/21 21:39:13
cmd.Connection = OrclConn
cmd.CommandType = CommandType.Text
Dim OrclAdp As New OracleDataAdapter
OrclAdp.SelectCommand = cmd
Dim ds As New DataSet
Try
OrclAdp.Fill(ds, TableName)
Catch ex As Exception
MsgBox(ex.Message)
Return Nothing
End Try
cmd.CommandText = "select * from Biao1 where JBSJ="'"&datetimepicker1.value&"'";