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

asp.net c# ·þÎñÆ÷¶Ë¸÷°ó¶¨¿Ø¼þ³£ÓÃ

asp.netÓÐʱºò³£³£Ó÷þÎñÆ÷°ó¶¨¿Ø¼þÓÐЩÂé·³...
´úÂëÓÐЩÔÓ....
using System;
using System.Web.UI.WebControls;
using System.Data;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using System.Web;
using System.Text;
namespace pub.mo
{
public class bind
{
private bind() { }
#region Bind Repeater
public static void repeater(string sql, Repeater dl)
{
using (IDataReader dr = dbhelp.read(sql))
{
repeater(dr, dl);
}
}
/// <summary>
/// ·ÖÒ³°ó¶¨
/// </summary>
/// <param name="fd">dd</param>
/// <param name="um"></param>
/// <param name="dl"></param>
/// <returns></returns>
public static fy repeater(fy_date fd, url_manager um, Repeater dl)
{
fy f = new fy(fd, um);
f.suger_page_load();
repeater(f.fd.records, dl);
return f;
}
public static void repeater(IDataReader dr, Repeater dl)
{
dl.DataSource = dr;
dl.DataBind();
dr.Close();
}
public static void repeater(DataTable dt, Repeater dl)
{
if (dt != null)
{
dl.DataSource = dt;
dl.DataBind();
dt.Clear();
dt.Dispose();
}
}
public static void repeater(DataTable dt, Repeater dl, bool pB)
{
if (dt != null)
{
dl.DataSource = dt;
dl.DataBind();
if (pB)
{
dt.Clear();
dt.Dispose();
}
}
}
public static void repeater(DataRow[] drw, Repeater dl)
{
if (drw != null)
{


Ïà¹ØÎĵµ£º

ASP.NET³£Óú¯Êý±í


Abs(number) È¡µÃÊýÖµµÄ¾ø¶ÔÖµ¡£
Asc(String) È¡µÃ×Ö·û´®±í´ïʽµÄµÚÒ»¸ö×Ö·ûASCII Âë¡£
Atn(number) È¡µÃÒ»¸ö½Ç¶ÈµÄ·´ÕýÇÐÖµ¡£
CallByName (object, procname, usecalltype,[args()]) Ö´ÐÐÒ»¸ö¶ÔÏóµÄ·½·¨¡¢É趨»ò´«»Ø¶ÔÏóµÄÊôÐÔ¡£
CBool(expression) ת»»±í´ïʽΪBoolean ÐÍ̬¡£
CByte(expression) ת»»±í´ïʽΠ......

ASP.NETÖзÀÖ¹Ò³Ãæ¶à´ÎÌá½»µÄ´úÂëʵÏÖ

´Ë´¦ÌṩµÄ´úÂëÓÃÀ´ÊµÏÖµ±asp.netÒ³ÃæÖеÄij¸öButton±»µã»÷ºódisableµô¸ÃÒ³ÃæÖÐËùÓеÄButton£¬´Ó¶ø·ÀÖ¹Ìá½»ÑÓʱµ¼ÖµĶà´ÎÌá½»¡£»ùÓÚ֮ǰµÄonceclickbutton½Å±¾.
//ASP.NETÖзÀÖ¹Ò³Ãæ¶à´ÎÌá½»µÄ´úÂë:javascript< script language="javascript"> < !-- function disableOtherSubmit()
{
   var obj ......

ASP.NETÎļþºó׺Ãû

ÒÔÇ°·¢¹ýÒ»¸ö.NETÉÏ´«ÎļþµÄ·½·¨µÄ£¬²»¹ýÄǸö·½·¨ÖжÔÎļþÀàÐ͵ÄÅжÏÖ»ÊǶԺó׺ÃûÀ´½øÐÐÅжϵģ¬ÕâÑù¼ÙÈçÎÒ°ÑÒ»¸ötxtÎı¾ÎļþµÄºó׺Ãû¸ÄΪjpgÁËÒ²¿ÉÒÔÉÏ´«£¬ÕâÑùÎÞÒâÖоÍÔì³ÉÁË°²È«ÎÊÌâ¡£
¸Õ¸Õ´ÓÍøÉÏÕÒÁ˸ö·½·¨£¬ÊÔÑéÁËһϣ¬ÊÇÄܹ»±æÈϳöÕýÈ·µÄÎļþÀàÐ͵ģ¬ÈçÏ£º
using System;
using System.Collections.Generic; ......

C#µ÷ÓÃC DLL

ÔÚºÏ×÷¿ª·¢Ê±£¬C#ʱ³£ÐèÒªµ÷ÓÃC++DLL£¬µ±´«µÝ²ÎÊýʱʱ³£Óöµ½ÎÊÌ⣬ÓÈÆäÊÇ´«µÝºÍ·µ»Ø×Ö·û´®ÊÇ£¬ÏÖ×ܽáһϣ¬·ÖÏí¸ø´ó¼Ò£º
VC++ÖÐÖ÷Òª×Ö·û´®ÀàÐÍΪ£ºLPSTR,LPCSTR, LPCTSTR, string, CString, LPCWSTR, LPWSTRµÈ
µ«×ªÎªC#ÀàÐÍÈ´²»ÍêÈ«Ïàͬ¡£
Ö÷ÒªÓÐÈçϼ¸ÖÖת»»£º
½«stringתΪIntPtr£ºIntPtr System.Runtime.InteropServ ......

asp.net c# request³£ÓÃ

using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
namespace pub.mo
{
public class request
{
private request() { }
/// <summary>
/// »ñÈ¡session
/// </summary>
/// <param name="_session_name" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ