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

C#Éú³Écom×é¼þ£¬¹©aspµ÷ÓÃ

C#Éú³Écom×é¼þ£¬¹©aspµ÷ÓÃ
Ò»¡¢vs2005—н¨ÏîÄ¿—C#Àà¿â
Àà¿âÔ´ÂëÈçÏÂ(°üº¬½Ó¿Ú£¬À࣬ʼþ½Ó¿Ú)£º
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Data.SqlClient;
using System.Runtime.InteropServices;
namespace entryclass
{
    //GuidÖµµÄ²úÉú£ºProgram FilesMicrosoft Visual Studio 8Common7Toolsguidgen.exe£¬ÔËÐÐËü£¬Ñ¡Öе¥Ñ¡4£¬µã“New Guid”£¬µã“Copy”£¬½øÈëÀà¿â£¬Õ³Ìù¼´¿É
   //Àà½Ó¿Ú
    [Guid("F2257E71-ECC9-47ef-A065-F5B530F24B07")]       
    public interface ini_mng_Interface       
    {
        [DispId(1)]              //¹Ì¶¨Ð´·¨£¬Ë÷ÒýºÅ´Ó1¿ªÊ¼
        string ini_dme(string entryuser, string entrypass, string agentname, string agentpass, string constr);
        [DispId(2)]   
        string ini_svr(string entryuser, string entrypass, string agentname, string agentpass, string constr);
    }
    // ʼþ½Ó¿Ú
    [Guid("45875EE5-5C8D-4016-897A-FCC7DD5A6834"),             //¹Ì¶¨Ð´·¨
    InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    public interface ini_mng_Events
    {
    }
    //Àà
    [Guid("8EDFA9EA-9589-4157-AEEF-AB4861EFE5D6"),                 //¹Ì¶¨Ð´·¨
    ClassInterface(ClassInterfaceType.None),
    ComSourceInterfaces(typeof(hst_odr_Events))]
    public class ini_mng : ini_mn


Ïà¹ØÎĵµ£º

VB.NET/C# and JavaScript communication

Introduction
This article is about passing data between VB.NET/C# WinForms and JavaScript.
Before reading further, let me warn you that this article is not about ASP.NET. Concepts covered in the article are applied to Desktop applications.
Background
I was working on a project which required dat ......

C#¶ÁÈ¡º¬ÓÐxmlnsµÄXMLÎļþ

1 ÀàËÆxmlns=""µÄÎļþ
ʾÀýXMLÎļþ:
 <?xml version="1.0" encoding="UTF-8"?>
<WebSrvMessage xmlns="http://www.lenoval.com/">
  <version>1.0</version>
  <DataContent>
    <DateTag>2010-5-17</DateTag>
  </DataCont ......

asp/asp.netÁ¬½Ósql anywhereÊý¾Ý¿â


<%
set conn= server.createobject("ADODB.connection")
conn.open "driver={sybase driver 10};"
"srvr=SYBASE;"
"UID=sa;"
"pwd=sybase;"
sql="select no from tab_st ......

windows server 2008 ÈÃIIS7Ö§³ÖASP Access


1. ÈÃIIS7Ö§³ÖASP
Windows VistaÖÐIIS7ÊÇĬÈϲ»°²×°µÄ£¬ËùÒÔÔÚ°²×°ÍêWindows VistaÖ®ºóÈç¹ûÐèÒª°²×°IIS7µÄ»°£¬¾ÍÒª×Ô¼º¶¯ÊÖÁË¡£°²×°µÄ²½ÖèΪ£º¿ªÊ¼¡·¿ØÖÆÃæ°å¡·³ÌÐò¡·´ò¿ª»ò¹Ø±ÕWindows¹¦ÄÜ¡·InternetÐÅÏ¢·þ Îñ(ÒÔǰ²Ù×÷ϵͳ°æ±¾ÀïÃæµÄ"Windows components” ÔÚVistaÀïÃæ½Ð×ö"Programs and Features")¡£IIS7°²×°Ê±Ð ......

asp ÖÐ midº¯ÊýµÄÓ÷¨


´Ó×Ö·û´®Öзµ»ØÖ¸¶¨ÊýÄ¿µÄ×Ö·û¡£
Mid(string, start, length)
²ÎÊý
string
×Ö·û´®±í´ïʽ£¬´ÓÖзµ»Ø×Ö·û¡£Èç¹û string °üº¬ Null£¬Ôò·µ»Ø Null¡£
Start
string Öб»ÌáÈ¡µÄ×Ö·û²¿·ÖµÄ¿ªÊ¼Î»Öá£Èç¹û start ³¬¹ýÁË string ÖÐ×Ö·ûµÄÊýÄ¿£¬Mid ½«·µ»ØÁ㳤¶È×Ö·û´® ("")¡£
Length
Òª·µ»ØµÄ×Ö·ûÊý¡£Èç¹ûÊ¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ