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

ASP.NETÁ¬½ÓÊý¾Ý¿âµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÔÚSql server 2005ÖÐÊý¾Ý¿âdb_09Á¬½ÓÕý³££¬µ«ÊÇÔÚVS2008ÖУ¬×öÒ»¸öCommand¶ÔÏó²éѯÊý¾Ý£¬È´³öÏÖ´íÎó£¿Çë´ó¼Ò°ï°ïæ
ÔÚWeb.configÎļþÖÐÅäÖÃÈçÏÂ
<appSettings>
  <add key="ConnectionString" value="HG\SQLEXPRESS;database=db_09;UId=sa;password=''"/>
</appSettings>
ÔËÐÐÊÇÓÐÈçÏ´íÎó£º
Òì³£ÏêϸÐÅÏ¢: System.ArgumentException: ²»Ö§³Ö¹Ø¼ü×Ö: ¡°hg\sqlexpress;database¡±¡£
Ô´´íÎó: 
ÐÐ 24: {
ÐÐ 25: string myStr = ConfigurationManager.AppSettings["ConnectionString"].ToString();
ÐÐ 26: SqlConnection myConn = new SqlConnection(myStr);
ÐÐ 27: return myConn;
ÐÐ 28: }
service=localhost;database=db_09;UId=sa;password=''

service=HG\SQLEXPRESS

ÒýÓÃ
service=HG\SQLEXPRESS
Õý½â£¬Ì«´ÖÐÄÁË°É

ÒýÓÃ
service=HG\SQLEXPRESS

service£¿£¿£¿
ÊÇ Data Source »ò Server °É...
XML code:

<add key="ConnectionString" value="Data Source=HG\SQLEXPRESS;database=db_09;UId=sa;password=''"/>


or
XML code:

<add key="ConnectionString" value="Server=HG\SQLEX


Ïà¹ØÎÊ´ð£º

asp.netµ¼³öEXCELÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

C# code:

SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......

WapµÄÒ»¸ö¾ÞÍ·ÌÛµÄÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌⶼ¸ÄºÃÁË£¬
¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......

asp.net Ò³ÃæÏÞʱÌá½» ÈçºÎʵÏÖ - .NET¼¼Êõ / ASP.NET

1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ã棬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£

js ......

asp.net ÏÂÔØ - .NET¼¼Êõ / ASP.NET

sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")

ÒýÓÃ
Response.Redirect( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ