English 中文(简体)
2. 确定档案的绝对途径
原标题:Determine absolute path of a file vb.net

I created a survey in vb.net where results are stored in an Excel file. Locally I can access and update the data of the file, but if I put online can not correctly access the excel file.

当用户提出答案时,如何确定档案的绝对长度?

目前,我利用这一方法确定档案的位置:

Dim LocalizacaoFicheiro As String = String.Concat(Server.MapPath("."), "RespostasQuestionario.xlsx")
最佳回答

我们不能直接查阅档案。 诸如“吉大港”或“FTP”等普通互联网协议要求你下载档案,在当地更新,并寄回。 如果多个客户对档案进行更新,数据损失是无法避免的,那么这种骗局是正确的。

这里较好的变迁陷阱,如果不是出于安全考虑,就是要利用电离层,使客户能够向当地网络道。 现在,你只需要通过网络分享提供档案,客户可以将档案作为正常文件输入联合国中心(如<编码>/用户名称共享档案)。 在服务器上提出更多问题。

问题回答

我不使用Uris,那么我不知道这是否是你回顾的,但有一个<条码>AbsoluteUri, 载于here

如果你在压力大的 too子里再做一分钟,则使用勘测器!





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签