如何从数据库获取和显示值 [英] How Do I Get And Display A Value From Database

查看:62
本文介绍了如何从数据库获取和显示值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在创建一个名为费用分配的mvc表单,其中我有一个用于选择课程的下拉列表,三个文本框,一个用于学生姓名,一个入场没有(独一无二),

和一个滚动否,现在当我点击搜索按钮选择相关课程时,我从主表学生注册中得到学生姓名下拉。



现在我的重新测试是根据学生的入学名称显示学校名号no第三个文本框中使用jquery从数据库获取并且我有一个滚动的主表没有分配,我给每个学生分配了卷号,

所以我需要根据学生姓名或录取号码得到卷号。





帮助将不胜感激。谢谢

解决方案

  //  使用ajax帖子达到你的要求找到belo w链接供参考,请让我们看看您的代码。  



http://csharp-video-tutorials.blogspot.in/2015/06/how-to-call-wcf-service-using-jquery.html [ ^


Hi All,

I am creating a mvc form called fee allocation, in which i have one dropdown for selecting class, three textboxes, one for student name,one for admission no(unique),
and one for roll no, now i get the student name an admission no from the master table student registration when i click on the search button selecting the related class in the dropdown.

Now my reqiurement is to display the roll no based on the student name of admission no in the third textbox getting from the database using jquery and also i have a master table for roll no assign ,where i assign roll no to every student,
so i need get the roll no based upon the student name or admission no.


Help will be appreciated.Thanks

解决方案

//Use ajax post to reach your requirement find the below link for reference, please let us see your code.   


http://csharp-video-tutorials.blogspot.in/2015/06/how-to-call-wcf-service-using-jquery.html[^]


这篇关于如何从数据库获取和显示值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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