Forum: ASP.NET Feb 13th, 2007 |
| Replies: 8 Views: 17,401 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,401 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,401 How do you want it?
Two date objects, a string, an array of dates ...? |
Forum: ASP.NET Feb 12th, 2007 |
| Replies: 11 Views: 10,501 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,501 Ah, I see.
Hang on a few, let me trace it. |
Forum: ASP.NET Feb 12th, 2007 |
| Replies: 11 Views: 10,501 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,501 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,501 You might be accidentally calling the click before the url is actually set. |
Forum: ASP.NET Feb 12th, 2007 |
| Replies: 8 Views: 17,401 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. |