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

Asp.net »­Í¼(ÌõÐÎͼ¡¢ÕÛÏßͼ¡¢±ýͼ)

ÌõÐÎͼºÍ±ýͼÊǶ¼Òªµ÷ÓÃÊý¾Ý¿â ¶øÕÛÏßͼÔòÊÇÖ±½ÓÏÔʾ²»Óõ÷ÓÃÊý¾Ý¿â
´ò¿ªvs ¹¤¾ß ·Ö±ð´´½¨ÈýÖÐͼÐεÄÀà £¨BarChart¡¢PieChart¡¢zexian£©ChartUtilÀà¿ØÖÆÑÕÉ«
ÔÙ½¨Ò»¸öaspx ÎļþÔÚºóÖÃÎļþÖе÷ÓÃÕâ¸ö¼¸¸öÀàÖеķ½·¨ ±¾ÎÄÕÂÖÐÓе÷ÓÃ
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;//ÓÃÓÚÊý¾Ý·ÃÎÊ
using System.Drawing;//Ìṩ»­GDI+ͼÐεĻù±¾¹¦ÄÜ
using System.Drawing.Text;//Ìṩ»­GDI+ͼÐεĸ߼¶¹¦ÄÜ
using System.Drawing.Drawing2D;//Ìṩ»­¸ß¼¶¶þά£¬Ê¸Á¿Í¼Ðι¦ÄÜ
using System.Drawing.Imaging;
using System.IO;//Ìṩ»­GDI+ͼÐεĸ߼¶¹¦ÄÜ
namespace Insight_cs.WebCharts
{
    public class BarChart
    {
        public BarChart()
        {
        }
        public void Render(string title, string subTitle, int width, int height, DataSet chartData, Stream target)
        {
            const int SIDE_LENGTH = 400;
            const int CHART_TOP = 75;
            const int CHART_HEIGHT = 200;
            const int CHART_LEFT = 50;
            const int CHART_WIDTH = 300;
            DataTable dt = chartData.Tables[0];
            //¼ÆËã×î¸ßµÄµã
            float highPoint = 0; //yÖá×î¸ßµã
            foreach (DataRow dr in dt.Rows)
            {
    


Ïà¹ØÎĵµ£º

ʹÓÃasp.net 2.0ÖеÄSqlBulkCopyÀàÅúÁ¿¸´ÖÆÊý¾Ý

ÔÚÈí¼þ¿ª·¢ÖУ¬°ÑÊý¾Ý´ÓÒ»¸öµØ·½¸´ÖƵ½ÁíÒ»¸öµØ·½ÊÇÒ»¸öÆÕ±éµÄÓ¦Óá£
Ôںܶ಻ͬµÄ³¡ºÏ¶¼»áÖ´ÐÐÕâ¸ö²Ù×÷£¬°üÀ¨¾Éϵͳµ½ÐÂϵͳµÄÒÆÖ²£¬´Ó²»Í¬µÄÊý¾Ý¿â±¸·ÝÊý¾ÝºÍÊÕ¼¯Êý¾Ý¡£ ASP.NET
2.0ÓÐÒ»¸öSqlBulkCopyÀ࣬Ëü¿ÉÒÔ°ïÖúÄã´Ó²»Í¬µÄÊý¾ÝÔ´¸´ÖÆÊý¾Ýµ½SQL SERVERÊý¾Ý¿â¡£
±¾ÎÄÖÐÎÒ½«Ê¾·¶SqlBulkCopyÀàµÄ²»Í¬Ó¦Óá£
Êý¾Ý¿âÉè ......

Asp.net ¶ÁÈ¡EXCEL2007/2003 Êý¾Ý

Public DataTable GetDataTablefromExcel(string fileName,string tableName )
{
string connStr = "Provider=Microsoft.ACE.OLEDB.12.0; Persist Security Info=False;Extended Properties=Excel 8.0; data source=Îļþ·¾¶" 
string sql = "SELECT * from [" + tableName + "]";
OleDbConnection conn = ne ......

asp.net 1.1 °²×°ÊÖ²á


 
ÏÈÉý¼¶ieµ½5.5°æÒÔÉÏ
1 ÏÂÔØÖÐÎİæIE6:http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/CN/ie6setup.exe
2 ÏÂÔØmdac°²×° Ö±½ÓÏÂÔØ2.8ÖÐÎİæ:http://download.microsoft.com/download/8/b/6/8b6198c0-fe96-4811-9d81-
d5c76dd5fea8/MDAC_TYP.EXE
3 È»ºóÏÂÔØ.NET Framework 1.1°æ¿ÉÔ ......

ASP.NETÖÐtreeviewÓ¦Óã¨ÓÃSQL×÷Êý¾ÝÔ´£©


treeview.aspxÖдúÂëÈçÏ£º
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="treeview.aspx.cs" Inherits="treeview" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999 ......

ASP.Net 1.1 ÈçºÎ·¢ËÍ´øÓи½¼þµÄÓʼþ

    Private Sub SendEmail()
        Dim email As System.Web.Mail.MailMessage = New Mail.MailMessage
        Dim emailsmtp As System.Web.Mail.SmtpMail
        Dim emailattch As S ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ