C#´´½¨XML
1 using System;
2 using System.Collections;
3 using System.Configuration;
4 using System.Data;
5 using System.Linq;
6 using System.Web;
7 using System.Web.Security;
8 using System.Web.UI;
9 using System.Web.UI.HtmlControls;
10 using System.Web.UI.WebControls;
11 using System.Web.UI.WebControls.WebParts;
12 using System.Xml.Linq;
13 using System.Xml;
14
15 namespace WEB
16 {
17 public partial class test : System.Web.UI.Page
18 {
19 protected void Page_Load(object sender, EventArgs e)
20 {
21 XmlDocument doc = new XmlDocument();
22 XmlDeclaration dec = doc.CreateXmlDeclaration("1.0", "GB2312", null);
23 doc.AppendChild(dec);
24 //´´½¨Ò»¸ö¸ù½Úµã£¨Ò»¼¶£©
25 XmlElement root = doc.CreateElement("First");
26 doc.AppendChild(root);
27 //´´½¨½Úµã£¨¶þ¼¶£©
28 XmlNode node = doc.CreateElement("Seconde");
29 &n
Ïà¹ØÎĵµ£º
Ê×ÏȸÐлCSDNµÄÅóÓÑlaviewpbtΪÎÒ¸øÎҵĽ¨Òé¡£
laviewpbtÌá³öʹÓÃgetpixel´¦ÀíËÙ¶ÈÌ«Âý£¬Éϲ»Á˵µ´Î¡£
ÕâÀïÎÒÔÙ¸ø´ó¼ÒдÁ½ÖÖ´¦ÀíËٶȸü¿ìµÄͼÐδ¦Àí·½Ê½¡£
ÏÂÃæÊǸöÄÚ´æ²Ù×÷»Ò¶ÈµÄ³ÌÐò£º
bmp = new Bitmap(Application.StartupPath + "\\1.jpg");
  ......
http://blog.csdn.net/carl2380/archive/2009/11/18/4826973.aspx
¼ò½é:
±¾ÎÄ×ÅÖØ½²ÊöÁËÈç¹ûÓÃWM_COPYDATAÏûÏ¢À´ÊµÏÖÁ½¸ö½ø³ÌÖ®¼ä´«µÝÊý¾Ý.
½ø³ÌÖ®¼äͨѶµÄ¼¸ÖÖ·½·¨:
ÔÚWindows³ÌÐòÖУ¬¸÷¸ö½ø³ÌÖ®¼ä³£³£ÐèÒª½»»»Êý¾Ý£¬½øÐÐÊý¾ÝͨѶ¡£³£Óõķ½·¨ÓÐ
ʹÓÃÄÚ´æÓ³ÉäÎļþ
ͨ¹ý¹²ÏíÄÚ´æDLL¹²ÏíÄÚ´æ
ʹ ......
public void ExportControl(System.Web.UI.Control source, string DocumentType, string filename)
{
//ÉèÖÃHttpµÄÍ·ÐÅÏ¢,±àÂë¸ñʽ
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.ClearContent();
......
Ê×ÏÈдһ¸öÒ³Ãæ£¬ÉÏÃæÒª·ÅÒ»¸öButton
<html>
<head>
<title></title>
</head>
<body>
<input id="Button1" type="button" value="button" />
</body>
</html>
½«Æä±£´ ......
±¾ÎĽ«½éÉÜC#ÏîÄ¿´ò°üÒÔ¼°×Ô¶¯°²×°SQL SeverÊý¾Ý¿â£¬°üÀ¨´´½¨²¿ÊðÏîÄ¿¡¢½«Ö÷³ÌÐòÏîÄ¿µÄÊä³öÌí¼Óµ½²¿ÊðÏîÄ¿ÖС¢´´½¨°²×°³ÌÐòÀà¡¢´´½¨×Ô¶¨Òå°²×°¶Ô»°¿òµÈµÈ¡£
’power by: landlordh
’for 2000,xp,2003
Module uninstall
Sub Main ......