设计Web表单以插入,更新,删除的最佳方法 [英] best way to design web Form to Insert,Update, Delete

查看:92
本文介绍了设计Web表单以插入,更新,删除的最佳方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

设计Web表单以在网格视图,DetailView,表单视图或简单的按钮和文本框之间插入,更新,删除的最佳方式是什么....请



从下面的评论中复制的其他信息

i使用Gird-view插入,更新和删除记录..但我想知道的是网格视图是好的使用插入记录或者DeteilsView或简单的From Design(使用文本框和按钮)。

what is the best way to design web Form to Insert,Update, Delete between grid view, DetailView, form View ,or simply Button and textbox .... pls

additional information copied from comment below
i use Gird-view to insert,update and delete record.. but i want to know is the grid-view is good to use insert record or the DeteilsView or simple From Design (use text-box and button).

推荐答案

步骤1)做一点研究。 Google [ ^ ]是一个很好的起点,有助于找到好的信息:一些例子:

< a href =http://www.asp.net/web-forms> www.asp.net/web-forms [ ^ ]

msdn [ ^ ]

^ ]

http://www.w3schools.com/aspnet/aspnet_intro.asp [ ^ ]

步骤2)开始编码

步骤3)编译并使用调试解决小问题

步骤4)当你遇到问题时,你不知道如何解决,但至少你已经尝试过了,然后回来问一些具体的代码片段给出问题



很抱歉,如果这不是你想要的答案。但你的问题有点太宽,无法在快速答案中得到解答。如果你对具体问题提出10个具体问题,那就更好了,你得到更快的帮助,而不是一个关于操作指南的大问题





我建议你阅读以下链接,这样你就可以改善未来的问题

你有什么尝试? [ ^ ]

如何提出问题? [ ^ ]

在论坛中发布问题的一些指导方针 [ ^ ]

代码段 [ ^ ]



最重要这里的目标是学习和帮助学习。你应该自己尝试一下,当你遇到困难时来到这里,对你的代码,设计等提出具体问题。给你一个随时可用的解决方案,这将解决你的实际问题,但实际上会伤害到你更多,因为你不会学到任何东西,下一个项目很可能会比以前更难(你的老师,你的老板或任何给你要求的人都会错误地认为你可以做到这一点并去下一步)
Step 1) Do a little research. Google [^]is a good start point and helps finding good infos: Some examples:
www.asp.net/web-forms[^]
msdn[^]
Create Web Forms in Minutes with the New ASP.NET Form Layout Control[^]
http://www.w3schools.com/aspnet/aspnet_intro.asp[^]
Step 2) Start coding
Step 3) Compile and use the debug to solve little issues
Step 4) When you get a problem you don't know how to solve but at least you tried it, then come back and ask for something concrete with a snippet of the code giving problems

Sorry if this is not the answer you were looking for. But your question is a bit too wide to be answered at the "Quick" Answers. It is better and you get faster help if you make 10 concrete questions about concrete problems, than a big question about a "how-to guide"


I would recommend you to read following links as well, so you can improve your future questions
What have you tried?[^]
How to ask a question?[^]
Some guidelines for posting questions in the forums[^]
code snippet[^]

Most important goal here is to learn and help learning. You are supposed to try it on your own, and come here when you got stuck with something, with a concrete question about your code, design, etc. Giving you a ready-to-go solution is something that will solve your actual "problem", but actually will harm you more, because you won't learn anything and the next project will very probably be more difficult than before (your teacher, your boss or whoever gives you the requirements will erroneusly think you can do it and go to the next step)


这篇关于设计Web表单以插入,更新,删除的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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