protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         FillddlSeason();
         FillddlBranch();
         ddlBranch.SelectedValue = BK_Session.GetSession().BranchId.ToString();
         txtDate.Text            = ConvertNE.ConvertEToN(BK_Session.GetSession().OpDate);
     }
 }
Example #2
0
    public DateTime GetNextMonth(DateTime d)
    {
        string nDate = ConvertNE.ConvertEToN(d);

        int[] a = DateStringToInt.StringToInt(nDate);
        a[0] = a[0] + 1;
        if (a[0] > 12)
        {
            a[0] = 1;
            a[2] = a[2] + 1;
        }
        else
        {
            a[2] = a[2];
        }
        return(DateTime.Parse(ConvertNE.ConvertNToE(a)));
    }