blah blah blah is here! blah blah » Close

0
votes
1 answers

c# first program

hi, i have written a program to enter the item description, date and price of the item and to produce the sum of the prices entered by the user. its working well except ,that it is not producing the toatl amount. namespace ConsoleAppli ...

0
votes
0 answers

Calculate time between two dates

I am new to this forum and also new to c# programming. I am trying to create a vehicle rental system. Something to make reservations, create rental agreements, etc. I am stuck on something that seems like something that should be fairly eas ...

0
votes
0 answers

How to Display dates in datagridview on selected month and year

i am using a datagridview in window application c#.net i want to display dates in datagridview cells by datatable (like datetimepicker control) [img]http://asan.netai.net/images/0c641195b274.jpg[/img] thanks

0
votes
1 answers

search a database value by date(providing format dd/mm/yyyy)

I have saved entry(s) in MS Access database using a form(visual C#.net). Now i want to display it on the screen by searching by date. I am using the following code to do this but there is some problem in it. [code] System.Data.OleDb.OleDb ...

1
votes
1 answers

help with getting an accurate DateTime.Now object. I keep getting 12:00am

[code]DateTime CurrTime = DateTime.Now; txtStarted.Text = CurrTime.Date.ToShortTimeString();[/code] The clock on my computer says 2:31pm, but it keeps displaying 12:00a

0
votes
1 answers

Dates in javascript

How can I compare 3/11/2010 5:45 Pm to 3/11/2011 5:46 Pm, to see if they are equal or not in JavaScript.

1
votes
2 answers

Change cell content on date check

Hi Guys, I have a datagrid that on load the below code checks through the date column and if any date is older than today it changes Cell [6] value to "1" I want to do the exact function but only if the date is today at 10:00am ...

0
votes
1 answers

Struggling with AM/PM in a Date

I am very new to development and am trying to display a time format as 3 drop down lists as Hours Minutes AM/PM. The module I'm editing successfully inserts a timestamp into the database that looks like this: 12/23/2009 10:00:00 PM ...

Feedback