asp.net的asp.net问题 [英] asp.net problem with gridview

查看:77
本文介绍了asp.net的asp.net问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



我是第一次使用asp.net.Please随时为我提供帮助。



我的问题是:



现在我想在asp.net中使用gridview,这是我在C#中可以添加,删除的相同datagridview ,在datagridview中更新,无需连接数据库。



在asp.net中为什么需要绑定数据库。



感谢高级......

Hello everyone

I am the first time for using the asp.net.Please feel free for help me.

my problem is:

Now I want to use the gridview in asp.net that is the same datagridview in C# that we can add,delete,update in datagridview without connect with database.

In asp.net why it need to bind with database.

thank in advanced......

推荐答案

asp与Winform应用完全不同

asp gridview只是一个html由该组件设计的表。因为Windows浏览器或任何浏览器只能显示html kinda页面。

事实上,改变gridview内容是没有意义的,而且还有一个东西在那个

无论你怎么样一旦页面刷新,客户端的操作就会改变。
asp is totally different from Winform application
asp gridview is just a html table designed by that component. because windows browser or any browser can display only the html kinda page.
Infact there is no point in changing the gridview content and also there is a thing in that
whatever you do in the client side will change once page is refreshed.


这篇关于asp.net的asp.net问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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