摘要: 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) 编辑