当我点击我希望从数据库到网格视图显示数据的Radiobutton时 [英] When I Click The Radiobutton I Want To Display Data From Database To Gridview

查看:91
本文介绍了当我点击我希望从数据库到网格视图显示数据的Radiobutton时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在表格recrod中如下



studname phoneno电子邮件

Raj 9784541222 raj87@gmail.com



在运行模式下如下



studname(radiobutton1)Phoneno(radiobutton2)电子邮件(radiobutton3)



输入文字textbox1搜索(按钮)



当用户点击radiobutton1中的studname并在文本框中输入文字时

在文本框中键入studname Raj,然后单击搜索按钮。





我想在Gridview中显示如下记录



Studname Phoneno电子邮件

Raj 9784541222 raj87@gmail.com。



我怎样才能在asp.net中使用c#。



问候,

Narasiman P.

In table recrod as follows

studname phoneno Email
Raj 9784541222 raj87@gmail.com

In run mode as follows

studname(radiobutton1) Phoneno(radiobutton2) Email(radiobutton3)

Enter text textbox1 Search(Button)

When user click studname from the radiobutton1 and enter text in the textbox1
Type the studname Raj in the textbox and click the search button.


I want to show record as follows in Gridview

Studname Phoneno Email
Raj 9784541222 raj87@gmail.com.

for that how can i do in asp.net using c#.

Regards,
Narasiman P.

推荐答案

使用AJAX调用。

形成一些基本想法,下面给出了一些链接。



http://stackoverflow.com/questions/20465104/populating-gridview-using-ajax [ ^ ]



使用AJAX绑定Gridview [ ^ ]
use AJAX call for this.
form some basic idea, few links are given below.

http://stackoverflow.com/questions/20465104/populating-gridview-using-ajax[^]

Bind Gridview using AJAX [^]


这篇关于当我点击我希望从数据库到网格视图显示数据的Radiobutton时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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