做一个标准的浏览对话框,是采用html服务器控件还是web服务器控件,怎么做?他们的区别?

小弟想做一个浏览的标准的对话框,
如同另保存命令,执行时
弹出一个对话框,显示路径,
用html服务器控件,怎么做,
用web服务器控件能实现吗?
哥哥帮忙,小弟不胜感激。

---------------------------------------------------------------

.NET自己有OpenFileDialog对话框。
---------------------------------------------------------------

1@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebApp20030403.WebForm1" 
 1<html>
 2<head>
 3<title>WebForm1</title>
 4<!--   
 5\-->
 6<script language="javascript">   
 7function test()   
 8{   
 9//window.alert("aaaa");   
10//alert("aa");   
11if(confirm("OK?"))   
12{   
13alert("OK");   
14}   
15else   
16{   
17alert("NO");   
18}   
19}   
20</script>
21<meta content="Microsoft Visual Studio 7.0" name="GENERATOR"/>
22<meta content="C#" name="CODE_LANGUAGE"/>
23<meta content="JavaScript" name="vs_defaultClientScript"/>
24<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"/>
25</head>
26<body ms_positioning="GridLayout">
27<form id="Form1" method="post" runat="server">
28<font face="新細明體"><input onclick="javascript:test()" style="Z-INDEX: 102; LEFT: 132px; WIDTH: 138px; POSITION: absolute; TOP: 222px; HEIGHT: 39px" type="button" value="Button"/></font>
29</form>
30</body>
31</html>

---------------------------------------------------------------

快一点的可以写一个ftp组件。http://www.csharphelp.com/archives/archive9.html
---------------------------------------------------------------

呵呵 ,差不多的。代码改为vb.net的语法。或者用C#编译后,Vb。NET直接使用。

Published At
Categories with Web编程
Tagged with
comments powered by Disqus