Click here to Skip to main content
15,897,090 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem with Report Viewer In windows 98 Pin
michael@cohen16-Jul-07 1:37
michael@cohen16-Jul-07 1:37 
QuestionSchedule Auto Update Pin
GermanDM16-Jul-07 1:02
GermanDM16-Jul-07 1:02 
QuestionDateTime Problem Pin
Mohammed Elkholy15-Jul-07 23:44
Mohammed Elkholy15-Jul-07 23:44 
AnswerRe: DateTime Problem Pin
Manas Bhardwaj16-Jul-07 0:11
professionalManas Bhardwaj16-Jul-07 0:11 
GeneralRe: DateTime Problem Pin
Colin Angus Mackay16-Jul-07 0:18
Colin Angus Mackay16-Jul-07 0:18 
AnswerRe: DateTime Problem Pin
Rhys Gravell16-Jul-07 0:12
professionalRhys Gravell16-Jul-07 0:12 
AnswerRe: DateTime Problem Pin
Vikram A Punathambekar16-Jul-07 0:30
Vikram A Punathambekar16-Jul-07 0:30 
AnswerRe: DateTime Problem Pin
T1TAN16-Jul-07 23:14
T1TAN16-Jul-07 23:14 
Hi,

first of all, I hope you're validating the values of dtp_examdate, txt_time and txt_timeto before filtering your DataView.

There are few things you could try, and I'll be honest, I'm not sure if any of them is good.

1. You can place a hardcoded date value in the database, for example '2007-01-01' will always be the date part of your datetime field. Probably not a good idea, you'd still need to handle insert/update properly (by a trigger perhaps), and parse the time value when selected from the DB. I'd say too much overhead.

2. Perhaps better than 1: store the time value in separate tinyint fields, Hour, Minute, Second. I believe this way you can filter the data easily, you only need to combine the values to display the time properly.

Hope that helpsD'Oh! | :doh:

---
http://sprdsoft.cmar-net.org - We Sprd You Softly
Our site features contents and several images. All of this is very weird.

In the end, war is not about who's right, it's about who's left.

QuestionPopulate a *.sdf database from a dataset Pin
pmartike15-Jul-07 23:25
pmartike15-Jul-07 23:25 
AnswerRe: Populate a *.sdf database from a dataset Pin
Colin Angus Mackay16-Jul-07 0:15
Colin Angus Mackay16-Jul-07 0:15 
GeneralRe: Populate a *.sdf database from a dataset Pin
pmartike16-Jul-07 0:44
pmartike16-Jul-07 0:44 
GeneralRe: Populate a *.sdf database from a dataset Pin
Mike Dimmick16-Jul-07 0:59
Mike Dimmick16-Jul-07 0:59 
GeneralRe: Populate a *.sdf database from a dataset Pin
Colin Angus Mackay16-Jul-07 2:29
Colin Angus Mackay16-Jul-07 2:29 
AnswerRe: Populate a *.sdf database from a dataset Pin
Mike Dimmick16-Jul-07 0:55
Mike Dimmick16-Jul-07 0:55 
GeneralRe: Populate a *.sdf database from a dataset Pin
pmartike16-Jul-07 3:08
pmartike16-Jul-07 3:08 
GeneralRe: Populate a *.sdf database from a dataset Pin
Mike Dimmick16-Jul-07 6:04
Mike Dimmick16-Jul-07 6:04 
QuestionXAML How to get parent property Pin
Juan Pablo G.C.15-Jul-07 23:18
Juan Pablo G.C.15-Jul-07 23:18 
AnswerRe: XAML How to get parent property Pin
snorkie16-Jul-07 3:10
professionalsnorkie16-Jul-07 3:10 
Questionjava script Pin
kalyan_241615-Jul-07 23:08
kalyan_241615-Jul-07 23:08 
AnswerRe: java script Pin
Nouman Bhatti15-Jul-07 23:20
Nouman Bhatti15-Jul-07 23:20 
QuestionCustom stored procedure in netTiers Pin
thuannguyen15-Jul-07 22:15
thuannguyen15-Jul-07 22:15 
AnswerRe: Custom stored procedure in netTiers Pin
Vasudevan Deepak Kumar15-Jul-07 22:39
Vasudevan Deepak Kumar15-Jul-07 22:39 
Questionhow to set the number of rows in listview in c# Pin
monuSaini15-Jul-07 22:10
monuSaini15-Jul-07 22:10 
AnswerRe: how to set the number of rows in listview in c# Pin
Eduard Keilholz15-Jul-07 22:48
Eduard Keilholz15-Jul-07 22:48 
AnswerRe: how to set the number of rows in listview in c# Pin
mav.northwind16-Jul-07 3:34
mav.northwind16-Jul-07 3: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.