价值选择中的问题 [英] problem in value selection

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

问题描述

我有4个复选框。一切都与雇主的工资有关。当我点击复选框时,首先需要显示6000到1万卢比的现金工资雇主......有什么解决方案吗?在存储过程中,我为每个复选框创建了2个参数..有什么最短的方法吗?







I have 4 check box. all related to salary about employers.when i click check box first need to display 6000 to 1 lakh amount present salary employers..there have any solution? in stored procedure i have created 2 parameter for each check box ..there have any shortest method?



<div class="refaine123">
<div class="af-experiance">Salary {Annual}</div>
<div class="af-exp-dtl-1"><input name="sa" type="checkbox" value="1 Lakh" id="one_lakh"  runat="server"/> 600000 - 1
    Lak</div>
<div class="af-exp-dtl-1"><input name="sa" type="checkbox" value="5 Lakh" id="five_lakh" runat="server" />  1 Lak - 5
    Lak</div>
<div class="af-exp-dtl-1"><input name="sa" type="checkbox" value="25 Lakh" id="twnty_lakh" runat="server" /> 5 Lak - 25
    Lak</div>
<div class="af-exp-dtl-1"><input name="sa" type="checkbox" value="50 Lakh" id="fifty_lakh" runat="server"  /> 25 Lak - 50
    Lak</div>
<div class="af-exp-dtl-1"><input name="sa" type="checkbox" value="1 Crore" id="one_crore" runat="server" />&nbsp; 50 Lak
    -1 Cr</div>
<div class="af-exp-dtl-1"><input name="sa" type="checkbox" value="1 Crore+" id="one_more" runat="server" /> 1 Cr +</div>

<div class="af-exp-dtl-2" id="Div2" runat="server" style="cursor:pointer; height:20px" onclick="chk_salary()" >Search</div>
</div>

推荐答案

首先从数据库中获取所有工资记录,然后使用linq到'dataset / datatable'进行排序复选框选择。它会使应用程序更快一点
At first fetch all the salary records from data base. then use linq to 'dataset/datatable' to sort them according to check box selection .it will make application little bit faster also


它的简单首先带来所有数据,然后通过存储在数据表
its simple first bring all data and later can manipulate accordingly by storing in datatable

中实现相应的操作

这篇关于价值选择中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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