All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
详细阐述PHP环境下如何将gbk编码转成utf8格式_php资料_编程技术
从多个位置截取字符串的SQL语句_[SQL Server教程]
对初学者的建议:ASP.NET技术的学习顺序_[Asp.Net教程]
delphi中使用游标处理数据
在asp.net,页面中加入skype功能_.net资料_编程技术
SQL,Server,安装,(SQL,Server,2008,R2)_mssql学习_编程技术
asp.net结合js的网页打印程序_[Asp.Net教程]
C#教程:使用Visual Studio 2005 创建项目
javascript实现小方框中浏览大图特效_JavaScript技术_编程技术
PHP实例:PHP生成带有雪花背景的网站验证码_[PHP教程]
Reading number is top 10 pictures
徐若瑄展示美丽胸围2
Take you to walk into the most true north Korea rural1
A man's favorite things9
The real super beauty15
Athena chu perspective cheongsam shine with New York
奇趣的世界记录2
Chinese paper-cut grilles art appreciation1
福利是必须的
来几张有特色的图片
BingBingFan apple dew point photo gallery1
Download software ranking
Tram sex maniac 2 (H) rar bag6
网页特效实例大全
C#编程思想
Kung.Fu.Panda.2
Jinling thirteen stock
Unix video tutorial2
Ashlynn Video5
Eclipse-CALMSANNY (second edition)
Professional killers2 data package
电脑知识及技巧大合集
归海一刀 published in(发表于) 2014/1/30 1:58:21 Edit(编辑)
鼠标移过Div层显示层中信息由数据库中提出_[Asp.Net教程]

鼠标移过Div层显示层中信息由数据库中提出_[Asp.Net教程]

鼠标移过Div层显示层中信息由数据库中提出_[Asp.Net教程]
前台:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="NET_Default" %>




<FONT face=Verdana>鼠标移过Div层显示层中信息由数据库中提出</FONT>

















姓名


’)" onmouseout="hideTip(event)"><%#Eval("UserName") %>








style="background:yellow; position:absolute; visibility:hidden; padding: 5px" mce_style="background:yellow; position:absolute; visibility:hidden; padding: 5px">






后台代码:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class NET_Default : System.Web.UI.Page
{
DataTable DT = new DataTable();
DataColumn DC = new DataColumn();
DataRow DR;
protected void Page_Load(object sender, EventArgs e)
{
AjaxPro.Utility.RegisterTypeForAjax(typeof(NET_Default));
if (!Page.IsPostBack)
{
CreateDataTable();

for (int i = 0; i < 3; i++)
{
DR = DT.NewRow();
DR["ID"] = i.ToString();
DR["UserName"] ="胡果" + i.ToString();
DR["Keyword"] = "欢迎你ws_hgo" + i.ToString();
DT.Rows.Add(DR);
}

}
DataList1.DataSource = DT;
DataList1.DataBind();
}
public void CreateDataTable()
{
DC = new DataColumn();
DC.ColumnName = "ID";
DC.DataType = System.Type.GetType("System.Int32");
//DC = new DataColumn("ID", System.Type.GetType("System.Int32"));
DT.Columns.Add(DC);
DC = new DataColumn();
DC.ColumnName = "UserName";
DC.DataType = System.Type.GetType("System.String");
DT.Columns.Add(DC);
DC = new DataColumn();
DC.ColumnName = "Keyword";
DC.DataType = System.Type.GetType("System.String");
DT.Columns.Add(DC);

}
[AjaxPro.AjaxMethod]
public string ReturnTable(string Name)
{
string res;
//我这里有数组代替
string[] str = new string[] { "胡果0", "胡果1", "胡果2" };
if (Array.IndexOf(str, Name) != -1)
{
res = "欢迎大家来到" + Name.Substring(0,Name.Length-1).ToString() + "http://blog.csdn.net/ws_hgo";
}
else
{
res = "无!";
}
return res;
}
}


添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.