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

´ÓÊý¾Ý¿âµ¼³öÊý¾Ýµ½word¡¢excel¡¢.txt _asp.net¼¼ÇÉ

 
ת×Ôhttp://martinyang2010.bokee.com/2598999.html
using System;
using System.Data;
using System.Drawing;
using System.Data.SqlClient;
using Excel;
using Word;
using System.IO;
namespace Common
{
/// <summary>
/// °ÑÊý¾Ýµ¼Èëµ½.doc¡¢.txt¡¢.xlsÎļþÖÐ
/// </summary>
public class Export
{
private const string DATAWORDPATH = @"C:\folder\doc\datadoc\";
private const string IMAGEWORDPATH = @"C:\folder\doc\imagedoc\";
private const string IMAGEPATH = @"C:\folder\image\";
private const string EXCELPATH = @"C:\folder\excel\";
private const string TXTPATH = @"C:\folder\txt\";
private const string IMAGEPOSTFIX = ".bmp";
private const string WORDPOSTFIX = ".doc";
private const string EXCELPOSTFIX = ".xls";
private const string TXTPOSTFIX = ".txt";
private const int DATADISTANCE = 5;
private const int TABDISTANCE = 8;
public Export()
{
   //
   // TODO: ÔÚ´Ë´¦Ìí¼Ó¹¹Ô캯ÊýÂß¼­
   //
}
/// <summary>
/// »ñµÃÊý¾Ý¼¯Dataset--------------------------------ÓÃÓÚµ÷ÊÔ
/// </summary>
/// <returns>Dataset</returns>
public DataSet GetData()
{
   try
   {
    string sConnectionString;
    sConnectionString = "workstation id=GUOFU;packet size=4096;user id=sa;data source=GUOFU;persist security info=True;initial catalog=YC;password=sc";
    SqlConnection objConn = new SqlConnection(sConnectionString);
    objConn.Open();                                           
    SqlDataAdapter daPoint = new SqlDataAdapter("Select * from Point", objConn);
    DataSet dsYC = new DataSet("YC");
    daPoint.FillSchema(dsYC,SchemaType.Mapped, "Point");
 &nb


Ïà¹ØÎĵµ£º

Asp.net"Ò³Ãæ¼ÓÔØÖÐ"Ч¹ûʵÏÖ(ת)

ÔÚÍøÉÏÕÒÁ˺ö࣬ʵÏÖ·½Ê½´ó¶àÊÇʹÓö¨Ê±Æ÷
¸öÈ˾õµÃ¶¨Ê±Æ÷»áÔì³ÉÒ»¶¨³Ì¶ÈÉϵļÙÏó
£¨È磺¶¨Ê±Æ÷»¹Ã»½áÊøÒ³ÃæÒѾ­¼ÓÔØÍê±Ï£¬»ò¶¨Ê±Æ÷½áÊøºóÒ³Ã滹û¼ÓÔØÍê³É£©
±¾·½·¨ÀûÓõÄÊÇjavascript£¬ÏÈÍøÒ³ÃæÀïÃæдÈëÒ»¸ö²ã£¬ÏÔʾ¼ÓÔØ¿ò£¬È»ºóµÈÒ³Ãæ½áÊøºó
ÔÚbodyµÄonloadÖÐдÈëʼþ£¬Òþ²Ø¸Ã¶Ô»°¿ò
·½·¨£¨ÎÒµÄϵͳÊǶà¸öÒ³Ã棬Ëù ......

asp.net »ñÈ¡IPµÄÏà¹Ø֪ʶ

ASP.net »ñµÃ¿Í»§¶ËµÄIP£¬×î³£¼ûµÄÊÇʹÓÃÏÂÊö´úÂ룺
string user_IP = System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
¶ÔÓÚÁ˽â´úÀí·þÎñÆ÷Çé¿öµÄÈË£¬ÎÒÃÇ»áÖªµÀ£¬Èç¹ûÓû§Ê¹ÓÃÁË´úÀí·þÎñÆ÷£¬ÉÏÊö´úÂë»ñµÃµÄÊÇ´úÀí·þÎñÆ÷µÄIPµØÖ·£»Èç¹ûÓû§Ê¹ÓÃÁ˶à¸ö´úÀí·þÎñÆ÷£¬ÔòÊǵ½´ï·þÎñÆ÷µÄ×îºóÒ»¸ö´úÀí· ......

ASP.NET»ù±¾·Ö²¼Ê½»º´æMemcached²âÊÔʵÀý

±¾ÎÄÊ×·¢£ºhttp://www.xueit.com/html/2009-11-12/21-932220455859.html
ÏÂÃæ²âÊÔÏ·ֲ¼Ê½»º´æMemcachedÈí¼þ£¬Ò»Ö±ÔÚѧϰ¹Ø×¢´ó·ÃÎÊÁ¿ÍøÕ¾µÄ»º´æÊÇÈçºÎʵÏÖ£¬Ö®Ç°¿´¹ýMemcachedµÄ×ÊÁÏ£¬Ã¦ÓÚûÓÐʱ¼äÀ´ÕæÕý²âÊÔһϣ¬±¾ÎIJâÊÔ·Ö²¼Ê½»º´æMemcachedµÄ»·¾³ÈçÏ£º£¨Á½Ì¨µçÄÔ×÷Ϊ·þÎñÆ÷£©
µÚһ̨£º
CPU:Inter£¨R£© Pentium£¨R£ ......

ÔÚASP.NetÖÐʵÏÖRSA¼ÓÃÜ


ÔÚASP.NetÖÐʵÏÖRSA¼ÓÃÜ
ÔÚÎÒÃÇʵ¼ÊÔËÓÃÖУ¬¼ÓÃÜÊDZ£Ö¤Êý¾Ý°²È«µÄÖØÒªÊֶΡ£ÒÔǰʹÓÃASPʱ£¬¶ÔÊý¾Ý¼ÓÃÜ¿ÉÒÔʹÓÃMD5ºÍSHA1Ëã·¨£¬ÕâÁ½ÖÖËã·¨ËäÈ»¿ì½ÝÓÐЧ£¬µ«ÊÇÎÞ·¨¶Ôͨ¹ýËüÃǼÓÃܵÄÃÜÎĽøÐз´ÔËË㣬¼´ÊǽâÃÜ¡£Òò´ËÐèÒª½âÃÜÊý¾ÝµÄ³¡ºÏ£¬ÕâÁ½ÖÖ·½·¨¾Í²»Ì«ÊʺÏÁË¡£µ±È»ÄãÒ²¿ÉÒÔ×Ô¼º±àдÊÊÓõļÓÃܺͽâÃܳÌÐò£¬²»¹ýÕâ¶Ô±àдÕß ......

ASP.NETÉú³ÉËæ»úÃÜÂë

ÔÚ¿ª·¢ÐèÒªÓû§×¢²áºó²ÅÄÜʹÓÃÌṩµÄ¸÷ÏÄܵÄÓ¦ÓóÌÐòʱ£¬ÔÚÐÂÓû§Ìá½»×¢²áÐÅÏ¢ºó£¬½Ï³£¼ûµÄ×ö·¨ÊÇÓɳÌÐòÉú³ÉËæ»úÃÜÂ룬Ȼºó·¢ËÍÃÜÂëµ½Óû§×¢²áʱÌîдµÄµç×ÓÐÅÏ䣬Óû§ÔÙÓÃÊÕµ½µÄÃÜÂëÀ´¼¤»îÆäÕÊ»§¡£
ʵÏÖASP.NETÉú³ÉËæ»úÃÜÂ빦ÄÜÊǺÜÈÝÒ׵ģ¬ÏÂÃæµÄ´úÂë¸ø³öÁËÍêÕûµÄʵÏÖ·½·¨£º
public static string MakePasswor(string ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ