Forum: ASP.NET Feb 13th, 2007 |
| Replies: 8 Views: 17,429 Sure. A simple console app to demonstrate.
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program |
Forum: ASP.NET Feb 13th, 2007 |
| Replies: 8 Views: 17,429 Sure it's possible.
Where does the range come from? That is, the start and end dates of the current month and current year, or user input, or ...? |
Forum: ASP.NET Feb 13th, 2007 |
| Replies: 8 Views: 17,429 How do you want it?
Two date objects, a string, an array of dates ...? |
Forum: ASP.NET Feb 12th, 2007 |
| Replies: 11 Views: 10,505 Okay, no, that won't work like that.
Behind the scenes, all post back url does is change the onclick on the button CLIENT SIDE.
So changing it then trying to call onclick, before the code is... |
Forum: ASP.NET Feb 12th, 2007 |
| Replies: 11 Views: 10,505 Ah, I see.
Hang on a few, let me trace it. |
Forum: ASP.NET Feb 12th, 2007 |
| Replies: 11 Views: 10,505 Here's what I had.
Note that posting to the daniweb address actually causes an error due to them not accepting POST from outside their domain. However, this still indicates success at postbackurl.... |
Forum: ASP.NET Feb 12th, 2007 |
| Replies: 11 Views: 10,505 Yes, and for me, it does.
You're inheriting code. Did you mean to do that?
Inherits="PassParameters._Default" %>
You had a couple other errors in there I fixed without thinking about it, too. ... |
Forum: ASP.NET Feb 12th, 2007 |
| Replies: 11 Views: 10,505 You might be accidentally calling the click before the url is actually set. |
Forum: ASP.NET Feb 12th, 2007 |
| Replies: 8 Views: 17,429 The DateTime object has properties for month, day, year, etc. DateTime.Now is today's date. You can go from there.
Note that ToString is overloaded for DateTime in order to format a date for output. |
Forum: ASP Jan 11th, 2007 |
| Replies: 2 Views: 1,435 I have never managed to find a good way to debug classic ASP, and always end up with either text to a log file, or response.write all over the place for tracing. |
Forum: Visual Basic 4 / 5 / 6 Jan 3rd, 2007 |
| Replies: 2 Views: 5,601 Where do you want it cut down? For display, many things such as texboxes have a way to number format data.
Then there's the Format function.... |