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

asp.net½ØÈ¡×Ö·û´®

ÈçÏÂÃæµÄ×Ö·û´®:
abc-bdef-axdg,ÎÒÖ»ÏëÈ¡µ½µÚÒ»¸ö"-"µÄλÖ㬸ÃÔõôд£¿£¿£¿£¿

C# code:
string str = "abc-bdef-axdg";
Console.WriteLine(str.Substring(0, str.IndexOf("-")));


½á¹û-->>>abc

C# code:
String.IndexOf


static void Main(string[] args)
  {

  string str = "abc-bdef-axdg";
  Console.WriteLine(str.IndexOf('-'));
  Console.ReadLine();

  }

C# code:
"abc-bdef-axdg".IndexOf("-")


ͬÒâ樓ÉϵÄ說·¨£¡

SubStringºÍString.IndexOf

ÒýÓÃ
C# codestring str="abc-bdef-axdg";
Console.WriteLine(str.Substring(0, str.IndexOf("-")));
½á¹û-->>>abc

ding

String.IndexOf

string.Indexof

»Ø¸´Õâô¿ì£¬Ö»ÄÜÖ§³ÖÁË


Ïà¹ØÎÊ´ð£º

ÇëÎÊASP.NETÖÐdllÔõôÐ޸ģ¿


 °ÑÒµÎñ²ãµÄ¶¼Ð´ÔÚdllÎļþÖÐÁË£¬ÏÖÔÚÏëÒªÐ޸ģ¬´ó¼Ò¶¼ÓÃʲô¹¤¾ß´ò¿ª£¿
 ÓÃvisual studio×Ô´øµÄ ildasm¿ÉÒÔÂð£¿
ÆÚ´ý¸ßÊÖ

LZºÃÀ÷º¦

Ó÷´±àÒëÈí¼þ

ÎÒÓÃReflectorÖ»ÄÜ¿´£¬²»Äܸİ¡£¿

ÓÐÃ ......

asp.netºǫ́µ÷ÓÃjs·½·¨ - .NET¼¼Êõ / ASP.NET

<script type="text/javascript" src="js/Dialog.js"></script>
<script type="text/javascript">
  function zOpenD()
  {
  va ......

ºǫ́µ÷ÓÃJavaScriptÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÔÚºǫ́µ÷ÓÃJavaScriptµÄʱºò£¬ËûÊÇÔÚºǫ́°ÑʼþµÄ´úÂëÖ´ÐÐÒ»´ÎºóÔÚÖ´ÐÐJavaScript·½·¨
 ÓÐʲô°ì·¨ ÔÚÖ´ÐÐJavaScript·½·¨µÄʱºòͣס£¬ÔÚÖ´ÐкóÃæµÄ´úÂë
²»Ì«Ã÷°×°¡£¬ËµÇå³þµã°É

¾ÍÊÇÖ´Ðкǫ́´úÂëµÄʱºò ......

ASP.NET skinºÍcssµÄÇø±ð

Ƥ·ôºÍÑùʽ±í¶¼¿ÉÒÔÉèÖÿؼþµÄÍâ¹Û£¬¾ßÌåÓÐʲôÇø±ðÄØ£¿
skin ÊÇasp.net ÌåϵµÄ ¾ÍÏ൱ÓÚ<asp:TextBox> ¶ÔÓ¦ÓÚ<input type="text">

Äã°ÑƤ·ôµ±³ÉÒ·þ£¬°ÑÑùʽ±íµ±³É»¯×±Æ·¾ÍÈÝÒ×Àí½âÁË
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ