Re:sql server不存在或访问被拒绝 wydycg 2011-10-26 16:45
今天也碰到这问题,弄了快1小时了,晕,感觉都没理由似的
对背景进行定位时,直接写在background后面就可以了。如
[code=css]
background:url(../images/hbv_birth_06.jpg) no-repeat 30px 5px;
[/code]
re: 海量数据库的查询优化及分页算法方案 lj2tj 2009-02-27 14:51
楼主写的很好 辛苦了 一楼这种不尊重别人劳动成果的家伙去死吧
--引用--------------------------------------------------
xinying: 对呀!!那XP系统要怎么设呢?
<br>说清楚点,我有点看不明白,我在文件上点右键-属性(但没有安全),我要怎么设置呀?
--------------------------------------------------------
re: 困惑,个人资源管理混乱不堪。 个人知识管理 2008-06-13 09:52
不防试用针式个人知识管理软件,
http://www.onlinedown.net/soft/59630.htm
针式PKM是专业的个人知识管理软件,以“知识分类体系”、“知识点关联”、“全文快速搜索”等为核心;是帮助个人进行学习、改善学习和工作中文档管理的友好助手;值得您下载试用
100多项Windows资源管理器所不具备的PKM(个人知识库管理)的功能特征,值得下载试用。
如分类穿透显示子分类包含的文件、多个文件关联、统计文件数显示于文件夹上、可以单独设置各个知识点在知识点网格中显示的字体颜色等等
re: 搞笑个性签名 QQ个性签名 2008-05-15 18:36
再过几十年,我们来相会,送到火葬场,全部烧成灰,你一堆,我一堆,谁也不认识谁,全部送到农村做化肥
re: 本地图片预览代码(支持 IE6、IE7) ip反查域名 2008-02-15 18:04
有办法解决本地获取图片尺寸和大小的问题吗?
我也想知道这个问题??
请教一下,在使用最后的openwindow 方法弹出窗口的时候, 弹出的窗口中各元素的关系, 比如, id 为'dialogBoxShadow'的元素的父元素是哪个?
必须首先获得cell的焦点才起作用?即 第一次点击无效,保持焦点不动,在点击的时候事件才起作用,请问怎么在paint之前设置grid的焦点?用了好几个事件都不可以。谢谢!
请问各位大侠,用以下语句:
context.Response.ContentType = "application/octet-stream";
context.Response.AddHeader("Content-Disposition", "attachment;FileName=" + name);
byte[] fileBuffer = new byte[fileSize];
fileStream.Read(fileBuffer, 0, (int)fileSize);
context.Response.BinaryWrite(fileBuffer);
context.Response.End();
为什么不同浏览器版本,点击下载后父页面有的关闭有的不关呢? 怎么实现不关
re: 今日问题:操作必须使用一个可更新的查询。 xinying 2008-01-02 23:51
那XP系统要怎么设呢?
说清楚点,我有点看不明白,我在文件上点右键-属性(但没有安全),我要怎么设置呀?
最近发觉这个控件有时候会不能激活GetCompletionList方法,不知道是什么情况下出现,朋友遇到过如果有心得请回下
的确有这种情况。 namhyuk 2007-09-29 17:17
WebService时的情况也是这样,感觉有点郁闷。中文开头的没问题。
自己做的一个测试:
#region datatalbe performance test
/// <summary>
/// Test table relation.
/// </summary>
public void Relation()
{
DataTable dtParent = this.CreateDataTable();
dtParent.TableName = "Parent";
#region .net framework 2.0
DataSet ds = new DataSet();
ds.Tables.Add(dtParent);
DataRelation relations = ds.Relations.Add("Relation", ds.Tables["Parent"].Columns["index"], ds.Tables["Parent"].Columns["parent_index"], false);
foreach (DataRow row in ds.Tables["Parent"].Rows)
#endregion
#region .net framework 1.1
//DataRelation relations = new DataRelation("Relation", dtParent.Columns["index"], dtParent.Columns["parent_index"], false);
//foreach (DataRow row in dtParent.Rows)
#endregion
{
if (0 != string.Compare(row["parent_index"].ToString(), "0", true,System.Globalization.CultureInfo.CurrentCulture))
{
continue;
}
this.DebugPrint(string.Format("{0}", row["description"].ToString()));
this.PrintChilds(row, relations);
this.DebugPrint("--------------------------------------------------");
}
}
/// <summary>
/// print the child
/// </summary>
private void PrintChilds(DataRow rowParent, DataRelation relations)
{
DataRow[] rowChilds = rowParent.GetChildRows(relations);
if (null == rowChilds || 0 == rowChilds.Length)
{
return;
}
string spaces = string.Empty;
foreach (DataRow row in rowChilds)
{
spaces = spaces.PadLeft(int.Parse(row["layer"].ToString()), '\t');
this.DebugPrint(string.Format("{0}|-- {1}", spaces, row["description"].ToString()));
this.PrintChilds(row, relations);
}
}
/// <summary>
/// Create the datatable for test.
/// </summary>
/// <returns></returns>
private DataTable CreateDataTable()
{
DataTable dt = new DataTable("Test");
// add columns
dt.Columns.Add(new DataColumn("index", typeof(Int32)));
dt.Columns.Add(new DataColumn("parent_index", typeof(Int32)));
dt.Columns.Add(new DataColumn("description", typeof(string)));
dt.Columns.Add(new DataColumn("layer", typeof(string)));
// add rows
dt.Rows.Add(new object[] { 1000, 0, "first 1" , 0});
dt.Rows.Add(new object[] { 1001, 1000, "secord 2", 1 });
dt.Rows.Add(new object[] { 2000, 0, "third 3", 0 });
dt.Rows.Add(new object[] { 2001, 1000, "forth 4", 2 });
dt.Rows.Add(new object[] { 3000, 2000, "fifth 5", 1 });
dt.Rows.Add(new object[] { 3001, 3000, "six 6", 2 });
dt.Rows.Add(new object[] { 2222, 0, "seven 7", 0 });
dt.Rows.Add(new object[] { 100, 2222, "first 11", 1 });
dt.Rows.Add(new object[] { 101, 1000, "secord 21", 1 });
dt.Rows.Add(new object[] { 200, 222, "third 31", 3 });
dt.Rows.Add(new object[] { 201, 1001, "forth 41", 2 });
dt.Rows.Add(new object[] { 300, 2000, "fifth 51", 1 });
dt.Rows.Add(new object[] { 301, 3000, "six 61", 2 });
dt.Rows.Add(new object[] { 222, 1000, "seven 71", 3 });
// accept changes
dt.AcceptChanges();
//DataSet ds = new DataSet("Test");
//ds.Tables.Add(dt);
return dt;
}
private void DebugPrint(string msg)
{
//System.Diagnostics.Debug.WriteLine(msg);
Console.WriteLine(msg);
}
#endregion
re: IT业史上最棒的图片之一 afalon(张扬) 2007-08-22 13:20
稍微有点看懂了。。。
不过要是想把这几张图片转换成文字的话,估计会有点难度吧
re: IT业史上最棒的图片之一 neoragex2002 2007-08-20 16:30
呵呵,有意思。软件,本身就是一个很具主观性的东西。
楼主大惊小怪了,到处都有这样的系统,功能简单,价格超高。