部署和托管 [英] deployment and hosting

查看:71
本文介绍了部署和托管的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

i在c#中开发了一个应用程序,它保存了一个表格,学生填写其详细信息和费用....我有两个问题

1)我想将我的应用程序托管到Intranet,其中许多计算机可以访问我部门的应用程序

2)我想要一个图标,名称为打印(按钮),在表单中单击页面将被打印。我想知道这个的编码部分。

i这个区域的新手,请从头开始帮助我。

将是一个很大的帮助。 div class =h2_lin>解决方案

1)要在Intranet上执行此操作,您需要在每台PC上安装应用程序 - 对于C#4.0,您可以创建一个新项目安装和部署这将为你做出艰苦的努力。但请注意,如果您已将其写入共享数据或从多个位置更新数据文件,则可能会以不可预测的方式失败。如果你使用过SQL Server或类似的,你应该只需要配置连接字符串。



2)看看使用PrintDocument class [ ^ ] - 该链接包含一个示例。


hi everyone,
i developed an application in c#, which maintains a form in which students fills its details and fees.... i have two problems
1) i want to host my application to intranet ,where many computer can access the application in my department
2) i want an icon by name "Print" (button) in the form where by clicking it the page will be get printed.i want to know the coding part of this.
i am new to this area ,please help me from scratch.
would be a great help.

解决方案

1) To do this on the intranet, you need to install the app on each PC - for C#4.0, you can create an new Project "Setup and Deployment" which will do the hard work for you. Be aware though, if you have written this to share data, or update data files from multiple places, it probably will fail in unpredictable ways. If you have used SQL Server or similar, you should just need to configure the connection string.

2) Look at using the PrintDocument class[^] - the link contains an example.


这篇关于部署和托管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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