Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net+access·ÖÒ³ÎÊÌâ

ÏÖÔÚÒªÓÃasp.net 2.0+Access 2003Êý¾Ý¿âÍê³É·ÖÒ³¹¦ÄÜ¡£ÌûÖ÷ÒªµÄ´úÂë¡£URL²âÊÔ²ÎÊý /category.aspx?size=3&page=4&category=CareerµÄʱºò£¬ÎÒÏ£Íû²é³öÀ´µÄÊǵÚ4Ò³µÄÊý¾Ý£¬µ«ÎÞÂÛÔõô¸ü¸ÄpageµÄ²ÎÊý£¬Êý¾ÝµÄÏÔʾ¶¼²»ÕýÈ·£¬×ÜÊÇɸѡ³öÇ°ÃæµÄ¼¸±Ê¼Ç¼¡£ÇëÎʸßÊÖÕâÊÇÔõô»ØÊÂÄØ£¿

1¡¢Êý¾Ý·ÃÎʲãPostADL.cs
C# code:

/// <summary>
/// ¸ù¾ÝÎÄÕµÄÀà±ð¼°Ò³Â룬·ÖÒ³ÏÔʾÎÄÕÂÐÅÏ¢
/// </summary>
/// <param name="pageSize">ÿҳҪÏÔʾµÄ¼Ç¼±ÊÊý</param>
/// <param name="pageIndex">µ±Ç°ËùÔÚµÄÒ³ÃæÂë</param>
/// <param name="category">ÎÄÕµÄÀà±ð</param>
/// <returns></returns>
public List<Post> PostPager(int pageSize, int pageIndex, string category)
{
List<Post> lstPost = new List<Post>();
Post post = null;

string cmdText = "SELECT TOP " + pageSize + " A.post_id, A.post_title, A.post_content, A.post_time, A.user_id, A.post_from_name, A.post_from_url, A.post_approved, A.post_recommend, A.post_on_top, A.post_author, A.comment_lock, B.column_id, B.column_name, C.tag_id, C.tag_name, D.user_name from post_def A, column_def B, tag_def C, user_def D WHERE "
+ "A.post_id NOT IN (select top " + pageSize * pageIndex + " post_id from post_def) "
+ "AND A.column_id = B.column_id "


Ïà¹ØÎÊ´ð£º

asp.net·ÖÒ³ÎÊÌâ

select top 12 * from Product where [id] not in (select top 12 [id] from Product)
ÕâÑù¿ÉÒÔ·ÖÒ³£¬µ«ÊÇÎÒÔÚºóÃæÏë¼Ó¸öÌõ¼þ
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......

asp.netµ¯³ö¿òÎÊÌâ

ÔÚµ¯³ö¿òÖеã»÷Ò»¸ö°´Å¥£¬Ôõôµ÷תµ½ÁíÒ»¸öä¯ÀÀÆ÷£¬²¢ÇÒÔÚ¸Ãä¯ÀÀÆ÷´ò¿ªÁ½¸öÒ³Ãæ
ÄãµÄÒâ˼Ӧ¸ÃÊÇ
response.write("<script>alert('È·ÈÏ'); window.location.href('xxxx.aspx'); </script>"); ......

ASP.NETÈÕÆÚÊäÈëÎÊÌ⣿

ÇëÎÊһϣ¬ASP.NETÎÒÓÃÒ»¸ö²ãÖзÅÁËÒ»¸öÈÕÀú¿Ø¼þ£¬ÔÚµãÒ»¸ö°´Å¥Ê±£¬ÏÔʾÕâ¸ö²ã£¿ÏÖÔÚÎÊÌâÊÇÎÒÔڵ㰴ťʱ£¬ÎÒÏë°Ñ²ãÏÔʾÔÚ°´Å¥µÄÏ·½£¿¾ÍÏñÏÂÀ­ÈÕÆڿؼþÒ»Ñù£¬ÎÒÓÃÊǵÄASP.NET C#
ÎÒÓÐÕâôһ¸öÈÕÆڿؼþ£¬£¡µã»÷¿ÉÒÔÑ ......

asp.netºǫ́µ÷ÓÃjs·½·¨ - .NET¼¼Êõ / ASP.NET

<script type="text/javascript" src="js/Dialog.js"></script>
<script type="text/javascript">
  function zOpenD()
  {
  va ......

¹ØÓÚASP.NET¶¨Ê±Æ÷µÄÎÊÌâ

ÎÒÏëÿÌì°ëÒ¹×Ô¶¯Éú³É¾²Ì¬Ò³Ãæ¡£
ÔõôʵÏÖÕâ¸ö·½·¨¡£
ÄÇλ¸ßÊÖÖªµÀ£¬Çë´Í½ÌÏ¡£
д·þÎñ!

Ôõôд

д·þÎñ ¿ªÏß³Ì Ð´Îļþ ÈëÊý¾Ý¿â

д·þÎñ»òÕßÓÿªÔ´µÄµ÷¶È¿ò¼ÜQuartz.net
½¨ÒéÓúóÕߣ¬ºóÕßÌṩ±È½ÏÁé»îµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ