da = New SqlDataAdapter("Select token_no from billentry where billdate= #" & Today & "#", myconn)
SQLParameter
da = New SqlDataAdapter("Select token_no from billentry where billdate= @billdate", myconn) adapter.SelectCommand.Parameters.Add("@billdate", _ SqlDbType.DateTime, 0,Today)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)