- 浏览: 57108 次
- 性别:
- 来自: 深圳
最新评论
-
liuway:
[color=red][/color]
Flex调用WebServices
文章列表
js 弹出一次窗口
- 博客分类:
- javascript
var open=document.cookie; var date=new Date(); if (open.indexOf("open")<0) { window.open("ah.aspx"); document.cookie="open=true;expires="+date.setTime(date.getTime()+24*3600*1000).toGMTString()+";path=/"; }
加入"path=/",没有加入这个的话.net读取不到..花了很长时间才发现是这个问题
public string ipChange(uint ip)
{
string result="";
uint temp;
for (int i = 3; i >= 0; i--)
{
temp = ip>> (8 * i);
// ip -= temp << (8 * i);
...
- 2009-11-23 21:00
- 浏览 659
- 评论(0)
Page_IsValid 检验页面中的所有输入是否都合法,返回布尔值
Page_Validators 当前页面中所有验证控件所形成的一个数组
Page_ValidationActive 为一个布尔值,表明是否执行验证功能,设置为false则关闭验证功能。
Isvalid 该属性验证客户端的输入是否合法
ValidatorEnable(val, enable) 该方法将某个验证控件作为传递参数,启动或禁止该控件使用验证功能,在客户端起作用
C# js触发验证控件。
var event;
if (!event) {
...
- 2009-09-22 14:51
- 浏览 2981
- 评论(0)
using System;
using System.IO;
using System.Text;
using System.Data;
using System.Reflection;
using System.Diagnostics;
using System.Collections;
//using cfg = System.Configuration;
namespace GDBI.Common
{
/// <summary>
/// 说 明:Excel输出打印模块
/// 暂时不提供操作Excel对象样式方法,样式可 ...
- 2009-09-17 13:09
- 浏览 2165
- 评论(0)
Response.Write(getProperties(l1.Quote)); //项目中的代码。这样也没有遍历所有的 属性的属性吧,,
public string getProperties<T>(T t) { string tStr = string.Empty; if (t == null) { return tStr; } System.Reflection.PropertyInfo[] properties = t.GetType().GetProperties(Sys ...
- 2009-08-12 11:23
- 浏览 742
- 评论(0)
在准备一个计算机学习网站 www.jsjxy.com.cn
大多数人,不管是读大学还是在培训机构,计算机的专业知识主要还是来自于自已自学,在学习的过程中,找到好的教程是非常重要的一件事, 在浩渺的网络中寻找的时候,很容易迷失方向,而且网上好多教程都是东一篇西一篇的,非常的不系统。所以就决定做一个这样的网站,把好的系列教程搜集起来, 以方便后面的同学学习,计算机学院是一个专业的免费的计算机教程网站,其内容均是系列教程,使用户可以用心的系统的学习,而不是漫无目的看教程,提高学习效率。
如果你有好的教程,请发给我,我收集起来分享给更多有需要的人,谢谢。 Email:liuway20@ ...
- 2009-08-05 15:37
- 浏览 988
- 评论(0)
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SQLite;
using System.Data;
namespace DB
{
public class SqliteHelper
{
/// <summary>
/// 获得连接对象
/// </summary>
/// <returns></returns&g ...
- 2009-07-27 14:46
- 浏览 1347
- 评论(0)
http://www.cnblogs.com/artech/archive/2007/02/26/656901.html 我的WCF之旅(1):创建一个简单的WCF程序
一步一步学Silverlight 2系列(2):基本控件 http://www.cnblogs.com/Terrylee/archive/2008/03/07/Silverlight2-step-by-step-part2.html
http://www.cnblogs.com/jillzhang/archive/2008/02/17/1071521.html WCF从理论到实践 ...
- 2009-07-23 14:50
- 浏览 698
- 评论(0)
ildasm:反编译.net程序; ilasm:编译il代码; Reflector:查看.net程序源码、程序集间的依赖关系; Xenocode Fox 2007:由.net程序生成.net工程; PEBrowseDbg:动态调试.net程序; WinDbg,OlleyDbg:调试分析程序; MASMPlus:查看编写编译汇编代码; DebugTrack:跟踪程序调试信息; eXeScope,PE Explorer:查看PE文件,修改程序资源; Code Smith:代码生成; Dis#:.net ...
- 2009-07-23 14:48
- 浏览 1746
- 评论(0)
<!--#include file="Cls\ExcelControl.asp"-->
<!--#include file="Cls\ExcelControl.asp"-->
<%
Dim ObjExl,AdoRs
Set ObjExl=New ExcelMarker
Set AdoRs=con.Execute("select * From Address")
Response.ContentType="application/vnd.ms-excel& ...
- 2009-07-23 14:48
- 浏览 2194
- 评论(0)
using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using MyE ...
- 2009-07-23 14:45
- 浏览 2543
- 评论(0)
using System;
using System.ComponentModel;
using System.Data;
using System.Windows.Forms;
using Word = Microsoft.Office.Interop.Word;
namespace ImportExportToOffice
{
public class ImportExportToWord
{
private Word.ApplicationClass oWordApplic;
private Word.Docu ...
- 2009-07-23 14:44
- 浏览 3777
- 评论(0)
还有一个子程序是更新整个页面的验证状态:
//更新整个页面的验证状态function ValidatorUpdateIsValid(){ Page_IsValid = AllValidatorsValid(Page_Validators);}//检查所有验证控件,一个未通过,就返回不通过
- 2009-07-23 14:43
- 浏览 938
- 评论(0)
如果我们在文本框中什么都没有输入,直接点击按钮,则激发Button1的onclick事件,执行javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("Button1", "", true, "", "", false, false))分解开来,则是先执行new WebForm_PostBackOptions("Button1", "" ...
- 2009-07-23 14:38
- 浏览 1531
- 评论(0)