asp.net ½«ÖÐÎÄ·Òë³ÉÆ´Òô£¨VS2008£©
3¸öÎļþ
code ÀàÎļþ
using System;
using System.Text;
namespace ConcreteMIS.Common.Chinese
{
/// <summary>
/// ºº×ÖÆ´ÒôÉùĸ¼ÆËãÀà
/// Write by WangZhenlong at 2003/11/29
/// </summary>
public class ChineseConvertor
{
private ChineseConvertor() { }
/// <summary>
/// »ñȡһ´®ºº×ֵį´ÒôÉùĸ
/// </summary>
/// <param name="chinese">Unicode¸ñʽµÄºº×Ö×Ö·û´®</param>
/// <returns>Æ´ÒôÉùĸ×Ö·û´®</returns>
/// <example>
/// “ÐÂÇÅÈí¼þ”ת»»Îª“xqrj”
/// </example>
public static String Convert(String chinese)
{
char[] buffer = new char[chinese.Length];
for (int i = 0; i < chinese.Length; i++)
{
buffer[i] = Convert(chinese[i]);
}
return new String(buffer);
}
/// <summary>
/// »ñȡһ¸öºº×ֵį´ÒôÉùĸ
 
Ïà¹ØÎĵµ£º
¿ªÔ´ÍøÒ³±à¼Èí¼þFCKEditorÔÚ09Äê·¢²¼¸üе½3.0£¬²¢¸ÄÃûΪCKEditor¡£¸Ä½øºóµÄckeditor¸ü¼ÓÄ£¿é»°£¬ÅäÖøü¼ÓÁé»î£¬ºÍÒÔǰµÄfckeditorʹÓ÷½Ê½ÉÏÒ²ÓÐËù²»Í¬¡£ÔÚÎÒµÄmvcÏîÄ¿ÖÐÓÉÓÚÒªÓõ½ ckeditor£¬ÌØÒâÑо¿ÁËÏÂËüµÄʹÓ÷½·¨£¬Ð´ÏÂÀ´ºÍ´ó¼Ò·ÖÏí¡£
ÎÒÓõÄÊÇ×îа汾µÄ£ºckeditor_3.0.1 ÏÂÔØµØÖ·£ºhttp://ckeditor.com/
......
×î½ü£¬Òª×öÒ»¸öµÇ½µÄÒ³Ãæ£¬¾ÍÏëµ½Á˰²È«ÐÔ·½ÃæµÄÎÊÌâ¡£¼ÇµÃÔø¾ÔÚÉÛÖ¾¶«ÀÏʦ½²µÄ¹ØÓÚasp.net°²È«ÐÔ·½ÃæµÄ¿Î³ÌÖУ¬Ìáµ½asp.netÌṩÁË4¸öÉí·ÝÑéÖ¤³ÌÐò£º1.±íµ¥Éí·ÝÑéÖ¤£»2.WindowsÉí·ÝÑéÖ¤£»3.PassportÉí·ÝÑéÖ¤£»4.ĬÈÏÉí·ÝÑéÖ¤¡£ÓÈÆä½²ÁË±íµ¥Éí·ÝÑéÖ¤£¬ÏëÏ룬ÕýºÃ×Ô¼ºÒÔǰҲ²»ÔøÊ¹ÓùýÕâ¸öÑ ......
Õ⼸ÌìÅöµ½¸öºÜÆæ¹ÖµÄÎÊÌ⣬ƽ³£ÔÚÏîÄ¿Öдӹ¤¾ßÏäÖУ¬°Ñ¿Ø¼þÍϵ½±à¼Çø£¬ÄÇÊÇÔÙ¼òµ¥ÈÝÒײ»¹ýÁË¡£
¿ÉÊǼ¸ÌìǰÅöµ½¾ÍÊÇ£¬ÎÞÂÛÄãÔõôÍÏ£¬¶¼ÎÞ·¨Íϵ½±à¼ÇøÖУ¬Çл»µ½Ô´Â룬ÔÙÍϵÄʱºòÊÇ¿ÉÒԵ쬲úÉúÁËHTML´úÂë
£¬ÔÙ½«ËüתÊÓͼµÄʱºò£¬·¢ÏÖÎÞ ·¨Õý³£ÏÔʾ¿Ø¼þ£¬£¬ËµÊÇÎÞ·¨ÕÒµ½¸ÃÒ³Ãæ¡£¡£¡£¡£¡£
н¨Á˼¸´ÎÒ²ÊDz»ÐУ¬ÒÔΪÊÇVS³ ......
ASP.NETÒ³Ãæ»º´æµÄ¼¸µãÌå»á
¾¡¹Ü±¾ÎĵÄ×÷ÕßдµÄºÜ¼òµ¥£¬µ«ÊÇÏàÐÅͨ¹ýÕâЩÎÄ×Ö£¬»¹ÊÇÄܶԴó¼ÒÁ˽âASP.NETÒ³Ãæ»º´æÓкܴóµÄ°ïÖú¡£
ǰ¼¸ÌìÓöµ½¸öÎÊÌ⣬°Ù˼²»µÃÆä½â¡£ºóÀ´²éÔÄÁËһЩ×ÊÁÏÐÄÀï²ÅÓÐÁ˵ã˼·¡£°Ñ×Ô¼ºÓöµ½µÄÎÊÌâ¼Ç¼ÏÂÀ´Ï£ÍûÄܸøÆäËûµÄÔ°ÓÑһЩ°ïÖú°É¡£
ÊÂÇéÊÇÕâÑùµÄ¡£ÎÒµÄÒ»¸öASP.NETÒ³ÃæÓÃwindow.openµ¼º½ºó ......
1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º
´«ËͲÎÊý£º
response.write("£¼script£¾window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')£¼/script£¾")
½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string b = Request.QueryString("id1");
2.Ϊ°´Å¥Ìí¼Ó¶Ô»°¿ò
Button1.Attributes.Add("o ......