asp Ê÷£¬c# ²éÕÒ Ö¸¶¨½Úµã
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
namespace WA.IBMS.FindTreeNode //lxh 2008-9-16
{
/// <summary>
///SelectTreeNode µÄժҪ˵Ã÷
/// </summary>
public class SelectTreeNode
{
public SelectTreeNode()
{
//
//TODO: ÔÚ´Ë´¦Ìí¼Ó¹¹Ô캯ÊýÂß¼
//
}
/// <summary>
/// ²éÕÒÖ¸¶¨½Úµã
/// </summary>
/// <param name="tnParent">½Úµã</param>
/// <param name="strValue">Öµ</param>
/// <returns></returns>
public TreeNode Find_Node(TreeNode tnParent, string strValue)
{
TreeNode treeNode2 = new TreeNode();
string venueCode = "";
if (tnParent == null) return null;
if (tnParent.Value == strValue) return tnParent;
&
Ïà¹ØÎĵµ£º
ÏÂÃæÊÇcommond:
MySQLCommand cmd;
cmd = new MySQLDriverCS.MySQLCommand("DROP TABLE IF EXISTS test.mysqldrivercs_test",conn);
cmd.ExecuteNonQuery();
cmd.Dispose();
ÏÂÃæÊÇinsert:
string Value = "Value";
int SettingID = 1;
new MySQLInsertCommand(conn,
new object[,] {{"SettingID",SettingID},{"S ......
¼´Ê¹ÎÒ½«Êý¾Ý¿â·ÅÔÚÏîÄ¿ÄÚ½¨µÄÎļþ¼ÐdbÏ£¬¿ÉÊǽøÐд洢²Ù×÷µÄʱºò£¬Êý¾Ý±íûÓÐÈκα仯¡£ºóÀ´·¢ÏÖ´¢´æ¸Ä±ä·¢ÉúÔÚbin\\debug\\dbĿ¼ÏµÄÊý¾Ý¿âÖУ¬Õâ¸öÊý¾Ý¿âÊÇÔÚ³ÌÐòÔËÐÐʱ×Ô¶¯¸´ÖƹýÈ¥µÄ£¬¿ÉÊÇΪʲô´æ´¢±ä»¯Ã»Óз´Ó¦µ½ÍâÃæÏîÄ¿ÄÚµÄÊý¾Ý¿âdbÏÂÄØ£¿ÎÒÏëÁ¬½Ó×Ö·û´®ÖÐdatasourceÖеÄdatadirectory´æÔÚһЩÐþ»ú£¬ÓÚÊÇÎÒÕÒµ½Ò ......
Ò»¡¢ÐÞ¸ÄIISÉèÖã¬ÔÊÐíÖ±½Ó±à¼ÅäÖÃÊý¾Ý¿â
¶þ¡¢ÏÈÔÚ·þÎñÀï¹Ø±Õiis admin service·þÎñ
ÕÒµ½windows\system32\inetsrv\ϵÄmetabase.xml,
´ò¿ª£¬ÕÒµ½ASPMaxRequestEntityAllowed °ÑËûÐÞ¸ÄΪÐèÒªµÄÖµ£¬Ä¬ÈÏΪ204800£¬¼´200K °ÑËüÐÞ¸ÄΪÄãËùÐèµÄ´óС¼´¿É¡£È磺512000£¨500k£©
È»ºóÖØÆôiis admin service·þÎñ¡£ ......
COM½Ó¿ÚVCʵÏÖ,½Ó¿Ú:
[id(1), helpstring("method Test")] HRESULT Test([in] BSTR strInputA, [in] BSTR strInputB, [out,retval] VARIANT* result);
ASPµ÷Óãº
Set objCompInfo =server.CreateObject("×é¼þÔÚϵͳÖеÄÃû×Ö")
  ......
aspxÒ³:
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" CssClass="b">
<asp:ListItem Value="5">5 per page</asp:ListItem ......