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

ASP.NET´ò¿ªÐÂÒ³Ãæ¶ø²»¹Ø±ÕÔ­À´µÄÒ³Ãæ

ASP.NET´ò¿ªÐÂÒ³Ãæ¶ø²»¹Ø±ÕÔ­À´µÄÒ³Ãæ
Respose.Write("<script     language='javascript'>window.open('"+     url     +"');</script>"); £¨´ò¿ª¼ò½à´°¿Ú£©£º
Respose.Write("<script     language='javascript'>window.open('"     +     url     +     "','','resizable=1,scrollbars=0,status=1,menubar=no,toolbar=no,location=no,     menu=no');</script>");
1. Response.Redirect("XXX.aspx",true)——Ö±½ÓתÏòеÄÒ³Ã棬ԭ´°¿Ú±»´úÌæ;
2. Response.Write("<script>window.open('XXX.aspx','_blank')</script>")——Ô­´°¿Ú±£Áô£¬ÁíÍâÐÂÔöÒ»¸öÐÂÒ³Ãæ;
3. Response.Write("<script>window.location='XXX.aspx'</script>")——´ò¿ªÐµÄÒ³Ã棬ԭ´°¿Ú±»´úÌæ;
4. Server.Transfer("XXX.aspx")——´ò¿ªÐµÄÒ³Ãæ;
5. Response.Write("<script>window.showModelessDialog('XXX.aspx')</script>")——Ô­´°¿Ú±£Áô£¬ÒÔ¶Ô»°¿òÐÎʽ´ò¿ªÐ´°¿Ú;
6. Response.Write("<script>window.showModelDialog('XXX.aspx')</script>")——¶Ô»°¿òÐÎʽ´ò¿ªÐ´°¿Ú£¬Ô­´°¿Ú±»´úÌæ;


Ïà¹ØÎĵµ£º

asp.netģ̬´°¿ÚʹÓÃ

1 ÈçºÎÔÚÌá½»ºó·ÀÖ¹µ¯³öд°¿Ú
2 ÔÚģ̬´°¿ÚÖÐÔٴε¯³öģ̬´°¿Ú
3 ģ̬´°¿Ú·µ»ØÖµ
4 ˢи¸´°¿Ú
5 ¸¸´°¿ÚÈçºÎÌí¼Óˢнű¾
Ö÷´°¿Úµ¯³öÒ»¸öģ̬´°¿Ú,
var firstDiag = window.showModalDialog(url,window,"center:yes;dialogWidth:300px;dialogHeight:400px");
×¢:ÔÚurlÎļþµÄhead¼ÓÈë <base target='_self'> ¾ ......

asp.netΪͼƬÌí¼ÓÎÄ×Öˮӡ

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="s ......

ASP.NETʵÏÖÔöɾ¸Ä²éµÈ¹¦ÄÜ(Access°æ)ϵͳ֮ËÄ É¾³ý

//¸ù¾ÝÖ÷¼üÀ´É¾³ý±íÖеÄÊý¾Ý¡£
//ɾ³ý
    protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
    {
        OleDbConnection sqlConnection = new OleDbConnection(GetConnection());
 
   & ......

asp.netÍøÒ³¾²Ì¬»¯

Ò»¡£¢Ù£ºÊ×ÏÈÒªÓÐÕâ¸öÎļþURLRewriter.dll,Èç¹ûûÓÐ,¸Ï¿ìµ½ÍøÉÏÏÂÔØÒ»¸ö,²¢½«Æä·Åµ½ÏÂÃæµÄbinĿ¼ÀïÃæ,²¢ÇÒ½«ÆäÒýÓÃÌí¼Óµ½ÏÂÃæÀïÃæ;
  ¢Ú£ºÏÂÃæ¾ÍÊÇWeb.ConfigÎļþµÄÅäÖÃÁË,µ±È»,ÅäÖùý³ÌÏ൱¼òµ¥£º
  1£ºÏÈÌí¼ÓÕâ¸ö
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.Rew ......

asp.net (c#)¿Ø¼þ´óÈ«

DataGridView ¿Ø¼þDataGridView ¿Ø¼þÌṩÓÃÀ´ÏÔʾÊý¾ÝµÄ¿É×Ô¶¨Òå±í¡£Ê¹Óà DataGridView À࣬¿ÉÒÔ×Ô¶¨Òåµ¥Ôª¸ñ¡¢ÐС¢Áкͱ߿ò¡£
×¢Òâ
DataGridView ¿Ø¼þÌṩ DataGrid ¿Ø¼þËù²»¾ß±¸µÄÐí¶à»ù±¾ºÍ¸ß¼¶¹¦ÄÜ¡£Óйظü¶àÐÅÏ¢£¬Çë²Î¼û Windows ´°Ìå DataGridView ¿Ø¼þºÍ
DataGrid ¿Ø¼þÖ®¼äµÄÇø±ð
³£ÓÃÊôÐÔ:
DefaultCellStyle¡¢ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ