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

asp.net ¶¯Ì¬Ìí¼Ó¿Ø¼þ Óë È¡Öµ £¡£¡£¡

Ê×ÏÈ·¨·½ÓÐ3¸ö£¬ÕâÀï¾Í˵2¸öʵÓõġ£¡£¡£
1£¬Ö±½ÓΪ ¿Ø¼þ innerhtml Ìí¼ÓÖµ
2£¬createElement £¨´´½¨COM£©
3£¬ºǫ́ NEW ¿Ø¼þ£¬Ìí¼Ó
ÕâÀï˵Ï 1£¬2 Á½¸ö·¨·½£¡
1£º
¶¯Ì¬Éú³É ×Ö·û´®  string inntext=" <table> <tr> <td style=width:300px;text-align:right; >{0}<input id={1} type=text class=wbk />&nbsp; </td> </tr> </table>"
JS:
document.getElementById("DIV").innerHTML = inntext; //·ÅÈë DIV Ö®ÖÐ
2£º
var table1 =document.createElement("table");
        var TBODY1 =document.createElement("TBODY");
              var tr1 =document.createElement("tr");
                      var td1 =document.createElement("td");
            td1.setAttribute("width","300px");
            td1.style.textAlign = "right";
            td1.innerText =  "TD£º";
           
            var input1 =document.createElement("input");
            input1.setAttribute("id","input" + _id[j]);  //input1.id
            input1.setAttribute("type","text");  //input1.type="text";
            input1.setAttribute("className","wbk");// input1.className="wbk";
            
            td1.appendChild(input1);
            tr1.append


Ïà¹ØÎĵµ£º

ASP.NETµÄACCESSÊý¾Ý¿â²Ù×÷Àà

//private string datapatch = ConfigurationSettings.AppSettings["acessconn"];//Êý¾Ý¿âµØÖ· 
private string datapatch = "db/global.asa";//Êý¾Ý¿âµØÖ· 
/// 
/// È¡µÃdataset 
// 
/// ²éѯÓï¾ä 
/// 
public DataSet GetDataSet(string Commandtext) 
{&nbs ......

asp.netÖÐsubstringÓ÷¨


substring
public String substring(int beginIndex)·µ»ØÒ»¸öеÄ×Ö·û´®£¬ËüÊÇ´Ë×Ö·û´®µÄÒ»¸ö×Ó×Ö·û´®¡£¸Ã×Ó×Ö·û´®Ê¼ÓÚÖ¸¶¨Ë÷Òý´¦µÄ×Ö·û£¬Ò»Ö±µ½´Ë×Ö·û´®Ä©Î²¡£
ÀýÈ磺
"unhappy".substring(2) returns "happy"
"Harbison".substring(3) returns "bison"
"emptiness".substring(9) returns "" (an empty string)
² ......

asp.net C# ·¢ËÍ Óʼþ ºÍ ¸½¼þ ´úÂë

˵µ½·¢ËÍÓʼþ·¢ËÍ£¬ÏÈÌáÒ»ÏÂSMTP(ºÇºÇ£¬¸ßÊÖ¾ÍÌø¹ýÕâÒ»¶Î°É£¡)¡£ SMTPµÄÈ«³ÆÊÇ“Simple Mail Transfer Protocol”£¬¼´¼òµ¥Óʼþ´«ÊäЭÒé¡£ËüÊÇÒ»×éÓÃÓÚ´ÓÔ´µØÖ·µ½Ä¿µÄµØÖ·´«ÊäÓʼþµÄ¹æ·¶£¬Í¨¹ýËüÀ´¿ØÖÆÓʼþµÄÖÐת·½Ê½¡£SMTP ЭÒéÊôÓÚ TCP/IP ЭÒé´Ø£¬Ëü°ïÖúÿ̨¼ÆËã»úÔÚ·¢ËÍ»òÖÐתÐżþʱÕÒµ½ÏÂÒ»¸öÄ¿µÄµØ¡£SMTP ·þ ......

ASP.NET MVC½éÉÜ

The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating MVC-based Web applications. The ASP.NET MVC framework is ......

ASP.NET´´½¨Îļþ²¢Ð´ÈëÄÚÈÝ

ÔÚASP.NETÖУ¬Îļþ´¦ÀíµÄÕû¸ö¹ý³Ì¶¼ÊÇΧÈÆ×ÅSystem.IO Õâ¸öÃû³Æ¿Õ¼äÕ¹¿ªµÄ¡£Õâ¸öÃû³Æ¿Õ¼äÖоßÓÐÖ´ÐÐÎļþ¶Á¡¢Ð´ËùÐèÒªµÄÀà¡£±¾ÎÄ´Ó×î»ù±¾µÄ²Ù×÷¿ªÊ¼£¬½âÊÍÔÚASP.NETÖÐÎļþ´¦ÀíµÄ¸ÅÄ°üÀ¨Èç´ÓÒ»¸öÎļþÖжÁÈ¡ÄÚÈÝ¡¢ÈçºÎÏòÒ»¸öÎļþÖÐдÈëÄÚÈݺÍÈçºÎɾ³ýÒ»¸öÎļþ¡£¡¡¡¡
Ç°ÃæÒѾ­Ìáµ½£¬ÒªÏëÔÚASP.NET Ò³ÃæÖнøÐÐÎļþ´¦Àí£¬±ØÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ