Click here to Skip to main content
15,887,812 members
Home / Discussions / Database
   

Database

 
GeneralRe: whats the date function for sql statement? Pin
neodeaths8-Apr-07 15:30
neodeaths8-Apr-07 15:30 
QuestionHelp with parameters Pin
User 66584-Apr-07 13:21
User 66584-Apr-07 13:21 
AnswerRe: Help with parameters Pin
rujuc#4-Apr-07 21:09
rujuc#4-Apr-07 21:09 
GeneralRe: Help with parameters Pin
User 66585-Apr-07 12:59
User 66585-Apr-07 12:59 
QuestionSSIS Question Pin
Marcus Spitzmiller4-Apr-07 8:13
Marcus Spitzmiller4-Apr-07 8:13 
AnswerRe: SSIS Question Pin
Marek Grzenkowicz4-Apr-07 23:33
Marek Grzenkowicz4-Apr-07 23:33 
GeneralRe: SSIS Question Pin
Marcus Spitzmiller6-Apr-07 14:00
Marcus Spitzmiller6-Apr-07 14:00 
Questionsearching betweent two dates Pin
Kunal P4-Apr-07 6:47
Kunal P4-Apr-07 6:47 
hi
i wanted to perform a search for records based on the date range specified by the user..

the input method is in mm/dd/yyyy in the webform

before going to the web from i just queried the table using the query builder and it constructed a query


SELECT patient.*
FROM patient
WHERE (Dt BETWEEN CONVERT(DATETIME, '2006-08-09 00:00:00', 102) AND CONVERT(DATETIME, '2006-09-09 00:00:00', 102))


now how do i use the same query to the webform... also how will i display the results in a gridview control..

also.. shud i create an stored procedure, by which i can make this possible

thx


Kunal

AnswerRe: searching betweent two dates Pin
Christian Graus4-Apr-07 16:24
protectorChristian Graus4-Apr-07 16:24 
AnswerRe: searching betweent two dates Pin
Frank Kerrigan5-Apr-07 0:04
Frank Kerrigan5-Apr-07 0:04 
AnswerRe: searching betweent two dates Pin
meeram3955-Apr-07 1:42
meeram3955-Apr-07 1:42 
QuestionProblem with using OLEDB read excel file Pin
kokain4-Apr-07 5:37
kokain4-Apr-07 5:37 
AnswerRe: Problem with using OLEDB read excel file Pin
Rob Graham4-Apr-07 5:44
Rob Graham4-Apr-07 5:44 
GeneralRe: Problem with using OLEDB read excel file Pin
kokain4-Apr-07 16:16
kokain4-Apr-07 16:16 
QuestionImage. Pin
nclauder4-Apr-07 4:46
nclauder4-Apr-07 4:46 
AnswerRe: Image. Pin
mghiassi4-Apr-07 6:15
mghiassi4-Apr-07 6:15 
AnswerRe: Image. Pin
Frank Kerrigan4-Apr-07 23:20
Frank Kerrigan4-Apr-07 23:20 
QuestionRowCount property cannot be set on a data-bound DataGridView control. Pin
kindman_nb4-Apr-07 3:38
kindman_nb4-Apr-07 3:38 
AnswerRe: RowCount property cannot be set on a data-bound DataGridView control. Pin
Rob Graham4-Apr-07 4:00
Rob Graham4-Apr-07 4:00 
GeneralRe: RowCount property cannot be set on a data-bound DataGridView control. Pin
kindman_nb4-Apr-07 4:13
kindman_nb4-Apr-07 4:13 
GeneralRe: RowCount property cannot be set on a data-bound DataGridView control. Pin
Rob Graham4-Apr-07 5:45
Rob Graham4-Apr-07 5:45 
GeneralRe: RowCount property cannot be set on a data-bound DataGridView control. Pin
Frank Kerrigan4-Apr-07 23:22
Frank Kerrigan4-Apr-07 23:22 
Questionbackup and restore Database Pin
Maira K4-Apr-07 3:25
Maira K4-Apr-07 3:25 
AnswerRe: backup and restore Database Pin
kubben4-Apr-07 3:55
kubben4-Apr-07 3:55 
GeneralRe: backup and restore Database Pin
Maira K4-Apr-07 4:03
Maira K4-Apr-07 4:03 

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.