Click here to Skip to main content
15,888,733 members
Home / Discussions / Database
   

Database

 
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 
GeneralRe: backup and restore Database Pin
Frank Kerrigan4-Apr-07 4:33
Frank Kerrigan4-Apr-07 4:33 
GeneralRe: backup and restore Database Pin
kubben4-Apr-07 4:37
kubben4-Apr-07 4:37 
AnswerRe: backup and restore Database Pin
Aaron VanWieren4-Apr-07 4:50
Aaron VanWieren4-Apr-07 4:50 
QuestionSQL Date and Time Queries... Pin
Illegal Operation4-Apr-07 1:51
Illegal Operation4-Apr-07 1:51 
I need some help.

I want to create a dropdownlist with the options "Day" "Week" and "Month". I need to write a stored procedure so that if the user selects "Day" then he only queries the day(Today), if he selects "Month" he must get the data for the month.

How will I go about doing this? I know I should use the If...Else or CASE in C#. I want to know how the Stored Procedure will look?

Thanks Guys !!! and GALS!!!

Illegal Operation

Making Computer Software Talk

AnswerRe: SQL Date and Time Queries... Pin
Frank Kerrigan4-Apr-07 23:29
Frank Kerrigan4-Apr-07 23:29 
QuestionUpdating Database through datagrid Pin
Raheem MA4-Apr-07 1:22
Raheem MA4-Apr-07 1:22 
AnswerRe: Updating Database through datagrid Pin
joon vh.4-Apr-07 1:26
joon vh.4-Apr-07 1:26 
GeneralRe: Updating Database through datagrid Pin
Raheem MA4-Apr-07 1:37
Raheem MA4-Apr-07 1:37 
QuestionTransactions in a stored procedure Pin
gauthee4-Apr-07 1:20
gauthee4-Apr-07 1:20 
AnswerRe: Transactions in a stored procedure Pin
joon vh.4-Apr-07 1:35
joon vh.4-Apr-07 1:35 
AnswerRe: Transactions in a stored procedure Pin
andyharman4-Apr-07 3:14
professionalandyharman4-Apr-07 3:14 
QuestionHow to Execute the DTS Package from C#.net Code Behind? Pin
SrinivasanPrabakaran4-Apr-07 0:51
SrinivasanPrabakaran4-Apr-07 0:51 
QuestionConverting seconds to hours and mins Pin
si_694-Apr-07 0:43
si_694-Apr-07 0:43 
AnswerRe: Converting seconds to hours and mins Pin
Hayder Marzouk4-Apr-07 2:13
Hayder Marzouk4-Apr-07 2:13 
AnswerRe: Converting seconds to hours and mins Pin
DQNOK4-Apr-07 8:40
professionalDQNOK4-Apr-07 8:40 
GeneralRe: Converting seconds to hours and mins Pin
si_695-Apr-07 0:50
si_695-Apr-07 0:50 
QuestionSQL Server Management Studio Express Pin
Zalro3-Apr-07 23:24
Zalro3-Apr-07 23:24 
AnswerRe: SQL Server Management Studio Express Pin
originSH5-Apr-07 0:51
originSH5-Apr-07 0:51 
QuestionCustom Replication / Mirroring for SQL Server 2005 Express Pin
Ligblou3-Apr-07 21:30
Ligblou3-Apr-07 21:30 
QuestionMS Access as Database and SQL: Problem in WHERE clause Pin
santoshsan3-Apr-07 21:20
santoshsan3-Apr-07 21:20 
AnswerRe: MS Access as Database and SQL: Problem in WHERE clause Pin
Adeel Chaudhry3-Apr-07 21:34
Adeel Chaudhry3-Apr-07 21:34 

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.