31 lines
No EOL
818 B
C#
31 lines
No EOL
818 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace eDos2021
|
|
{
|
|
public partial class ReserveBadges : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
Literal titelControl = Master.FindControl("PageTitle") as Literal;
|
|
titelControl.Text = "Reserve Badges";
|
|
|
|
dt.DbSelectedDate = DateTime.Today;
|
|
rbGrid.Rebind();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
protected void ds1_Inserting(object sender, SqlDataSourceCommandEventArgs e)
|
|
{
|
|
e.Command.Parameters["@Date"].Value = dt.DbSelectedDate;
|
|
}
|
|
}
|
|
} |