using System;
using System.Net;
using System.Net.Sockets;
namespace GetNum
{
public class checkurl
{
public checkurl()
{
}
public static bool GetUrlStatus()
{
try
{
System.Web.HttpContext page=System.Web.HttpContext.Current;
string link = page.Request.UrlReferrer.ToString();
阅读全文
类别:asp.net 查看评论文章来源:
http://hi.baidu.com/zzticzh/blog/item/6da1312970147cff98250ac5.html
package com.config;
import java.io.InputStream;
import java.util.Properties;
public class GlobalConfig {
private static String _ConfigName = "system.properties";//属性文件与class文件在同一目录下
public static String dd = null;
public GlobalConfig(){
init();
}
/**
* 读取属性完成初始化
*/
private void init()
{
阅读全文
类别:Jsp 查看评论文章来源:
http://hi.baidu.com/zzticzh/blog/item/ee4e8902e5cf370e4afb5144.html
declare @ssid nvarchar(50)
declare cur cursor
read_only
for select top 1 ssid from ssidinfo
open cur
fetch next from cur into @ssid
while (@@fetch_status =0)
begin
print @ssid
fetch next from cur into @ssid
end
close cur
deallocate cur
阅读全文
类别:Sqlserver 查看评论文章来源:
http://hi.baidu.com/zzticzh/blog/item/c43cb9b7b3fe63f530add178.html
需要引入 dom4j和jaxen 下载地址:http://zzticzh.ys168.com
import org.dom4j.*;
import org.dom4j.Attribute;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.io.SAXReader;
/**
*
* @author Administrator
*/
public class xmltest {
/** Creates a new instance of xmltest */
阅读全文
类别:Dom4j 查看评论文章来源:
http://hi.baidu.com/zzticzh/blog/item/f09c444a1507212208f7ef07.html
tree.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
<link type="text/css" href="css/tree.css" rel="styles
阅读全文
类别:Tree 查看评论文章来源:
http://hi.baidu.com/zzticzh/blog/item/2ea28c01bcfdded7267fb552.html