摘要: ASP.NET 是一个使用 HTML、CSS、JavaScript 和服务器脚本创建网页和网站的开发框架。ASP.NET 支持三种不同的开发模式:Web Pages(Web 页面)、MVC(Model View Controller 模型-视图-控制器)、Web Forms(Web 窗体):Web ... 阅读全文
posted @ 2015-11-20 11:33 Bruce T 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 转自:梁荣华技术空间Basic(基本的) Data Source=filename;Version=3;Using UTF16(使用UTF16编码) Data Source=filename;Version=3;UseUTF16Encoding=True;With password(带密码的) Data Source=filename;Version=3;Password=myPassword;Using the pre 3.3x database format(使用3.3x前数据库格式) Data Source=filename;Version=3;Legacy Format=True;Re 阅读全文
posted @ 2012-05-07 19:34 Bruce T 阅读(2776) 评论(0) 推荐(0) 编辑
摘要: 1.写了一个简单的换肤功能,暂时先记下,留着以后进行扩展。界面定义View Code <Windowx:Class="WpfApplication6.Window1"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"Title="Window1"Height="300"Width="300&qu 阅读全文
posted @ 2011-04-20 16:18 Bruce T 阅读(1062) 评论(0) 推荐(0) 编辑
摘要: 1.如何用Asp判断你的网站的虚拟物理路径 答:使用Mappath方法 < p align="center" >< font size="4" face="Arial" >< b > The Physical path to this virtual website is: < /b >< /font > < font color="#FF0000" size="6" face="Arial" > < 阅读全文
posted @ 2011-03-21 11:20 Bruce T 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 一.【效果图】功能描述:1.当在左侧输入姓名年龄点击设置的时候 将值传递给右侧的xaml页面,也可以从XAML页面中获得数据2.当在右侧输入姓名年龄点击设置的时候 将值传递给左侧的HTML页面, 也可以从Html页面中获得数据二.【代码结构】首先建立一个html界面,包括表单以及承载silverlight布局(1)html界面代码 Code highlighting produced by Act... 阅读全文
posted @ 2010-11-13 12:25 Bruce T 阅读(725) 评论(0) 推荐(1) 编辑
摘要: 一.【使用html将silverlight添加到网页】当我新建立一个silverlight 项目的时候,我们会在.web项目当中发现对应 silverlight应用程序名称的.html 我们打开发现他是如下结构的代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.c... 阅读全文
posted @ 2010-11-12 14:57 Bruce T 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 1.例子实现了动态页数,当前页、总页数的显示,功能相对简单。【效果图】【前台界面】代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<Windowx:Class="LinqPager.Window1"xmlns="http://schemas.... 阅读全文
posted @ 2010-11-10 16:19 Bruce T 阅读(5832) 评论(4) 推荐(1) 编辑
摘要: 【01】【名称】Aggregate<>【描述】对应用序列累加函数【用法】代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--stringsentence="thequickbrownfoxjumpsoverthelazydog";stri... 阅读全文
posted @ 2010-11-09 17:45 Bruce T 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 1.须知首先让我们理解下如何定义一个匿名函数 例如事件this.Closed += delegate(object sender, EventArgs e) { MessageBox.Show("窗体已经关闭了"); };首先关闭事件的事件是带有object sender, EventArgs e 两个参数的委托,我们也可以使用Lambda表达式进行编写.this.Closed+=(sender,... 阅读全文
posted @ 2010-11-09 16:14 Bruce T 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 一.终结点每个终结点包含一个指示可在何处找到此终结点的地址、一个指定客户端如何与此终结点进行通信的绑定和一个标识可用方法的协定。(1).在后台代码添加终结点代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--ServiceHosthost=newSe... 阅读全文
posted @ 2010-10-18 11:02 Bruce T 阅读(187) 评论(0) 推荐(0) 编辑