Drawn Selection Date Control (User Control), perfect, modified BUG

zhaozj2021-02-16  48

YearmonthdayDowndroplist.ascx:

<% @ Control language = "c #" autoeventwireup = "false"

Codebehind = "YearmonthdayDowndroplist.ascx.cs"

Inherits = "micrm.modules.yearmonthdaydowndroplist"

Targetschema = "http://schemas.microsoft.com/intellisense/ie5"%>

year
month
Japanese

In YearMontHdayDowndroplist.ascx.cs:

Namespace micrm.modules {using system.data; using system.drawing; using system.Web; using system.web.ui.webcontrols; using system.web.ui.htmlcontrols;

///

/// YearMontHDayDowndroplist's summary description. /// public abstract class yearmonthdaydowndroplist: system.Web.ui.userControl {

// Choose the Year of the Selection, such as: 2002225 Public String Yearmonthday {get {returnthday {get {returnes (yearname) request.form [MONTHNAME] Request.form [dayname];}} protected int serveryear; // server currently selected year protected int ServerMonth; // server current month protected int ServerNowYear; // server is currently in protected int ServerDay; // server present day protected int ServerMonthDays; // number of days of the current month protected string JavascriptFunName; protected // function name issued this user control string YearName; // name of the control of this user control issued protected string MonthName; // name of this month control user control issued protected string DayName; name private void day control // this user control issued Page_Load (object sender SYSTEM.EVENTARGS E) {// Place the user code here to initialize the page string id = this.uniqueId; if (! This.page.isclientscriptblockregistered (ID)) {javascriptfunname = "chanday" ID "()"; YearName = "year" id; MonthName = "month" id; DayName = "day" id; string scriptString = "