Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.NET Ò³ÃæÖÐ ¹ö¶¯µ±Ç°ÏµÍ³Ê±¼ä

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Admin_Default3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script language="javascript" type ="text/javascript">
function tick()
 {
var hours, minutes, seconds, xfile;
var intHours, intMinutes, intSeconds;
var today, theday;
today = new Date();
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i] }
var d=new initArray(
"ÐÇÆÚÈÕ",
"ÐÇÆÚÒ»",
"ÐÇÆÚ¶þ",
"ÐÇÆÚÈý",
"ÐÇÆÚËÄ",
"ÐÇÆÚÎå",
"ÐÇÆÚÁù");
theday = today.getYear()+"Äê" + [today.getMonth()+1]+"ÔÂ" +today.getDate() + d[today.getDay()+1];
intHours = today.getHours();
intMinutes = today.getMinutes();
intSeconds = today.getSeconds();
if (intHours == 0) {
hours = "12:";
xfile = "ÎçÒ¹";
} else if (intHours <12) {
hours = intHours+":";
xfile = "ÉÏÎç";
} else if (intHours == 12) {
hours = "12:";
xfile = "ÕýÎç";
} else {
intHours = intHours - 12
hours = intHours + ":";
xfile = "ÏÂÎç";
}
if (intMinutes <10) {
minutes = "0"+intMinutes+":";
} else {
minutes = intMinutes+":";
}
if (intSeconds < 10) {
seconds = "0"+intSeconds+" ";
} else {
seconds = intSeconds+" ";
}
timeString = theday+xfile+hours+minutes+seconds;
 var textNode=document.createTextNode(timeString);  //createƴд
   currentElement=document.getElementById("time");
  currentElement.replaceChild(textNode,currentElement.firstChild);
   setTimeout("tick()",1000);
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>ÎÞ±êÌâÒ³</title>
</head>
<body onload="tick()">
    <form id="form1" runat="server">
    <MARQUEE id="time" scrollA


Ïà¹ØÎĵµ£º

ASP.NETÓëJavaSrcipt½»»¥ÎÊÌâ

1.ÈçºÎÔÚJavaScript·ÃÎÊC#º¯Êý?
·½·¨Ò»£º1¡¢Ê×ÏȽ¨Á¢Ò»¸ö°´Å¥£¬ÔÚºǫ́½«µ÷Óûò´¦ÀíµÄÄÚÈÝдÈëbutton_clickÖÐ;
          2¡¢ÔÚǰ̨дһ¸öjsº¯Êý£¬ÄÚÈÝΪdocument.getElementById("btn1").click();
          3¡¢ÔÚǰ̨»òºóÌ ......

ÈçºÎѧϰASP.NET

Èç¹ûÄãÒѾ­Óн϶àµÄÃæÏò¶ÔÏ󿪷¢¾­Ñé£¬Ìø¹ýÒÔÏÂÕâÁ½²½£º
µÚÒ»²½ ÕÆÎÕÒ»ÃÅ.NETÃæÏò¶ÔÏóÓïÑÔ£¬C££»òVB.NET¡£
ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏóÓïÑÔµÄǰÌáÏÂȥѧASP.NET¡£
ASP.NETÊÇÒ»¸öÈ«ÃæÏò¶ÔÏóµÄ¼¼Êõ£¬²»¶®ÃæÏò¶ÔÏó£¬ÄǾø¶Ôѧ²»ÏÂÈ¥£¡
µÚ¶þ²½ ¶Ô.NET FrameworkÀà¿âÓÐÒ»¶¨µÄÁ˽â
¿ÉÒÔͨ¹ý¿ª·¢Windows FormÓ¦Óà ......

asp.netÖнâ¾öÒ³ÃæË¢Ðºó×ÖÌåµÈ±ä´óµÄÎÊÌâ

½ñÌìÔÚcsdnÉÏ¿´µ½Ò»Æª²©¿Í£¬Êǽ²½â¹ØÓÚ'asp.netÖнâ¾öÒ³ÃæË¢Ðºó×ÖÌåµÈ±ä´óÎÊÌâµÄ',¿´ÁËһϣ¬¸Ð¾õдµÄ²»ÊǺÜÏêϸ¡£ÄÇô£¬ÎÒÀûÓÃËûµÄʵÀýÀ´¾ßÌåÁ˽âһϣº
Ô­ÎÄ£º
 
protected void Button1_Click(object sender, EventArgs e)
        {
     &nb ......

asp.net c# js·þÎñÆ÷¶Ë³£ÓÃ

using System;
using System.Web;
namespace pub.mo
{
public class js
{
private js() { }
private static string scr_j1 = "<mce:script type=\"text/javascript\"><!--
";
private static string scr_j2 = "
// --></mce:script>";
/// <summa ......

asp.net c# ·þÎñÆ÷¶Ë¸÷°ó¶¨¿Ø¼þ³£ÓÃ

asp.netÓÐʱºò³£³£Ó÷þÎñÆ÷°ó¶¨¿Ø¼þÓÐЩÂé·³...
´úÂëÓÐЩÔÓ....
using System;
using System.Web.UI.WebControls;
using System.Data;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using System.Web;
using System.Text;
namespace pub.mo
{
public class bind
{
p ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ