Click here to Skip to main content
15,914,500 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generaldata grid styles Pin
kowplunk10-Aug-04 4:20
kowplunk10-Aug-04 4:20 
GeneralRe: data grid styles Pin
Jim Matthews11-Aug-04 3:31
Jim Matthews11-Aug-04 3:31 
GeneralRe: data grid styles Pin
kowplunk11-Aug-04 6:20
kowplunk11-Aug-04 6:20 
GeneralCode to Read xsd schema file In vb. Pin
Purushot10-Aug-04 1:50
Purushot10-Aug-04 1:50 
GeneralProblem with ResultView panes Pin
raheela10-Aug-04 1:04
raheela10-Aug-04 1:04 
GeneralTab allignment Pin
alok007200010-Aug-04 0:48
alok007200010-Aug-04 0:48 
GeneralSqlcommand Pin
Timmie_N9-Aug-04 23:30
sussTimmie_N9-Aug-04 23:30 
GeneralRe: Sqlcommand Pin
Dave Kreskowiak10-Aug-04 3:11
mveDave Kreskowiak10-Aug-04 3:11 
You didn't post the most important part of your code. What does the SQL statement look like? This is where your going to put your WHERE clause with your date information.
SELECT fields FROM tableName WHERE datefield BETWEEN @date1 AND @date2

Your @date1 and @date2 should be parameters in your SQL command and have corresponding SqlParameter objects created and filled. In your case, something like this:
dbcomm.Parameters.Add("@date1", SqlDbType.DateTime).Value = firstdate
dbcomm.Parameters.Add("@date2", SqlDbType.DateTime).Value = seconddate



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralAny body master in Datagrid please Help me... Pin
irshu9-Aug-04 23:23
irshu9-Aug-04 23:23 
GeneralRe: Any body master in Datagrid please Help me... Pin
ramaseb11-Aug-04 23:40
ramaseb11-Aug-04 23:40 
GeneralAny body master in Datagrid please Help me... Pin
irshu9-Aug-04 23:22
irshu9-Aug-04 23:22 
Generallaunching msg file at loading Pin
vancouver7779-Aug-04 22:40
vancouver7779-Aug-04 22:40 
Generali want to convert form doc file to html file Pin
Ashraf Fathy9-Aug-04 21:30
Ashraf Fathy9-Aug-04 21:30 
GeneralRe: i want to convert form doc file to html file Pin
Syed Abdul Khader10-Aug-04 1:23
Syed Abdul Khader10-Aug-04 1:23 
GeneralRe: i want to convert form doc file to html file Pin
Dave Kreskowiak10-Aug-04 1:25
mveDave Kreskowiak10-Aug-04 1:25 
GeneralVB Excel Changing color of Cell lettering color when out of range Pin
mitreviper9-Aug-04 20:24
mitreviper9-Aug-04 20:24 
Questionhow to return values between two forms Pin
Lisana9-Aug-04 10:58
Lisana9-Aug-04 10:58 
AnswerRe: how to return values between two forms Pin
skytribe9-Aug-04 11:16
skytribe9-Aug-04 11:16 
GeneralRe: how to return values between two forms Pin
Lisana10-Aug-04 2:45
Lisana10-Aug-04 2:45 
GeneralDynamically screen resolution... need help Pin
AbuFahed9-Aug-04 9:03
AbuFahed9-Aug-04 9:03 
GeneralManipulating a hashtable Pin
woaksie9-Aug-04 8:38
woaksie9-Aug-04 8:38 
GeneralRe: Manipulating a hashtable Pin
Steven Campbell9-Aug-04 10:13
Steven Campbell9-Aug-04 10:13 
GeneralRe: Manipulating a hashtable Pin
normanordas10-Aug-04 21:13
normanordas10-Aug-04 21:13 
GeneralSave a MS Word shape as an image Pin
smritiy9-Aug-04 8:38
smritiy9-Aug-04 8:38 
GeneralRe: Save a MS Word shape as an image Pin
Member 53081010-Aug-04 4:58
Member 53081010-Aug-04 4:58 

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.