Asp.Net Web Form µ÷ÓÃReporting Service
1¡¢aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TransferMoney.aspx.cs" Inherits="BtmsWebApp.report.TransferMoney" MasterPageFile="~/ReportPage.master" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
ÅúÁ¿½»Ò×ÐÅÏ¢±¨±í
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script>
function show() {
var s = document.getElementsByTagName("input");
var test = /^\d{4}-\d{2}-\d{2}$/;
for (var i = 0; i < s.length; i++) {
if ((s[i].name.indexOf("BEGINDATE") != -1) || (s[i].name.indexOf("ENDDATE") != -1)) {
if (!test.test(s[i].value)) {
alert("ÈÕÆÚ²»ÄÜΪ¿Õ");
return false;
}
}
}
&n
Ïà¹ØÎĵµ£º
ÔÚ½ñÌ죬MVC(Model-View-Controller)Éè¼ÆģʽÓë²âÊÔÇý¶¯¿ª·¢·½·¨(Test-Driven Development ¼ò³ÆTDD)±»¹ã·ºÓ¦ÓÃÓÚÆóÒµ¼¶WEBÓ¦ÓõĿª·¢ÖС£MVCÉè¼ÆģʽǿÖÆÎÒÃǽ«Ó¦Ó÷ֽâ³ÉÈý¸ö²¿·Ö£ºÄ£ÐÍ(Model)¸ºÔðÒµÎñÊý¾ÝµÄ´æ´¢¼°¹ÜÀí£¬ÊÓͼ(View)¸ºÔð³ÊÏÖÊý¾Ý£¬²¢ÎªÓû§ÌṩÓëϵͳ½»»¥µÄ½çÃæ½Ó¿Ú£¬¶ø¿ØÖÆÆ÷(Controller)Ôò¸ºÔð½«Óû§¶¯×÷ ......
ͨ³£ÎÒÃǶ¼Í¨¹ýÏÂÃæµÄ´úÂë»ñµÃIP:
string ip =System.Web.HttpContext.Current.Request.UserHostAddress;
»ò string ip =System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
REMOTE_ADDR ˵Ã÷£º
·ÃÎÊ¿Í»§¶ËµÄ IP µØÖ·¡£
´ËÏîÐÅÏ¢Óû§²»¿ÉÒÔÐ޸ġ£
Èç¹ûÕæµÄ ......
ÔÚÒ³ÃæÖмÓÈëÒ»¸öͼƬ¿Ø¼þ£¬²¢½«ËüµÄStyleÊôÐÔÉèΪ£ºFILTER: chroma(color:#000000) £¬ÔÒòÊÇ×Ô¶¯Éú³ÉµÄGIFͼƬ×ÜÊǺÚÉ«±³¾°¡£È»ºóÔÚºǫ́´úÂëÖÐдÈëÈçÏ´úÂë¡£(¼ûDEMO)
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using Sy ......
ÏîÄ¿Öо³£»áÓõ½°ÑexcelµÄÎļþÄÚÈݵ¼Èëµ½Êý¾Ý¿âÖеÄ,¸Õ¸Õ»¨Á˵ãʱ¼ä,×öÁ˸öÀý×Ó,»ù±¾ÉÏÄÜʵÏÖµ¼ÈëExcelºóÏÔʾµÄ¹¦ÄÜ°É,µ¼ÈëµÄexcelÎļþµÃÊÇxls,¼´ÊÇ2003µÄ.
´úÂë˼·ÈçÏÂ:Òª¶ÁÈ¡µÄexcelÎļþ±ØµÃµÃÊÇÔÚ±¾µØÓ²ÅÌ,ËùÒÔÒ»°ãÀ´Ëµ¶¼ÊÇÈÃÔ¶³ÌÓû§Ñ¡Ôñ×Ô¼ºÓ²ÅÌÉϵÄExcelÎļþ,È»ºó°ÑÓû§Ñ¡ÔñµÄÎļþÉÏ´«µ½±¾µØ· ......