插入多名员工详细信息 [英] Inserting multiple employees Detail one by one

查看:65
本文介绍了插入多名员工详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,

我有一个网格,其中不显示任何员工,其中一列带有复选框,而另一列是员工详细信息列.

因此,当我选中相应的员工复选框时,我应该能够一张一张地填写他们的信息,并以网格下方设计的表格进行更新,并最终在网格中更新记录.

请帮忙

感谢和问候

Hi friends,

I have a Grid which shows no''s of employee in it where one column has a check box and other are employee details column.

so when i check respective employee check box, I should be able to fill their information one by one and update in a form designed below grid and at last the record to be updated in grid.

Please help

Thanks and regards

推荐答案

您可以尝试使用for循环..
You can try with for loop like this..
foreach (control ctrl in this.controls)
{
    if (ctrl is checkbox)
    {
        if (ctrl.checked == true)
        {
             //Save grid data
        }
    }
}


完成了比sdk更好的sds
done thansdk you very much sds


这篇关于插入多名员工详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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