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

asp.net¶ÔͼƬµÄ¶Áд

 Ð´Í¼Æ¬c:\1.jpgµ½±ícinfoÖÐ
private static void AddCinfo()
    {
        string strSql = "insert into cinfo (srvtitle,csttitle,introduction,logo) values
(@srvtitle,@csttitle,@introduction,@logo)";
        SqlParameter[] parms =
        {
            new SqlParameter("@srvtitle",SqlDbType.VarChar,30),
            new SqlParameter("@csttitle",SqlDbType.VarChar,30),
            new SqlParameter("@introduction",SqlDbType.NVarChar,500),
            new SqlParameter("@logo",SqlDbType.Image)
        };
        parms[0].Value = "ÂÃÒµ»¥¶¯";
        parms[1].Value = "lyhd";
        parms[2].Value = "¼ò½é";
        string filePath = @"c:\1.jpg";
        FileStream fs = File.OpenRead(filePath);
        byte[] content = new byte[fs.Length];
        fs.Read(content, 0, content.Length);
        fs.Close();
        parms[3].Value = content;
        DBHelper.ExecuteNonQuery(CommandType.Text, strSql, parms);
    }
¶ÁȡͼƬµÄÒ³Ãæ test.aspx
protected void Page_Load(object sender, EventArgs e)
    {
        string strSql = "select * from cinfo where id=1";
        SqlDataReader reader=DBHelper.ExecuteReader(CommandType.Text, strSql, null);
 


Ïà¹ØÎĵµ£º

ASP.NET³ÌÐòµÄ¸ºÑ¹²âÊÔ


wuyq11
(ÈËÉúÈçÃÎ)
½øÐÐѹÁ¦²âÊÔ£¬¿ÉʹÓõŤ¾ßºÜ¶à
ÈçLoadrunner£ºÔ¤²âϵͳÐÐΪºÍÐÔÄܵĸºÔزâÊÔ¹¤¾ß
Webload£ºWEBÐÔÄÜѹÁ¦²âÊÔ
ʹÓöàÏß³Ì
MS Web Application Stress Tool
ÑÓÉì------------------------------------------------------------------------------->
¡¶ASP.NET³ÌÐòµÄ¸ºÑ¹²âÊÔ¡·
......

asp.net form±êǩǶÌ× Ìá½»Ò³ÃæµÄ½â¾ö·½·¨


Ô­ÌûµØÖ·:http://blog.cnria.com/post/aspnet-form-e5b58ce5a597-e68f90e4baa4e9a1b5e99da2e79a84e8a7a3e586b3e696b9e6b395-from-e5b58ce5a597-aspnet-e8a1a8e58d95.aspx
Õâ¸öÎÊÌâµÄÔ­ÒòÆäʵ²¢²»ÊÇasp.net ÔËÐлúÖÆµÄÔ­Òò£¬¶øÊÇÒòΪÔÚhtmlÖб¾Éí¾Í²»ÔÊÐíform±êǩǶÌ×ʹÓã¬ÎÒÊÔ¹ýdocument.getelementbyid("search&q ......

ÓÅÐãASP.NET³ÌÐòÔ±µÄÐÞÁ¶Ö®Â·


<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......

ASP.NETÒ³ÃæÖ¸Áî

ASP.NETÖ¸ÁîÔÚÿ¸öASP.NETÒ³ÃæÖж¼ÓС£Ê¹ÓÃÕâЩָÁî¿ÉÒÔ¿ØÖÆASP.NETÒ³ÃæµÄÐÐΪ¡£ÏÂÃæÊÇPageÖ¸ÁîµÄÒ»¸öÀý×Ó£º
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
    Inherits="_Default" %>
ÔÚASP.NETÒ³Ãæ»òÓû§¿Ø¼þÖÐÓÐ11¸öÖ¸Áî¡£ÎÞÂÛÒ³ÃæÊÇʹÓúǫ́±àÂëÄ£ÐÍ»¹ÊÇÄÚÖñ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ