登录
首页 » C# » DataGridView单元格合并和二维表头

DataGridView单元格合并和二维表头

于 2015-05-13 发布
0 58
下载积分: 1 下载次数: 0

代码说明:

DataGridView单元格合并和二维表头

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 模仿QQ来信息闪动
    模仿QQ来信息闪动
    2015-01-22下载
    积分:1
  • IconPanel ToolTip示例源码
    IconPanel ToolTip示例源码
    2013-10-02下载
    积分:1
  • ASP.NET 带Tab的可换肤后台模板
    ASP.NET 带Tab的可换肤后台模板 Tab可切换皮肤的后台模板功能介绍: 1、可以换皮肤、其中住框架、具体页面可以统一使用皮肤。2、tab页标题有右键菜单,新开、全屏打开,刷新。双击标题也可以刷新。3、可以收放菜单栏。使用方法:基本上主框架页面不需要作任何的变动了,直接就可以用,就不讲了。在这里主要讲一下使用tabControl:tabControl新开一个页面实际上是通过JS在主显示区域建立一个iframe 把这个iframe的src 指向我们指定的页面。讨厌的BUG:这个BUG一直都困饶了我好长时间,并且实在不知道怎么解决,甚至连问题出在哪里都不知道。BUG描述:在频繁的打开关闭的时候tab页后,有时候会出现界面里的textbox控件鼠标点击无法聚焦的问题。整体刷新框架就可以聚焦。
    2015-01-12下载
    积分:1
  • 自动登录qq空间,获取最近访客列表.
    自动登录qq空间,获取最近访客列表.using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace WindowsFormsApplication1{ public partial class Form1 : Form { Timer terAutologin = new Timer(); public Form1() { InitializeComponent(); terAutologin.Enabled = true; terAutologin.Interval = 3 * 1000; terAutologin.Tick = ter_Tick; } void ter_Tick(object sender, EventArgs e) { if(wb1.Document==null) { return; } HtmlElement dialog_content_1 = wb1.Document.GetElementById("dialog_content_1"); if (dialog_content_1 == null) { return; } var frame = wb1.Document.Window.Frames[0]; if (frame==null) { return; } if (frame.Document==null) { return; } // iframe HtmlElement u = frame.Document.GetElementById("u"); u.InnerText = "171586098"; HtmlElement p = frame.Document.GetElementById("p"); p.InnerText = "*************"; p.SetAttribute("value", "********"); HtmlElement login_button = frame.Document.GetElementById("login_button"); login_button.InvokeMember("click"); terAutologin.Stop(); } private void Form1_Load(object sender, EventArgs e) { ssl1.Text = string.Empty; txtUrl.Text = "http://user.qzone.qq.com/14371939"; wb1.ScriptErrorsSuppressed = true; wb1.Navigate("http://user.qzone.qq.com/14371939/main"); } private void btnGO_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(txtUrl.Text)) { wb1.Navigate(txtUrl.Text); ssl1.Text = txtUrl.Text " Navigated"; } } private void wb1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { System.Diagnostics.Trace.WriteLine(e.Url.ToString()); // http://g.cnc.qzone.qq.com/cgi-bin/friendshow/cgi_get_visitor_simple?uin=4371939&type=1&mask=3&rd=0.7801240284461528&_=1397644130601&g_tk=9281770 ssl1.Text = e.Url.ToString() " Completed"; tryRead(); } private void btnTest_Click(object sender, EventArgs e) { tryRead(); } private void tryRead() { if (wb1.Document == null) { return; } HtmlElement pagediv = wb1.Document.GetElementById("visitor_list_page_con"); if (pagediv==null) { return; } //若分页内容存在,则表示已经加载过了. if(pagediv.Children.Count>0) { handlerAbc(null,null); return; } //模拟点击 "最近访客" var aa = pagediv.Parent.Parent.FirstChild.Children[2]; aa.InvokeMember("click"); //给访问列表的容器绑定一个事件...回调时就能获取到. HtmlElement guestlist = pagediv.Parent.FirstChild; //ul.RaiseEvent guestlist.AttachEventHandler("onpropertychange", new EventHandler(handlerAbc)); } private void handlerAbc(Object sender, EventArgs e) { HtmlElement div = wb1.Document.GetElementById("visitor_list_page_con"); HtmlElement guestlist = div.Parent.FirstChild; if (guestlist.InnerHtml.IndexOf("QZONE.FrontPage.showLoginBox") > -1) { HtmlElement alogin = guestlist.GetElementsByTagName("a")[0]; alogin.InvokeMember("click"); // 使用定时器.检测登录窗口的出现.. terAutologin.Start(); return; } else { System.Text.StringBuilder sb = new StringBuilder(); // 取回里面的内容? foreach (HtmlElement li in guestlist.Children) { string qq = li.GetAttribute("uin"); string visitname = li.Children[1].FirstChild.InnerText; string visittime = li.Children[1].Children[1].InnerText; sb.AppendLine(qq visitname visittime); } MessageBox.Show(sb.ToString()); } } }}
    2014-04-18下载
    积分:1
  • Visual C++ 2013入门经典 中文第7版 完整版 pdf + 源码
    Visual C 2013入门经典 中文第7版 完整版 pdf 源码 Gerald M Weinberg编著,韩江、陈玉翻译,电子工业出版社出版
    2019-07-21下载
    积分:1
  • C#音乐播放器(支持歌词)
    C#音乐播放器(支持歌词)
    2020-05-06下载
    积分:1
  • C# 记住账号密码源码程序(xml操作入门示例)
    登陆界面记住账号密码,选择账号密码登陆功能
    2020-12-17 17:19:11下载
    积分:1
  • Request的几种 Url 用法比较 有示例有源码
    测试的url地址是http://www.test.com/testweb/default.aspx?id=1,结果如下:Request.ApplicationPath: /testwebRequest.CurrentExecutionFilePath: /testweb/default.aspxRequest.FilePath: /testweb/default.aspxRequest.Path:/testweb/default.aspxRequest.PathInfo:Request.PhysicalApplicationPath: E:WWW estwebRequest.PhysicalPath:E:WWW estwebdefault.aspxRequest.RawUrl:/testweb/default.aspx?id=1Request.Url.AbsolutePath:/testweb/default.aspxRequest.Url.AbsoluteUri: http://www.test.com/testweb/default.aspx?id=1Request.Url.Host:www.test.comRequest.Url.LocalPath:/testweb/default.aspx
    2020-12-01 21:59:28下载
    积分:1
  • C# 旅店客房管理系统(三层架构+数据库)
    附加数据库 即可测试
    2019-06-06下载
    积分:1
  • html5 超炫进度条实例源码(粒子效果)
    html5 超炫进度条实例源码(粒子效果)
    2014-08-04下载
    积分:1
  • 696524资源总数
  • 103930会员总数
  • 47今日下载