|
下拉的选择日期控件(user control ),功能完善,修改了bug(1)
YearMonthDayDownDropList.ascx: <%@ Control Language="C#" AutoEventWireup="false"
Codebehind="YearMonthDayDownDropList.ascx.CS" Inherits="micrm.Modules.YearMonthDayDownDropList" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%> <table id="Table1" cellSpacing="0" cellPadding="0"> <tr> <td><SELECT id=<%=YearName%> onclick=<%=JavascriptFunName%> style="WIDTH: 53px; HEIGHT: 61px" name=<%=YearName%>> <% FillOptions(2000,ServerNowYear,ServerYear);%> </SELECT> <td> <DIV>年</DIV> </td> <td><SELECT id=<%=MonthName%> style="WIDTH: 45px; HEIGHT: 61px" onclick=<%=JavascriptFunName%> name=<%=MonthName%>> <% FillOptions(1,12,ServerMonth);%> </SELECT> <td> <DIV>月</DIV> </td> <td><SELECT id=<%=DayName%> style="WIDTH: 45px; HEIGHT: 61px" name=<%=DayName%>> <% FillOptions(1,ServerMonthDays,ServerDay); %>
|