在asp.net中使用Ajax在弹出窗口中显示数据库中的数据
问题描述:
先生您好,
我有一个应用程序,其中单击按钮而没有回发,我必须从数据库中获取数据,并且必须动态地在弹出窗口中显示该数据..
Hello sir,
I have an application in which on button click without postback i have to fetch data from database and that data i have to show in pop up window Dynamically..
答
if您知道要显示弹出菜单,而不是单击按钮
从数据库中获取数据.
如果您不了解表演,那么您应该学习在弹出窗口和其他过程中已经表演过的东西.
if you konow for show popup than on button click simply
fetch data from data base .
if you are not know show than u should learn for desing that u have show on popup and other process..
看看这篇文章是否可以继续: ^ ]
在新窗口的页面加载中,根据需要在运行时从数据库获取数据.
Have a look at this article to move ahead: Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]
In the new window, in it''s page load, get the data from database at runtime based as per need.