随笔分类 -  Asp.net

摘要:1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>仿照taobao左侧菜单----案例</title> 6 <style type="text/css"> 7 #top,#content,# 阅读全文
posted @ 2016-03-04 10:34 俺是个写程序的 阅读(298) 评论(0) 推荐(0)
摘要:1 [DllImport("user32.dll")] 2 private static extern int SetCursorPos(int x, int y); 3 4 public enum MouseEventFlags 5 { 6 Move = 0x0001, 7 LeftDown = 阅读全文
posted @ 2016-03-04 10:30 俺是个写程序的 阅读(293) 评论(0) 推荐(0)
摘要:1 联合两个索引查询,已解决: IndexSearcher[] searchers = new IndexSearcher[2];   searchers[0] = new IndexSearcher(m_indexpath); searchers[1] = new IndexSearcher(m_outindexpath); MultiSearcher multiSearcher = new M... 阅读全文
posted @ 2010-07-01 17:12 俺是个写程序的 阅读(252) 评论(0) 推荐(0)
摘要:Lucene支持对搜索条件的排序,一个条件或者多个条件,以及是升序还是降序,部分代码如下:string INDEX_STORE_PATH = Server.MapPath("index");//INDEX_STORE_PATH 为索引存储目录string keyword = TextBox2.Text; //搜索内容Hits myhit = null; IndexSearcher mysea = ... 阅读全文
posted @ 2010-07-01 17:11 俺是个写程序的 阅读(422) 评论(0) 推荐(0)