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

ASP.NET TextBoxµÄFocusÎÊÌâ

protected void txtEmployeeNo_TextChanged(object sender, EventArgs e)
    {
        Model.Employees employee = em.GetEmployeeByNo(txtEmployeeNo.Text);
        txtEmployeeName.Attributes.Add("onkeydown", "if(event.keyCode == 13){event.keyCode=9;}");
        txtEmployeeName.Text = employee.EmployeeName;
        txtTelephone.Focus();
    }

µ½²»ÁËtxtTelephone½¹µã£¡
°ï°ï棬ÔÚÏߵȡ£¡£
ÔÚwebÖÐtextboxÓÐfocus£¨£©Õâ¸ö·½·¨Âð£¿
ÐèÒªºÍonkeydownÒ»Ñù£¬×¢²áÒ»¸öonfocusʼþ°É

ÓÐÕâ¸ö·½·¨µÄ¡£

ÔõôÕûÓ´£¬¼±¼±¼±¡£¡£

    this.Page.ClientScript.RegisterStartupScript(this.GetType(),""," <script>document.getElementById('txtTelephone').focus() </script>");

ÔΣ¬Ö±½ÓtxtTelephone¡£Focus£¨£©²»Ðа¡£¿

ÒýÓÃ
    this.Page.ClientScript.RegisterStartupScript(this.GetType(),""," <script>document.getElementById('txtTelephone').focus() </script>");

²»Ðжî

²»ÐеÄ


Ïà¹ØÎÊ´ð£º

asp.net¿ØÖÆword~~~~¼± - .NET¼¼Êõ / ASP.NET

ÎÒÖ÷ÒªÏë¿ØÖÆÏÂword±£´æµÄµØÖ·£¬µ«ÊDZàÒë²»¹ýÈ¥£¬×ܾõµÃÊÇȱÁËusing¡£¡£¡£
лл
´úÂëÈçÏ£º
using System;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Data;
u ......

ASP¿ò¼Ü - .NET¼¼Êõ / ASP.NET

±¾ÈËÒ»Ö±´ÓÊÂjavaµÄ¿ª·¢£¬ spring , strutsµÈµÈ£¬ ÏÖÔÚÂíÉÏÒª½ÓÒ»¸öasp.netµÄÏîÄ¿£¬ ²»ÖªµÀasp.netÖÐÓÐûÓкÍjavaÖеÄstrutsÀàËÆµÄ¶«Î÷£¬ ¿ÉÒÔÔÚËûµÄ»ù´¡ÉÏ£¬Ö±½Ó¿ª·¢£¬ ЧÂʸߣ¬ ¶øÇÒºÃά»¤ ¡£¡£ лл£¬Ï£Íû´ó¼Ò£¬¶ ......

ÔÚasp.netÀïÃæ½Å±¾³ö´í - .NET¼¼Êõ / ASP.NET

function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;

var div1=document.getElementById("divPwd");

if (pwd.value=="")
{
......

asp.net ʵÏÖ¾²Ì¬¼¼ÊõÎÊÌâ - .NET¼¼Êõ / ASP.NET

¾²Ì¬Ä£°å£º
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/ ......

Êý¾Ý±íÉú³ÉÌØ¶¨¸ñʽµÄxml - .NET¼¼Êõ / ASP.NET

´ÓÊý¾Ý¿âÖвéѯһÕűíµÄÊý¾Ý
select ²¿ÃÅ,ÐÕÃû from tb
ÈçºÎ²ÅÄÜÉú³ÉÏÂÃæµÄxml¸ñʽÎļþ
<folder state="unchecked" label="È«²¿">
¡¡¡¡<folder state="unchecked" isBra ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ