开发者

Which control to use for working on data from database [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but开发者_如何学JAVA this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

What I want is a controller that can perform all operations on a table of a database, which includes create, delete, insert ,records edit records/update etc. I have used all the controls:

  • gridview
  • datalist
  • detailsview
  • formview
  • listview

I would like to have your opinion as to "which control is the best to use, easy to program, and is user friendly, simple coding all the good points."


GridView is your best bet if you want Create/Read/Update/Delete operations.

The others all require a bit more work if you want to be able to perform all of the operations.


Personally i've always preferred the ListView. It will give you all the automatic Create, read, update, delete operations and think it allows for the easiest customization.


If you want to use custom, complex UI then FormView.

If you have small amount of fields (2-10) - GridView,

If large - DetailsView.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜