更新时间:2022-06-16 03:46:01
使用 jQuery Ajax 不是一个好主意。你有两个更好的选择。
1.UpdatePanel
使用Repeater
2.使用其他一些客户端控件,如jQGrid或其他东西。
如果你还想这样做,请检查此主题中的答案 - 如何使用jquery json和webservice绑定asp.net datalist。 [ ^ ]。
Binding data to a server control using jQuery Ajax is not a good idea. You have two better options.
1.UpdatePanel
with theRepeater
2. Using some other client side controls like jQGrid or something.
If you still want to do it, please check the answer in this thread - how can i bind asp.net datalist using jquery json and webservice.[^].