Click here to Skip to main content
15,918,125 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Auto fit the merged row height Pin
Nilish14-Oct-08 18:17
Nilish14-Oct-08 18:17 
QuestionHow To Convert FLV To AVI With VB.NET? Pin
IndyEmsGuy14-Oct-08 2:26
IndyEmsGuy14-Oct-08 2:26 
AnswerRe: How To Convert FLV To AVI With VB.NET? Pin
Dave Kreskowiak14-Oct-08 3:45
mveDave Kreskowiak14-Oct-08 3:45 
Questionimport text files to data grid Pin
sanddepnamburi14-Oct-08 1:55
sanddepnamburi14-Oct-08 1:55 
GeneralRe: import text files to data grid Pin
jzonthemtn14-Oct-08 3:36
jzonthemtn14-Oct-08 3:36 
AnswerRe: import text files to data grid Pin
Dave Kreskowiak14-Oct-08 3:40
mveDave Kreskowiak14-Oct-08 3:40 
AnswerRe: import text files to data grid Pin
Paul Conrad14-Oct-08 7:09
professionalPaul Conrad14-Oct-08 7:09 
QuestionDatabase Date Error Pin
Gagan.2014-Oct-08 1:40
Gagan.2014-Oct-08 1:40 
Hello all...

I am getting problem while checking date..

Code is :

dim txtdate as string
dim mydataset as new dataset

txtdate=datetimepicker1.text & now.tolongtimestring


I hv filled datagridview at loading time of form.
Now whn searching a record,my code is :
with mydataset(0).tables
.defaultview.rowfilter="[Date] like '" & txtdate & "%'"
datagridview1.defaultsource=.defaultview
end with

but it is showing an syntax error that cannot use like operator between system.datetime and system.string

Now trying this :
with mydataset(0).tables
.defaultview.rowfilter="[Date] = '" & txtdate & "'"
datagridview1.defaultsource=.defaultview
end with

but it is showing an syntax error that cannot use = operator between system.datetime and system.string

what should i do?
Help Me.

I am using VS2005 and database is in MS Access2003
"Date" field in table is of Date/Time Object.

Gagan
AnswerRe: Database Date Error Pin
ChandraRam14-Oct-08 2:20
ChandraRam14-Oct-08 2:20 
AnswerRe: Database Date Error Pin
Dave Kreskowiak14-Oct-08 3:36
mveDave Kreskowiak14-Oct-08 3:36 
Questionimport to grid Pin
sanddepnamburi14-Oct-08 0:26
sanddepnamburi14-Oct-08 0:26 
AnswerRe: import to grid Pin
Ashfield14-Oct-08 1:29
Ashfield14-Oct-08 1:29 
QuestionAny example please? Pin
Vinke200813-Oct-08 22:54
Vinke200813-Oct-08 22:54 
AnswerRe: Any example please? Pin
Ashfield13-Oct-08 22:58
Ashfield13-Oct-08 22:58 
AnswerRe: Any example please? Pin
Dave Kreskowiak14-Oct-08 1:59
mveDave Kreskowiak14-Oct-08 1:59 
AnswerRe: Any example please? Pin
Paul Conrad14-Oct-08 7:11
professionalPaul Conrad14-Oct-08 7:11 
JokeRe: Any example please? Pin
Guffa14-Oct-08 12:55
Guffa14-Oct-08 12:55 
GeneralRe: Any example please? Pin
Mycroft Holmes14-Oct-08 22:00
professionalMycroft Holmes14-Oct-08 22:00 
QuestionHow to clear How to clear Exception thrown by the target of an invocation. Pin
GopiCS13-Oct-08 19:08
GopiCS13-Oct-08 19:08 
AnswerRe: How to clear How to clear Exception thrown by the target of an invocation. Pin
Dave Kreskowiak14-Oct-08 1:58
mveDave Kreskowiak14-Oct-08 1:58 
JokeConextMenuStrip is displayed to fast on load (how to sync when main form visible). Pin
Jon_Boy13-Oct-08 15:35
Jon_Boy13-Oct-08 15:35 
AnswerRe: ConextMenuStrip is displayed to fast on load (how to sync when main form visible). Pin
GopiCS13-Oct-08 19:18
GopiCS13-Oct-08 19:18 
GeneralRe: ConextMenuStrip is displayed to fast on load (how to sync when main form visible). Pin
Tom Deketelaere14-Oct-08 1:19
professionalTom Deketelaere14-Oct-08 1:19 
GeneralRe: ConextMenuStrip is displayed to fast on load (how to sync when main form visible). [modified] Pin
Jon_Boy14-Oct-08 10:01
Jon_Boy14-Oct-08 10:01 
GeneralRe: ConextMenuStrip is displayed to fast on load (how to sync when main form visible). Pin
Tom Deketelaere14-Oct-08 20:56
professionalTom Deketelaere14-Oct-08 20:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.