上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 42 下一页
摘要: Step 1 Create new document and set white as background color. Using Rounded reqtangle tool create shape as below. Radius is 5px and foreground color is #3584DE.Step 2 Now go to the blending options for the shapes layer and use "Inner Glow", "Gradient overaly" and "Stroke&quo 阅读全文
posted @ 2010-09-01 21:00 qiang.xu 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1.The Controller Action public ActionResult Index() { ViewData["Message"] = "Welcome to ASP.NET MVC!"; return View(); } An action method normally returns an ActionResult and can take zero or many arguments.一个action方法通常情况下返回ActionResult,能够带0个或者多个参数。If the view name matches the act 阅读全文
posted @ 2010-09-01 19:10 qiang.xu 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 1。asp.net mvc URL routingIIS determines the request should be handled by ASP.NETThe MvcHandler uses IControllerFactory to obtain an instance of IController using the "controller" route data from the route {controller}/{action}/{id}. public static void RegisterRoutes(RouteCollection routes) 阅读全文
posted @ 2010-09-01 15:26 qiang.xu 阅读(179) 评论(0) 推荐(0) 编辑
摘要: public void Display(Dictionary<string, int> entry) { //int countTags = 0; foreach (KeyValuePair<string, int> en in entry) { HyperLink myHyperLink = new HyperLink(); myHyperLink.ToolTip = "关注度" + en.Value; if (en.Value > 10) { myHyperLink.Text = "& 阅读全文
posted @ 2010-08-30 15:24 qiang.xu 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1.引擎的实现部分(其中涉及到数据库的表的操作,这里使用的是存储过程):using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Data;using System.Data.SqlClient;using System.Text;using System.Text.RegularExpressions;using Internship.Data;namespace Internship.WebSite{ public static class Searching 阅读全文
posted @ 2010-08-30 15:21 qiang.xu 阅读(631) 评论(0) 推荐(0) 编辑
摘要: http://topic.csdn.net/u/20090305/10/79a30e15-859f-40ca-8dc9-71d6351b9b72.html?97182 数据库设计多对多关系的几种形态  前言:多对多关系至少需要3个表,我们把一个表叫做主表,一个叫做关系表,另外一个叫做字典表或者副表(字典表是纪录比较少,而且基本稳定的,例如:版块名称;副表是内容比较多,内容变化的,例如)。  按照数据库的增删查改操作,多对多关系的查找都可以用inner join或者select * from 主表 where id in (select 主表id from 关系表) 阅读全文
posted @ 2010-08-30 15:10 qiang.xu 阅读(11110) 评论(0) 推荐(1) 编辑
摘要:   (1) 点击页面上的按钮,弹出一个对话框提示是“确定”还是“取消”操作,我们采用在按钮中添加属性来完成: 举例如下:     public System.Web.UI.WebControls.Button btnDelRow;     btnDelRow.Attributes.Add("onclick", "return confirm('确定要删吗?');"); &# 阅读全文
posted @ 2010-08-29 21:30 qiang.xu 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Some examples, with actual HTML Code included, follow:Simple MailTo<a href="mailto:astark1@unl.edu" mce_href="mailto:astark1@unl.edu">MailTo with Multiple Recipients<a href="mailto:astark1@unl.edu,ASTARK1@UNL.EDU" mce_href="mailto:astark1@unl.e 阅读全文
posted @ 2010-08-29 15:28 qiang.xu 阅读(572) 评论(0) 推荐(0) 编辑
摘要: <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="msgid" DataSourceID="SqlDataSource1" BackColor="#DDDDDD" BorderStyle="None" BorderWidth="1px" CellPadding="5" Cell 阅读全文
posted @ 2010-08-29 14:35 qiang.xu 阅读(2680) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/codehouse/archive/2010/05/04/1727408.html Getting started 1.sharepoint作用:      传统的网站制作需要网站管理人员,开发人员和数据库管理人员的共同努力,可能需要很长时间,费时费力。     sharepoint的核心概念就是可以只需通过简单的必要信息的配置,就可以迅速建立网站,提高了效率和减少了成本。 2.sharepoint网站创建功能由网站创建引擎来实现,他用数据库来实现的信息的存储。 3.ws 阅读全文
posted @ 2010-08-28 14:58 qiang.xu 阅读(1327) 评论(0) 推荐(0) 编辑
摘要: 1.新建一个c# class library。 2. 添加System.Web的refeerence。 3.添加代码 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.UI; namespace HelloWorldWebPart {     public class MyFirstWebPart : System.Web.UI.WebControls.WebParts.WebPart   阅读全文
posted @ 2010-08-28 13:12 qiang.xu 阅读(268) 评论(0) 推荐(0) 编辑
摘要: http://www.soidc.net/articles/1192846370427/20081031/1215945596648_1.html 阅读全文
posted @ 2010-08-28 12:49 qiang.xu 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1. asp.net mvc优势: 传统的asp.net网站我们会不自觉地在后台代码中掺杂了太多的逻辑的控制控制。分离的mvc使得web应用程序变得更加容易。同时三层架构能够更适合群体的开发,每个人可以有不同的分工。 2.什么是mvc? model主要是负责应用程序状态的存储,view主要是用来显示数据,其他的基本上什么也不做。controller主要是负责model和view的交互过程。 3.需要注意的是在asp.net mvc中大量使用了所谓的“默认配置”的情况,而不是像j2ee中存在的大量的配置文件。 阅读全文
posted @ 2010-08-27 18:56 qiang.xu 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1.在xsd文件中可能存在相互嵌套的情况,这是xsd就无能无力了。 http://geekswithblogs.net/mnf/archive/2008/07/22/generate-c-class-from-xsd-file.aspx | Home |"Login failed for user" may mean "database name is invalid" >> Generate C# class from XSD file. I have an existing C# file, generated a long tim 阅读全文
posted @ 2010-08-27 16:39 qiang.xu 阅读(2426) 评论(0) 推荐(0) 编辑
摘要: 开发环境:windows 7 1. 首先下载officeserver.exe文件,按照微软的官方的要求的话,是不能够安装到window 7上的。google。得到这个:http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx这里是这个的原始版本,就当是备份一下吧,以免以后被和谐掉。 If you are a developer for SharePoi 阅读全文
posted @ 2010-08-26 20:07 qiang.xu 阅读(230) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 42 下一页