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

c# µ¼³ö´¿Õæip¿âµ½sqlserver

ÎÒÏë°Ñ´¿Õæip¿âµ¼³öµ½sqlserver£¬ÎÒÓÃϱߵĽéÉÜ·½·¨£¬£¨ËüÖ÷ÒªÊǵ¥¸öIP²éѯµÄ£©
http://www.cnblogs.com/njnudt/archive/2007/04/08/704524.html
¸ÄÁËÒ»ÏÂÄܹ»µÃµ½ËùÓеĹú¼ÒºÍµØÇøÐÅÏ¢£¬µ«ÊDz»Äܵõ½ipµØÖ·µÄÐÅÏ¢
ÎÒ¶Ô¶þ½øÖƲÙ×÷²»ÊǺÜÊìϤ


ÕâÊÇÎҵķ½·¨
C# code:
public List<string> getlist()
{
List<string> tlist = new List<string>();
for (uint i = 0; i < Index_Count; i++)
{
tlist.Add(ReadAddressInfoAtOffset(IndexInfoAtPos(i).Offset));
}
return tlist;
}


Îҵõ½µÄ½á¹ûÀàÐÍÊÇ
ÃÀ¹ú ÐÂÔóÎ÷ÖÝÁ¢´óѧ

×îÖÕÏëÒªµÄ½á¹ûÀàÐÍÊÇ
4.10.0.0        4.10.255.255    ÃÀ¹ú ÐÂÔóÎ÷ÖÝÁ¢´óѧ

ÏÈллÁË

ʯ³Á´óº£

//Çø¼äÍ·
Search_Set = IndexInfoAtPos(Search_Index_Set);
//Çø¼äβ
Search_End = IndexInfoAtPos(Search_Index_End);
¿´¿´ÕâÁ½¸öÖµ

´¿Õæip¿â ËüûÓд洢IPµØÖ·×Ö·û´®£¬
Ò²²»ÊÇÒ»ÌõÌõ¡°IP¡¢¹ú¼Ò¡¢µØÇø¡± ÕâÑùµÄÐÅÏ¢¡£
ËüIPÊÇÓÃUInt32 À´±íʾµÄ¡£

ÄãÒª°ÑÕâ¸öUInt32±íʾµÄIP£¬×ª³É"0.0.0.0"ÐÎʽ¡£

ÆäÖÐIndexInfoAtPos(i).Offset¾ÍÊÇÕâ¸öUInt32°É¡£¡£

ûÓÐ×ÐϸÑо¿¹ýÕâ¸ö¿â

¸ù¾ÝÍøÉϵĽéÉÜ£¬ËûµÄÅÅÁÐÊÇ[ip][¹ú¼Ò][µØÇø]
[ip]ÊÇ7¸ö×Ö½Ú 4½


Ïà¹ØÎÊ´ð£º

c# ÓÐûÓÐÓÃÓÚC/SµÄ htmlÎı¾±à¼­Æ÷

c# ÓÐûÓÐÓÃÓÚC/SµÄ htmlÎı¾±à¼­Æ÷

¾ÍÏñweb½çÃæµÄÎı¾ÄÚÈݱ༭Æ÷


up

C/S»¹Òª±àÒëÆ÷¸ÉÂï°¡
ÓÖ²»ÓÿØÖÆÑùʽ
òËÆûÓаɠ Èç¹ûÓÐÁË֪ͨÏÂÎÒ  ÎÒÒ²Òªliujintaohfbb@163.comÎÒµÄÓÊÏä ......

C#asp.netÉú³É ExcelµÄÎÊÌâ

ÍøÉÏ¿´Á˺ܶ࣬ºÃÏñÕâÑùµ÷ÓúܺãºExcel.Application();
µ«ÊÇÐèÒªÒýÈëʲôÃüÃû¿Õ¼ä»òÕßdll²ÅÄÜÔËÐÐExcelÕâ¸öÀàÄØ£¿

Excel.dll

Excel.dllÔÚExcel°²×°³ÌÐòÏ£¬
using Microsoft.Office.Interop.Excel;
......

Çó Ò»¸öasp.net(C#£© °æµÄ ÌÔ¿Í ³ÌÐò

¡¾¼±¡¿Çó Ò»¸öasp.net(C#£© °æµÄ ÌÔ¿Í Ô´´úÂë £¬²»ÖªµÀÄÄÀïÓÐÏÂÔصģ¬ÔÚÍøÉÏÕÒÁËÒ»ÏÂÈ«ÊÇasp\phpµÄÔ´Âë¡£
ÏëÇó¸öC#°æµÄ ¡£
¿ÉÒÔ ·¢¸öÁ´½Ó¡¢»ò·¢µ½ÎÒÓÊÏ䣬 лл£¡£¡
ÎÒµÄ ÓÊÏ䣺 claymore1114@163.com
¶¥Ò ......

c#Á¬½Óaccess ÎÊÌâ

C# code:
OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data source=orders.mdb;User Id=admin;Jet OLEDB:Database Password=hhh");
conn. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ