I am new to ASP.Net & C# so bear with me.
I have a working timesheet which displays on a webpage, what I was also wanting was to display the previous week and the following also on the same page. Can anyone help with this? I will attach both the .aspx page and the aspx.cs page. I have hardcoded the date into the webpage just for ease of reference at the moment.
Your help would be appreciated.
aspx.cs page:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;
public partial class Timesheet : System.Web.UI.Page
{
String strConn = "";
DataTable dtTaskStaffList = new DataTable();
DataTable dtTaskEditList = new Data ...
Go to the complete details ...