Click here to Skip to main content
15,899,007 members
Home / Discussions / Database
   

Database

 
AnswerRe: Extracting Primary Key to use as a Foreign Key Pin
kubben5-Apr-07 8:37
kubben5-Apr-07 8:37 
AnswerRe: Extracting Primary Key to use as a Foreign Key Pin
bweaver5-Apr-07 8:50
bweaver5-Apr-07 8:50 
Questionsteps to include activeX scripting in a DTS package Pin
indian1435-Apr-07 1:12
indian1435-Apr-07 1:12 
QuestionOrder of procedures to add a table Pin
thecodedemon5-Apr-07 0:06
thecodedemon5-Apr-07 0:06 
QuestionWhat happened with my SQL transaction log file? Pin
Hanh Aeriscute5-Apr-07 0:00
Hanh Aeriscute5-Apr-07 0:00 
AnswerRe: What happened with my SQL transaction log file? Pin
Krish - KP6-Apr-07 4:24
Krish - KP6-Apr-07 4:24 
QuestionactiveX script for a SQL-Server DTS package Pin
indian1434-Apr-07 21:45
indian1434-Apr-07 21:45 
AnswerRe: activeX script for a SQL-Server DTS package Pin
Frank Kerrigan4-Apr-07 23:16
Frank Kerrigan4-Apr-07 23:16 
GeneralRe: activeX script for a SQL-Server DTS package Pin
indian1435-Apr-07 0:55
indian1435-Apr-07 0:55 
Questionwhats the date function for sql statement? Pin
neodeaths4-Apr-07 15:41
neodeaths4-Apr-07 15:41 
AnswerRe: whats the date function for sql statement? Pin
Christian Graus4-Apr-07 16:23
protectorChristian Graus4-Apr-07 16:23 
GeneralRe: whats the date function for sql statement? Pin
neodeaths4-Apr-07 20:11
neodeaths4-Apr-07 20:11 
GeneralRe: whats the date function for sql statement? Pin
Frank Kerrigan4-Apr-07 23:17
Frank Kerrigan4-Apr-07 23:17 
AnswerRe: whats the date function for sql statement? Pin
Krish - KP4-Apr-07 20:53
Krish - KP4-Apr-07 20:53 
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 

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.