gridview行值重复时显示消息 [英] Display message when gridview row value duplicate
问题描述
我有gridview如下
i have gridview as follows
Selectdata Slipno Slipdate Location Zone Qty
checkbox 123 28.05.2018 1001 Fereke 10
checkbox 123 28.05.2018 1002 Sordi 5
checkbox 100 20.05.2018 1004 Tiepke 12
checkbox 112 22.04.2018 1000 Sordi 11
checkbox 98 20.05.2018 1001 Fereke 15
checkbox 98 20.05.2018 1004 Nord 10
i有一个名为提交的按钮
假设当用户点击滑动没有123使用网格视图中的chekcbox并点击提交按钮我必须向用户显示消息对于此滑动,还有一个项目被错过选择,请选择那些项目。
我尝试了什么:
i有gridview如下
i have one button called submit
suppose when user click slip no 123 using chekcbox in gridview and click submit button i have to show the message to the user "For this slipno one more items is missed to select, please select those items.
What I have tried:
i have gridview as follows
Selectdata Slipno Slipdate Location Zone Qty
checkbox 123 28.05.2018 1001 Fereke 10
checkbox 123 28.05.2018 1002 Sordi 5
checkbox 100 20.05.2018 1004 Tiepke 12
checkbox 112 22.04.2018 1000 Sordi 11
checkbox 98 20.05.2018 1001 Fereke 15
checkbox 98 20.05.2018 1004 Nord 10
i有一个名为提交的按钮
假设当用户点击滑动没有123使用网格视图中的chekcbox并点击提交按钮我必须向用户显示消息对于此滑动,还有一个项目未被选中,请选择那些项目。
i have one button called submit
suppose when user click slip no 123 using chekcbox in gridview and click submit button i have to show the message to the user "For this slipno one more items is missed to select, please select those items.
推荐答案
你的设计错了。你需要一个滑动否组,用户可以选择...而不是强迫他们选择与团队一起的所有内容。
如果有10个怎么办? ,20,......项目被遗漏?
Your design is wrong. You need a "slip no" GROUP that the user can select ... instead of forcing them to select everything "withing the group".
What if there were 10, 20, ... "items is missed"?
这篇关于gridview行值重复时显示消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!