- 博客(6)
- 收藏
- 关注
asp.net中Request的用法
Response.Write("<br>上一个网页传送值:" + Request.QueryString["name"]); Response.Write("<br>当前网页虚拟路径:" + Request.RawUrl); Response.Write("<br>当前网页虚拟路径:" + Re
2010-04-24 19:28:10
685
隔行一色鼠标移动变色
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http
2010-04-06 16:49:02
125
隔行一色鼠标移动变色
<%@ Page Title="" Language="C#" MasterPageFile="~/SystemBase/MainMasterPage.master" AutoEventWireup="true" CodeFile="Spreater.aspx.cs" Inherits="Spreater" %><asp:Conten
2010-04-06 16:08:49
152
DropDownList 取值+赋值
取值<asp:DropDownList ID="txtDataType" runat="server" EnableViewState="true" />public string newdatatype;protected void Page_Load(object sender, EventArgs e) { n...
2010-04-03 15:50:25
292
DAL层 集合
测试连接//这里是一个测试类 public void test() { //设置连接借口 SqlConnection conn = new SqlConnection(&quot;server=YBO-PC;database=newssystem;User ID=sa;Password=123123&quot;);//内联 /*conn = ne...
2010-03-25 16:33:16
210
用CSS让DIV居中对齐
<html><head><style> #div1 { position: absolute; /*元素定位属性:绝对定位;*/ width:320px; height:240px; left:50%; top:50%; margin-left:-160px; /*用-(width/2)=-160让left点对准轴...
2010-03-24 22:59:31
157
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人