博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔1

Posted on 2009-03-21 16:30  Aimee  阅读(192)  评论(0)    收藏  举报
随笔 2009-02-06 16:08 (分类:工作资料)

******************************

2月5日 李 70-536 (5-6) 17 21-23(3.5) silver Light

******************************

expression studio
包含
Blend:引入时间轴
Web
Media
Decode
sql server 2008
*托管
*CIM
----------------
.net 3.5
.net 3.0 2006年底
*WPF:xaml(html) 茶壶转动 作出有美感的按钮
WCF:通讯,蓝牙聊天室
---------------------
.net 3.5
linq:
-----------------------
c#和VB互换的网站

http://www.developerfusion.co.uk/  VB&C#互换网站

C#3.0的新特性
1 变量 自动属性
2 *匿名类型
'a 类型是匿名类型
3 轻量级事件
4 partial 分部类(分部方法)
 扩展方法
class MainClass {}
static class extension{
 public static void add(this MainClass m)
}
对类的补充(打补丁)
Lambdams表达式
List<Student> students=new Student{
 new Student{name="xiaoli"},
 new Student{name="Aimee"}
}
select Student in Students
where Student.age>21
order by Student.age desc
select Student;
*******************************
Linq入门 .net Language Integrated Query
数据不等于对象
绑定数据源:
添加新项———>linq to sql类(自动拉动表)
NorthWindDataContext db=new NorthWindDataContext();
var customers=from cus in db.Customers
  where cus.City=="London"
  select cus;
this.GridView1.DataSource=customers;
this.GridView1.DataBind();
(包括数据库建立连接等访问数据库的六大步骤。同时也可以将结果显示到GridView中)
shift+ctrl+B:编译
F5运行
F11调试
错误检测:Linq中的sql语句是参与编译的,但是有胖客户端的嫌疑。
.skip.take 分页

虚拟机密码:p@ssw0rd


******************************

2月6日 李 70-536 (5-6) 17 21-23(3.5) silver Light

******************************
ctrl+alt+enter 全屏
ctrl+shift+insert  ===ctrl+shift+delete
ctrl+shift+F9:去除所有断点
F2:重命名
F4:控件的属性编辑
3.5新特性:
   suite 加密
 支持大整数
管道和匿名管道的应用
微软培训书: Training Kits/Test King/ MSDN 下载网址:chinaitlab.com 或者菊花论坛
时区
国际化资源标识符
http://www.asp.net/ajax/
AjAX Toolkits 把下载的Bin路径导入
博客源:cnBlog.com

xaml
wpf窗体:
blend ===flash
导入音乐:
<MediaElement Source="11.wmv">
WPF之窗体模型

---------------

xaml从编译到运行的过程:
step one
APP.xaml==>app.g.cs
windows1.xaml=>windows1.g.cs&&windows1.baml
step two:
Windows1.baml 插入到WpfWindowModel.g.resources

step three
App.g.cs
app.xaml.cs
windowsq.xaml.cs
WpfWindowModel.g.resources++>WpfWindowModes.exe
-----------------------------------------------------