- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
//1
directory = WebConfigurationManager.ConnectionStrings[Page.Server.MachineName.ToUpper() + Request.QueryString["number"]].ConnectionString;
//2
web.config:
<connectionStrings>
<add name="ServerName1" connectionString="D:\bla\incoming\" />
<add name="ServerName2" connectionString="D:\bla\outcoming\" />
...
</connectionStrings>
//3
function Upload(currFile) {
if (grafWin == null || grafWin.closed) {
grafWin = open('UpLoad.aspx?number=' + currFile,'Attachment','width=300,height=150,scrollbars=no,left=800,top=400');
self.name = "winPARENT";
}
}
//4
<input type="button" name="filePlus1" value=" + " style="visible;" onclick="javascript: Upload('1')">
guest8 09.04.2019 11:21 # −999