- 博客(14)
- 问答 (1)
- 收藏
- 关注
原创 CSS盒子模型
假设 定义一个div width=100px; height=100px; padding=10px; margin=20px; border=5px;那么这个div的实际所占用的宽度width=100px+10px*2+20px*2+5px*2=170px......................实际所占用....高度height=100px+10px*2+20px*2+5px*2=
2014-05-28 20:59:31 928
原创 ------事件与委托 (定义与用法) 事件与委托的区别 (委托是类型,事件是对象)
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication3{ public class Test { //声明一个委托 public delegate void MyDeleg
2014-05-28 11:47:54 2760
原创 WPF{ComboBox绑定类对象, 下拉列显示的值,与取到的值}
DisplayMemberPath 是用来显示下拉列表的值SelectedValuePath是用来取得选中项的值。ComboBox绑定类对象, 下拉列显示的值,与取到的值
2014-05-27 23:27:14 4481
原创 非映射的形式检查TextBox,ComboBox控件的值是否为空(是否被选中)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;us
2014-05-27 10:54:53 2240
原创 字段取名
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace HRMSys.Model{ public class Employee { public Guid Id
2014-05-26 14:43:26 1386
原创 将MD5加密的盐,写在app.config文件中
--> 获取盐using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;namespace LLSql.DAL{ public class Salt {
2014-05-26 11:05:04 1402
原创 大批量数据导入
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;us
2014-05-20 18:27:19 1671
原创 WPFS数据绑定(要是后台类对象的属性值发生改变,通知在“客户端界面与之绑定的控件值”也发生改变需要实现INotitypropertyChanged接口)
WPFS数据绑定(要是后台Person对象的属性值发生改变,通知客户端界面与之绑定的控件值也发生改变需要实现INotitypropertyChanged接口)MainWindow.xaml<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xa
2014-05-19 18:13:04 3423
原创 WPF—— ListBox的使用
<Window x:Class="ListBox的使用.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWind
2014-05-19 15:48:28 1751
原创 insert语句太长,有StringBuilder优化一下
private void btnSave_Click(object sender, RoutedEventArgs e) { if (IsInsert) { //如果日历控件没有选日期,那帮它赋一个当前日期。下面有三个日历控件。我这里指为一个日历控件做了这样的设置 Dat
2014-05-09 11:17:59 2286
原创 向Oracle数据库插入一条数据
这几天搞了一下Oracle数据库,可能用sql server习惯了,感觉好不方便。PL的界面友好度比sql server差远了 ,既然都收购了PL了为什么不给它做好一点呢?各种不便。郁闷向Oracle服务器插入一条数据--不管什么格式通通用''引号引起来。不过INTEGER格式的还是别用引号insert into T_SITE VALUES(8, --注意主键别与表里的其他主键冲
2014-05-05 16:44:54 7317
原创 oracle实现自增id
--oracle实现自增id--创建一张T_StudentInfo表create table T_StudentInfo( "id" integer not null primary key, xsName nvarchar2(120) not null, xsAge integer not null, Mobile varchar(
2014-05-05 10:25:29 1979 1
原创 WPF (xaml) 属性
<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Mai
2014-05-04 09:35:57 1084
原创 wpf 9张图片的连连看
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;us
2014-05-04 00:04:13 1893
Vue项目 Router路由,Pinia状态管理, Vuex状态管理 Vant List组件案例
2023-11-16
CSS选择器的问题:.class.class{}
2015-01-10
TA创建的收藏夹 TA关注的收藏夹
TA关注的人