steam战争前线名字:ASP.NET Visual Studio 2005 Calendar(日历控件)

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/05 23:51:44
ASP.NET Visual Studio 2005 Calendar(日历控件) 怎么实现鼠标经过某日期时就显示所指日期那一天的数据库里的内容于提示层?(一个浮动的显示字字的框框鼠标移出去就会自动消失的)
由于限制 不能增加到300分 如果有人给出满意的答案 我将再增加2百分 奖励
还是不太明白 我E文超差 能不能把``放连接数据库的地方中文标明一下``还有 这个里`有让鼠标一经过日期 就获取鼠标当前所指日期信息并把信息跟绑定数据对比 然后把跟日期信息一致的信息显示到浮动层``吗?```我这个其实可以 新建一个框架 靠刷新来连接数据库显示 但我想 直接一次把信息全绑定下来 然后 让浏览器 也就是客户端``自己对比出需要信息 再显示 个人感觉应该要用到`JS 或者VB 而不是ASP.NET就能做到的``
怎么说都是个300分的题目`如果有心 做个小小教程发到我邮箱就最好不过了`tony81028623@163.com 最大支持20M附件`本人定超级感谢``

Label1.Text = "您选择的日期是:" + yy + "/" + mm + "/" + dd + w;

只要使用 mouse移动的事件就可以了
我记得好像是
public class FunButton:
Button

{
protected override void OnMouseHover(System.EventArgs e)
{

// Get the font size in Points, add one to the
// size, and reset the button's font to the larger
// size.
float fontSize = Font.SizeInPoints;
fontSize += 1;
System.Drawing.Size buttonSize = Size;
this.Font = new System.Drawing.Font(
Font.FontFamily, fontSize, Font.Style);

// Increase the size width and height of the button
// by 5 points each.
Size = new System.Drawing.Size(Size.Width+5, Size.Height+5);

// Call myBase.OnMouseHover to activate the delegate.
base.OnMouseHover(e);
}

protected override void OnMouseMove(MouseEventArgs e)
{

// Make the curser the Hand curser when the mouse moves
// over the button.
Cursor = Cursors.Hand;

// Call MyBase.OnMouseHover to activate the delegate.
base.OnMouseHover(e);
}

上边是一个类似的c#源码。只要把事件中的内容改成你需要的详细内容就成了