如何在办公室的堆中创建依赖于excel中的行的绑定.. [英] how to create the binding depeding upon the rows in excel in aaps for office..

查看:99
本文介绍了如何在办公室的堆中创建依赖于excel中的行的绑定..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要求当用户打开带有任务窗口应用程序的excel并输入大约10行数据而不将其保存到数据库时,他将关闭工作表并且输入的行将保存在sheet.Next时间,当他打开工作表并单击保存按钮上的
时,数据应保存到database.Withot在office.initialize方法中创建绑定,当用户单击保存按钮依赖项时根据我想要创建绑定的记录数量并发送这些记录进行保存。是否有可能
使用应用程序获取excel中的行数?

I have an requirement that when user opens an excel with taskpane application and enters some 10 rows of data and without saving it to database he will close the sheet and the entered rows will be saved in sheet.Next time whne he opens the sheet and clicks on save button the data should be saved to database.Withot creating the binding in office.initialize method when user clicks on save button depenindg upon the number of records I want to create the binding and send those records for saving.Is it possible to get the number of rows in excel using apps for offfice?

谢谢,

Meenakshi Nagpal

Meenakshi Nagpal

N.Meenakshi

N.Meenakshi

推荐答案

Meenakshi

Hi, Meenakshi

您能否从最终用户的角度解释该应用的功能?然后,我可以为您提供有关如何使用适用于Office 2013的API最佳实现该方案的建议。

Could you please explain what the app is doing from an end-user perspective? Then I can give you advice on how to best implement that scenario using the APIs available for Office 2013.

如果应用程序的目的是将数据从电子表格保存到数据库,那么您''我希望用户指出应该上传哪些数据,对吗?此时,您可以绑定到数据。

If the app's purpose is to save data from a spreadsheet to a database, then you'll want the user to indicate what data should be uploaded, correct? At that point, you can bind to the data.

感谢您提出问题!我期待听到更多细节,以便我可以继续提供帮助。

Thanks for the question! I look forward to hearing more details so I can continue to help.

-Michael


这篇关于如何在办公室的堆中创建依赖于excel中的行的绑定..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆