Hi,
I?m have a page that have different data fo each day of the week (and the user is getting it by clicking on the day that he would like to get.
I would like to add it also a function the the form is recognizing the day of the week (on the server or user side (what ever is faster on the page load and showing the correct data for the day
I assume it should look like this
If dayoftheweek=Sunday
Lable2.text=sr1.readtoend();
This is the code I?m using to get the daily data (one for each day)
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
String strURL1 = "http://www.SameSite.com/ Sunday.html";
WebRequest req1 = WebRequest.Create(strURL1);
WebResponse response1 = req1.GetResponse();
string content = string.Empty;
using (Stream st1 = response1.GetResponseStream())
< ...
Go to the complete details ...