2017-5-22 Repeater的Command用法
摘要:Repeater的Command用法是Repeater控件的原生事件用法 Repeater里面如果循环控件,控件的ID是会被改变的ItemCommand事件 - 任何控件执行提交都来触发这个事件属性 - CommandName=""属性 - CommandArgument="主键值" ItemCre
阅读全文
posted @
2017-05-29 10:32
口袋里的SKY
阅读(232)
推荐(0)
2017-5-22 ASP六大 内置对象
摘要:ASP内置对象:提供内建对象,这些对象使用户更容易收集通过浏览器请 求发送的信息、响应浏览器以及存储用户信息(如用户首选项)。 地址栏传两个值: Response.Redirect("Default2.aspx?a=" + TextBox1.Text + "&b=" + TextBox2.Text)
阅读全文
posted @
2017-05-29 09:52
口袋里的SKY
阅读(521)
推荐(0)
2017-5-21 项目实战( 小型人员管理系统)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; /// /// nation 的摘要说明 /// public class nation { public string nationcode { get; set; } public string na...
阅读全文
posted @
2017-05-28 23:58
口袋里的SKY
阅读(203)
推荐(0)
2017-5-19 复合控件 跨页面传值
摘要:(一)复合控件 1.RadioButtonList 每一行数据都是一个ListItem RadioButtonList的属性: RepeatDirection 排列方式 RepeatColumns 每一行中需要展示的个数 RepeatLayout 页面中生成什么样的代码 ListItem的属性: E
阅读全文
posted @
2017-05-28 17:13
口袋里的SKY
阅读(193)
推荐(0)
2017-5-18 简单控件
摘要:表单元素: 文本类<input type="text"> - TextBoxpassword TextBox TextMode="password"textarea TextBox TextMode="MutilLine"hidden HiddenFiled 按钮类button - 无submit
阅读全文
posted @
2017-05-28 11:29
口袋里的SKY
阅读(115)
推荐(0)
2017-5-18 Repeater 重复器的使用
摘要:Repeater - 重复器HeaderTemplate - 先执行,执行一次FooterTemplate - 最后执行,执行一次ItemTemplate - 在Header之后执行,有多少条数据绑定就执行多少次 AlterNatingItemTemplate - 交替项模板,与ItemTempla
阅读全文
posted @
2017-05-28 09:47
口袋里的SKY
阅读(176)
推荐(0)
2017-5-27 webform 文件上传
摘要:文件上传 准备工作1.文件上传的页面2.上传文件要保存的文件夹 1.只要将文件传上来就行 //1、获取要上传的文件,并且知道要上传到服务器的路径 string s = "Uploads/aaa.txt"; //2、生成绝对路径 string path = Server.MapPath(s); //3
阅读全文
posted @
2017-05-27 16:44
口袋里的SKY
阅读(181)
推荐(0)
2017-5-26 正则表达式,js实战(加减数量,全选)
摘要:1、正则表达式:验证数据格式的准确性。 用正则表达式判断手机号格式是否正确: 2、用加减按钮增加减少数量 3、用checkbox实现全选
阅读全文
posted @
2017-05-27 14:26
口袋里的SKY
阅读(215)
推荐(0)
2017-5-25 母版页
摘要:母版页:可以把界面的部分代码进行重用 母版页的基础使用: 二级母版页的使用: 母版页与子页之间数据的传递: 母版页公共的外部样式表路径和外部JS文件的路径匹配:css文件可以直接引用,js文件需要写一个方法 public string abc() { return ResolveClientUrl(
阅读全文
posted @
2017-05-26 22:26
口袋里的SKY
阅读(149)
推荐(0)
2017-5-17 WebForm 基础
摘要:C/S 客户端应用程序: C/S 架构是一种典型的两层架构,其全程是Client/Server,即客户端服务器端架构,其客户端包含一个或多个在用户的电脑上运行的程序,而服务器端有两种,一种是数据库服务器端,客户端通过数据库连接访问服务器端的数据;另一种是Socket服务器端,服务器端的程序通过Soc
阅读全文
posted @
2017-05-17 16:35
口袋里的SKY
阅读(132)
推荐(0)
2017-5-14 心情
摘要:第二阶段项目终于完成了,历时6天,虽然很累,整合中也出现了很多问题,但学到了很多东西,对面对对象的理解更加深刻了,做项目真的能比较锻炼自己,遇到问题时的纠结和解决问题后的欣喜都记载着自己的进步,通过这次项目,我发现其实编程也是挺有意思的,你若懂他,就会发现他的魅力,接下来我会学的更有信心!
阅读全文
posted @
2017-05-14 16:59
口袋里的SKY
阅读(91)
推荐(0)
2017-5-10 小型人员管理系统
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System...
阅读全文
posted @
2017-05-10 22:19
口袋里的SKY
阅读(241)
推荐(0)
2017-5-9 打开唯一窗体的实例操作
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System...
阅读全文
posted @
2017-05-10 08:58
口袋里的SKY
阅读(189)
推荐(0)
2017-5-8 TreeView 实现三级联动 (递归方法)
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System...
阅读全文
posted @
2017-05-08 14:49
口袋里的SKY
阅读(484)
推荐(0)
2017-5-7 三级联动数据库 数据保存
摘要:CREATE TABLE [dbo].[ChinaStates]( [AreaCode] [varchar](20) NOT NULL, [AreaName] [nvarchar](20) NOT NULL, [ParentAreaCode] [varchar](20) NOT NULL, [Roo
阅读全文
posted @
2017-05-07 21:49
口袋里的SKY
阅读(394)
推荐(0)
2017-5-7 三级联动
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System...
阅读全文
posted @
2017-05-07 21:48
口袋里的SKY
阅读(155)
推荐(0)
2017-5-7 账号激活 权限设置 销售 仓库 财务三大模块
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System...
阅读全文
posted @
2017-05-07 19:49
口袋里的SKY
阅读(282)
推荐(0)
2017-5-5 QQ面板 (用户控件、timer控件,轮询实现聊天功能)
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System...
阅读全文
posted @
2017-05-07 10:59
口袋里的SKY
阅读(561)
推荐(0)
2017-5-4 线程
摘要:线程:帮助老板干活的,不会干扰老板的正常工作 如果一段代码的执行需要时间,那么必须开启一个新线程来执行,如果不开线程,窗口会出现假死 开线程: Thread th = new Thread(委托);th.IsBackground = true; //设置后台线程th.Start(); 线程默认是不允
阅读全文
posted @
2017-05-04 20:05
口袋里的SKY
阅读(109)
推荐(0)
2017-5-4 进程
摘要:进程:一个应用程序就是一个进程开启某个进程Process.Start("文件缩写名");通过绝对路径开启某个进程Process p = new Process();p.StartInfo = new ProcessStartInfo("要打开的程序绝对路径");p.Start(); 获取全部开启的进
阅读全文
posted @
2017-05-04 19:58
口袋里的SKY
阅读(134)
推荐(0)
2017-5-3 安装软件制作(爱钱软件)
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using Sy...
阅读全文
posted @
2017-05-04 16:22
口袋里的SKY
阅读(164)
推荐(0)
2017-5-3 打印控件、MDI 窗体容器
摘要:打印控件:要打印,第一步先要想到制作打印对象 PrintDocument - 默认事件 Font f = new Font("黑体",20);Brush b = new SolidBrush(Color.Red);e.Graphics.DrawString(textBox1.Text, f, b,
阅读全文
posted @
2017-05-03 16:43
口袋里的SKY
阅读(181)
推荐(0)
2017-5-3 记事本制作
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System...
阅读全文
posted @
2017-05-03 15:25
口袋里的SKY
阅读(187)
推荐(0)
2017-5-2 对话框控件
摘要:对话框控件:ColorDialog - 颜色选择ShowDialog()DialogResult 类型对象.Color FontDialog - ShowDialog()DialogResult对象.Font对象.Color OpenFileDialog - 文件打开对话框 ShowDialog()
阅读全文
posted @
2017-05-03 11:44
口袋里的SKY
阅读(122)
推荐(0)
2017-4-28 ListView控件
摘要:ListView:1、设置列 + 设置视图属性 + 添加列,修改列名 Columns集合 2、添加行数据编辑项 - 添加一个ListViewItem对象此对象的Text是每一行的第一列数据剩下列的数据存在此对象的SubItems集合中,顺序往后排Items集合 3、属性FullRowSelect -
阅读全文
posted @
2017-05-01 18:06
口袋里的SKY
阅读(104)
推荐(0)