asp.netÐÂÊÖ ·ÖÏí¸ö¸Õ¸Õ×öºÃµÄÌá½»ÈÕÆÚµÄ¿Ø¼þ
C# code:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class ³öÉúÈÕÆÚ : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
DropDownList3.Visible = false;
DropDownList4.Visible = false;
DropDownList5.Visible = false;
DropDownList6.Visible = false;
}
protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
string str = DropDownList1.SelectedValue;
string strMonth = DropDownList2.SelectedValue;
int year = int.Parse(str);
int month = int.Parse(strMonth);
if (month == 2)
{
if ((year % 4 == 0) && (year % 100 != 0) || year % 400 == 0)
{
DropDownList3.Visible = false;
DropDownList4.Visible = true;
DropDownList5.Visible = false;
DropDownList6.Visible = false;
}
else
{
DropDownList3.Visible = true;
DropDownList4.Visible = false;
DropDownList5.Visible = false;
Ïà¹ØÎÊ´ð£º
select top 12 * from Product where [id] not in (select top 12 [id] from Product)
ÕâÑù¿ÉÒÔ·ÖÒ³£¬µ«ÊÇÎÒÔÚºóÃæÏë¼Ó¸öÌõ¼þ
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......
RT¡£ºÜ¶àµØÖ·¶¼´ò²»¿ª»ò²»ÄÜÏÂÔØÁË
ÓÐ×ÊÔ´µÄÅóÓѸø¸öµØÖ·¡£¡£Ö»ÒªÏÂÔØºóÊÇÎÒÏëÒªµÄÄÚÈÝ 50·ÖÏ×ÉÏ!
лл!
ɳ·¢ÎÒÏÈ×ø!
°ï¶¥
°ï¶¥
ûÌý˵¹ýŶ
JF
ºÃÏñ19ûÓе쬲»È«¡£
ºÃ¶à¼¯¶¼²»ÄÜÏ¡£¡£
......
ÇëÎÊһϣ¬ASP.NETÎÒÓÃÒ»¸ö²ãÖзÅÁËÒ»¸öÈÕÀú¿Ø¼þ£¬ÔÚµãÒ»¸ö°´Å¥Ê±£¬ÏÔʾÕâ¸ö²ã£¿ÏÖÔÚÎÊÌâÊÇÎÒÔڵ㰴ťʱ£¬ÎÒÏë°Ñ²ãÏÔʾÔÚ°´Å¥µÄÏ·½£¿¾ÍÏñÏÂÀÈÕÆÚ¿Ø¼þÒ»Ñù£¬ÎÒÓÃÊǵÄASP.NET C#
ÎÒÓÐÕâôһ¸öÈÕÆÚ¿Ø¼þ£¬£¡µã»÷¿ÉÒÔÑ ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......
VB.NET code:
'Global.asax
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
'ÔÚÓ¦ÓóÌÐòÆô¶¯Ê±ÔËÐеĴúÂë
Dim RequestUrl As String = HttpContext.Current.Requ ......