如何检查Many Textbox Values与数据库表相同的列值? [英] how to check the Many Textbox Values with the database table same column values?

查看:69
本文介绍了如何检查Many Textbox Values与数据库表相同的列值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检查多个文本框值与数据库表相同的列值,

我的项目是,在线测试管理先生,我在GridView中为学生显示4个不同选项的问题,他们阅读了这个问题并在TextBoxes中提供了解决方案。我为项目先生的每个问题添加了单独的TextBox。那么现在我如何将这些文本框值与数据库表中的正确答案进行比较?这是我的情况先生,请帮助我...你是我的希望先生....

解决方案

只需从正确答案的数据表索引并放入if条件它

how to check the Many Textbox Values with the database table same column values,
My project is,Online Test Management sir,in that i show the Questions with 4 different options in GridView for the student, they read that question and give the solution in TextBoxes. I add the separate TextBoxes for each questions in my project sir. So now how do i compared that textboxes values with the Correct answer from a database table sir? this is my situation sir please help me...You are my hope sir....

解决方案

Just indexing from data table of correct answer and put if condition on it.


这篇关于如何检查Many Textbox Values与数据库表相同的列值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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