使用jquery的makin菜单,可从数据库中检索菜单itemns [英] makin menu using jquery which is retrived menu itemns from database

查看:56
本文介绍了使用jquery的makin菜单,可从数据库中检索菜单itemns的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作从数据库动态操作的菜单.
我使用jquery和CSS,现在我想在VS2008中的HTML页面中使用C#编码.后面,并借助ajax调用从jquery调用它..

在Web方法中,编写代码以从数据库中获取菜单项并返回菜单项的集合

成功调用该Web方法后,您可以访问返回数据以用于菜单....

如何使用jquery和Ajax调用ac#函数在asp.net页面中...? [ 解决方案

for getting data from database you can use a static web method decalare code behind side and call it from jquery with the help of ajax call..

in side the web method write the code to get the menu items from database and return that collection of menu items

after successful call of that web method you can access that return data to for your menu....

How to call a c# function using jquery and Ajax in asp.net page...?[^]


这篇关于使用jquery的makin菜单,可从数据库中检索菜单itemns的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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