My SQl 积累

摘要: (1)还原mysql数据库db_database13.sql 选择数据库,右击,选择“运行SQL文件”,选择文件“db_database13.sql”,点击开始,然后关闭,再次点击数据库,右击,选择刷新 阅读全文
posted @ 2013-11-24 14:27 AllEn—Carina 阅读(127) 评论(0) 推荐(0) 编辑

C# DGV多行选择

摘要: DGV多行选择 //对每项进行删除 for (int i = 0; i 0; i--) { try { MyRLZY_HeTong_YuanGong = new Model.RLZY_HeTong_YuanGong(); MyRLZY_HeTong_YuanGong.YuanGongHeTongID = Convert.... 阅读全文
posted @ 2013-11-21 19:03 AllEn—Carina 阅读(835) 评论(0) 推荐(0) 编辑

C#中很模糊查询DGV中数据的两种方法

摘要: (1)使用CopeTo和datatable.select用法 private void textBox1_TextChanged(object sender, EventArgs e) { //下拉框,选择查询条件 string condition_text = this.cbo_ChaXunTiaoJian.Text.ToString().Trim(); //文本框,填写关键字 string key_text = this.txt_GuanJia... 阅读全文
posted @ 2013-11-21 18:38 AllEn—Carina 阅读(854) 评论(0) 推荐(0) 编辑

网址

摘要: (1)Microsoft SQL Server 2008安装图解(Windows 7):http://blog.csdn.net/Cexu2008/article/details/5498526(2)最新ghost win7安装教程图文步骤:http://article.pchome.net/content-1651928.html(3)深度技术ghost win7 旗舰版为例说明如何安装win7系统,分光盘安装与硬盘安装2种,让你轻松学会!:http://jingyan.baidu.com/album/27fa7326c47bb646f8271fbe.html?picindex=1& 阅读全文
posted @ 2013-11-03 10:10 AllEn—Carina 阅读(205) 评论(0) 推荐(0) 编辑

SQL 知识积累

摘要: (1)char、varchar、nchar的区别固定长度 (char) 或可变长度 (varchar) 字符数据类型。 nchar 根据 unicode 标准所进行的定义,用给定整数代码返回 unicode 字符。 char是固定长度的字节,varchar是可变长度的字节,nchar是unicode编码的固定字符长度。 如:12345 在char(6)存储为123456加一个空格,共6个字节。 中国 在char(6)存储为中国加两个空格,共6个字节。 ... 阅读全文
posted @ 2013-10-21 11:13 AllEn—Carina 阅读(246) 评论(0) 推荐(0) 编辑

JAVA Web知识积累

摘要: (1)保护色再点颜色(color)其它颜色(others),然后把Hue(色调)设为85,Sat(饱和度)设为90,Lum(亮度)设为205。然后单击添加到自定义颜色(Add to custom colors) eclipse设置背景颜色 windows->Preferences->General->Editor->Text Editors 右边选择Appearance color options(2)导入项目后,代码中出现错误,则需要删除自带的“JRE System Library”,然后重新添加即可,操作如下:右击工程名,选择“properties”,在“type 阅读全文
posted @ 2013-10-19 13:43 AllEn—Carina 阅读(221) 评论(0) 推荐(0) 编辑

C#语言___图片__增删改查操作

摘要: 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;using System.Text.RegularExpressions;using System.IO;//图片操作时using指令namespace TuPian_Operate{ ... 阅读全文
posted @ 2013-10-16 21:47 AllEn—Carina 阅读(435) 评论(0) 推荐(0) 编辑

C#语言知识积累

摘要: (1)DGV中数据居中属性:属性-杂项-Columns-选定列-列属性-DefaultCellStyle-布局-Alignment-MiddleCenter(2)设置窗体的显示位置和大小 //窗体加载事件 private void GetTime_Load(object sender, EventArgs e) { this.StartPosition = FormStartPosition.Manual;//先将其设置为“可手工调动的” this.Location = new Point(250, 250);//设置窗体... 阅读全文
posted @ 2013-10-16 20:17 AllEn—Carina 阅读(316) 评论(0) 推荐(0) 编辑

将电脑A设为主机(windows 7系统)

摘要: (一)将电脑A设为主机,用Ip地址访问操作: (1)打开“我的电脑”选择你需要共享的磁盘(比如本地磁盘F),右击鼠标,点击“共享(H)”,“高级共享”,在弹出的“本地磁盘(F:)属性”窗体中左击“高级共享(D)”,在弹出的“高级共享”窗体中在“共享此文件夹(S)”打勾,然后左击“权限”按钮,对权限进行选择然后点击“确定”,"确定",“关闭”,即可在其他电脑的搜索框中输入主机IP地址,连接本地主机。(2)若在电脑B连接主机电脑A时出现错误提示:“Windows 无法访问 \\194.168.1.12\g(主机ip和共享文件夹) 您没有权限访问\\194.168.1.12\g。 阅读全文
posted @ 2013-10-12 11:23 AllEn—Carina 阅读(289) 评论(0) 推荐(0) 编辑

C#DAL层SQL语句编写及分析

摘要: (1)新增语句DBLibrary.SQLHelper.ExecuteScalar("Insert XiTong_JiNeng(JiNengMingCheng ,XD,ShanChuFou) values"+"('"+ myJiNengMingCheng +"',1,0)", CommandType.Text);其中"Insert XiTong_JiNeng(JiNengMingCheng ,XD,ShanChuFou) values" + "('" + myJiNengM 阅读全文
posted @ 2013-10-10 17:11 AllEn—Carina 阅读(825) 评论(0) 推荐(0) 编辑