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

ÓÃC#£¨C++£©Socketºǫ́±àд×Ô¼ºµÄIIS·þÎñÆ÷´úÌæIIS

 ±¾ÎÄ´¥¼°µ½Socket TCP/IP±à³Ì·½ÃæµÄ֪ʶ£¬ÆäʵÕâÊǺܼòµ¥µÄÄÚÈÝ£¬´ó¼Ò¿´²»Ã÷µÄµØ·½´ó¿ÉÒÔÏÈÍù϶Á£¬ÒÔºóÔÙ¿´Ò»±é£¬¿ÉÄÜ»á¾õµÃºÜ¼òµ¥¡£
ºÜ¶àÈËдÍøÕ¾ÓùßÁËIISºÍTomcatÕâЩ¸ß¼¶µÄºǫ́À´×öÍøÕ¾ºǫ́·þÎñ£¬È»¶ø£¬ÔÚÕâЩºǫ́»¹Ã»ÓÐÎÊÊÀ֮ǰ£¬ÈËÃÇÊÇÔõô±àдÍøÕ¾µÄÄØ£¿ËûÃǵײ㹲ͬ×ñÊصÄ×¼ÔòºÍ±ê×¼ÓÖÊÇʲôÄØ£¿
Õâ¾ÍÊÇhttpЭÒéºÍhtml¡¢js¡¢css±ê×¼¡£ÕâЩ¶¼Êǹú¼ÊͳһµÄ±ê×¼£¬ºÍ.net¡¢java¡¢phpÕâЩÓïÑÔÍêȫûÓйØϵµÄ¡£±ÈÀýÈçÏÂÃæÒ»¶Î´úÂ룺
<html>
<body>
<form runat="server" id="form1">
<%
string str_response="hello world";
........................................
Response.Write(str_response);
%>
<asp:Button ID="bn_1" runat="Server" Text="µã»÷"/>
</form>
</body>
</html>
³¤³¤µÄÒ»¶Î´úÂë×îÖջᱻ½âÎö³ÉÏÂÃæÕâÑù
<html>
<body>
<form id="form1" action="">
hello world
<input type="submit" value="µã»÷"  name="bn_1"/>
</form>
</body>
</html>
IIS°ïÖúÎÒÃÇ£¬½«<%%>ÀïÃæµÄÄÚÈÝת»¯³ÉÒªÊä³öµÄÄÚÈÝ£¬Í¬Ê±½«<asp:ÕâЩ±êÇ©£¬×ª»¯ÎªÏàÓ¦µÄ±êÇ©£¨ÕâÀïÊÇ<input>±êÇ©£©£¬ÕâЩÔÚhtmlÀïÃæÊǷDZê×¼µÄ±êÇ©£¬ÊôÓÚiis¹æ¶¨µÄ±êÇ©£¬iisÓÐÕâ¸öÔðÈÎÈ¥½«ÕâЩ±êǩת»¯Îª±ê×¼µÄ±êÇ©·µ»Ø¸ø¿Í»§¡£
ÉÏÃæÕâЩÊÇ»ù´¡£¬ÏàÐźܶà±àд¹ýÍøÕ¾µÄÈ˶¼ÖªµÀÊÇÔõôһ»ØÊ£¬ÏÂÃæ»Øµ½ÕýÌâ¡£
ÏÂÃæÕâ¶Î´úÂë¿ÉÄÜ´ó¼Ò¾ÍºÜÉÙ½Ó´¥ÁË£º
GET /siteserver/mypage.youlike?h_username=myname HTTP/1.1
Accept: */*
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152;
.NET CLR 3.5.30729)
Host: 127.0.0.1:45632
Content-Length: 93
Connection: Keep-Alive
Cache-Control: no-cache
ÆäʵÕâºÜ¼òµ¥£¬Õâ¾ÍÊÇ¿Í»§¶ËIE´ò¿ªÒ»¸öÍøÖ·http://127.0.0.1:45632/siteserver/mypage.youlike?h_username=myname£¬http://127.0.0.1:45632Õâ¸öÍøÕ¾µÄºǫ́ÊÕµ½µÄÈ«²¿Ð­Òé´úÂë¡£
ÕâЩ×Ö·û´®Óû»ÐзûÏà¸ô¡£
ÆäÖÐ127.0.0.1:45632ÊÇÒ»¸ö±ê×¼µÄÕ¾µãµÄµØÖ·£¬127.0.0.1ÊǣɣУ¬45632ÊÇ·þÎñ¶Ë¼àÌýµÄ¶Ë¿Ú¡£
User-Ag


Ïà¹ØÎĵµ£º

SQL SERVERÓëC#µÄÊý¾ÝÀàÐͶÔÓ¦±í


ÐòºÅ
Àà±ð
SQLServer
C Sharp
±¸×¢
1
ÕûÊý
bit
Boolean
Trueת»»Îª1Falseת»»Îª0
2
tinyint
Byte
C Sharp Êý¾ÝÀàÐͶ¼Î»ÓÚSystemÃüÃû¿Õ¼ä
3
smallint
Int16
4
int
Int32
5
bigint
Int64
6
smallmoney
Decimal
7
money
Decimal
8
numeric
Decimal
9
decimal
Decimal
10
¸¡µãÊý
float ......

CÓïÑÔÔ¤±àÒë³öÀ´ÃüÁî

Ò»¡¢ºê¶¨Òå(²»´ø²ÎÊýµÄºê¶¨Òå,´ø²ÎÊýµÄºê¶¨Òå)
1.±àÒëÔ¤´¦Àí¾ÍÊǶÔCÔ´³ÌÐò½øÐбàÒëÇ°,ÓÉ"±àÒëÔ¤´¦Àí³ÌÐò"¶ÔÔ¤´¦ÀíÃüÁîÐнøÐд¦ÀíµÄ¹ý³Ì¡£
2.CÓïÑÔÖÐ,·²ÊÇÒÔ"#"¿ªÍ·µÄÐÐ,¶¼³ÆΪ"±àÒëÔ¤´¦Àí"ÃüÁîÐС£
CÓïÑÔÖеıàÒëÔ¤´¦ÃüÁîÓÐ:#define,#undef,#include,#if,#else,#elif,#endif,#ifdef,#ifndef,#line,#pragma,#error¡£ÕâÐ©Ô ......

C/C++ÖеÄstatic

C++ÖеÄStaticÓÐÁ½¸ö×÷Óá£
1¡¢ ¾²Ì¬¾Ö²¿±äÁ¿ 
   ¾²Ì¬¾Ö²¿±äÁ¿ÔÚº¯ÊýÄÚ¶¨Òå ËüµÄÉú´æÆÚΪÕû¸öÔ´³ÌÐò£¬µ«ÊÇÆä×÷ÓÃÓòÔڸú¯ÊýÄÚ£¬Ö»ÄÜÔÚ¶¨Òå¸Ã±äÁ¿µÄº¯ÊýÄÚʹÓøñäÁ¿¡£ ÔÊÐí¶Ô¹¹ÔìÀྲ̬¾Ö²¿Á¿¸³³õÖµ£¬Èôδ¸³ÒÔ³õÖµ£¬ÔòÓÉϵͳ×Ô¶¯¸³ÒÔ0Öµ¡£ 
void fun1()
{
static int i = 0;
......

ÓÃC#²¥·ÅÒôƵºÍFlash

ÓÃC#²¥·ÅÒôƵºÍFlash
WinFormÖÐÈçºÎ²¥·ÅÉùÒôÓëFlash¶¯»­
×¢Ò⣺СÀ¨ºÅÄÚµÄÊÇ°´Å¥µÄÆäËü·­ÒëÃû³Æ£¬²»Í¬°æ±¾µÄÒëÃûÊÇÓÐÇø±ðµÄ¡£
Ò»¡¢ÔÚVC#²¥·ÅÉùÒô
    Ð½¨Ò»¸öVC#µÄWindows Form¹¤³Ì(WindowsÓ¦ÓóÌÐò)£¬²¢ÇÒ¶¨ÒåÁ½¸ö²Ëµ¥°´Å¥£¨menuItem1,menuItem2£©¡£
    Ñ¡Ôñ²Ëµ¥ÖеÄ&ldqu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ