English 中文(简体)
基于 c# 模板的数据批量上传
原标题:Bulk upload of data based on a template in c#
  • 时间:2012-05-25 01:26:25
  •  标签:
  • c#
  • asp.net

我们有一个网络应用程序,用户可以在网页上创建某种类型的记录。 网络形式上有许多强制性字段,用户需要填满所有内容才能保存数据。

现在我们需要为用户提供功能,以便他们能够下载MS Excel模板或其他模板,用户将根据所提供的格式提供批量数据。

你们做过这种事吗?

我对上述方法的主要关切是,我们需要验证Excel页上的数据用户所提供的数据。 是否有任何第三方工具/组成部分这样做?

提前感谢

问题回答

让客户端上传优异文件。 打开它作为数据源, 验证数据( 数据表对象) 。 如果有错误, 请向用户返回错误列表 。 您可以在. NET 中完成全部操作 。





相关问题
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!

热门标签