一个按钮单击事件如何使用asp.net C#检查多个页面更新并进行一些计算 [英] how one button click event check multiple pages updation and do some calculations using asp.net c#

查看:49
本文介绍了一个按钮单击事件如何使用asp.net C#检查多个页面更新并进行一些计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...
我正在做薪资项目...
这是我第一次...
请帮我...
我设计了带有继续"按钮的薪水表...当我单击继续"按钮时,我将检查"OT"表@休假"表单,并在收入","OT",休假",扣除额"和"PT"表格中进行一些计算...最后处理所有工资员工并存储到sql服务器数据库中...
谁能告诉我该怎么做... plz

hi...
i am doing Payroll project...
this is the first time to me...
plz help me...
i designed salary form with proceed button... when i click the proceed button i will check the OT Form @ Leave form and do some calculation in Earning, OT, Leave, Deduction and PT forms... and finally process the salary for all employee''s and stored into the sql server database...
can anyone tell how to do it...plz

推荐答案

如果这是您的第一个任务,为什么这么复杂?是上课吗?是给客户的吗?您不应该同时执行第一个C#项目和使用数据库.您可以使用代码进行计算.您最好通过存储过程将它们存储在数据库中.在学习时,我建议您学习实体框架,它使您无需编写SQL.
If this is your first ever task, why is it so complicated ? Is it for a class ? Is it for a client ? You should not be doing your first C# project AND using a database at the same time. You do the calculations using code. You store them in your database, ideally, through a stored procedure. As you''re learning, I suggest you learn entity framework instead, it frees you from writing SQL.


这篇关于一个按钮单击事件如何使用asp.net C#检查多个页面更新并进行一些计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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