关于Crud Gridview ASP.NET的帮助 [英] Help about Crud Gridview ASP.NET

查看:83
本文介绍了关于Crud Gridview ASP.NET的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的主人或管理员



i拥有标准模板visual studio express 2013(VB.NET)的web应用程序



@my default.aspx页面。我有,crud应用程序与网格视图和数据库..现在实际上我希望crud和网格视图分开。我打算复制网格视图@ about.aspx页面,但仍然是@ default.aspx,所以核心我想要输入@ webform1(default.aspx)输出(about.aspx),



所以任何人都可以给我关于我的项目的教程。



请帮助我。 T_T



谢谢

代码项目

dear masters or administrator

i have web application with standard template visual studio express 2013 (VB.NET)

@my default.aspx page. i have , crud application with grid view and database.. now in fact i want crud and grid view separate . i have planning to copy grid view @about.aspx page but crud still @ default.aspx so the core in case i want input @webform1(default.aspx) output(about.aspx),

so anyone can give me tutorial about my project .

please help me anyone . T_T

thanks
code project

推荐答案

将CRUD逻辑移至一个不同的阶级。将其称为控制器。

使用此方法将视图(即aspx和aspx.designer)逻辑与CRUD逻辑分开。
Move the CRUD logic to a different class. Call it the controller.
Keep view (i.e. aspx and aspx.designer) logic separate from the CRUD logic by using this approach.


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

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