Buy Questpond's video subscriptions on
huge discount
.
Online: 10650
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
What is the use of Bind method in Asp.net (Gridview) ?
Posted by
Rajeshk
under
ASP.NET
on 1/25/2013 |
Points: 10
| Views : 1787 | Status :
[Member]
| Replies : 1
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
hi all,
when we developing websites there we need to bind the data(table) in displaying gridview but we wont use it in windows forms what is the reason behind it?
Thanks&Regards
rajeshkommireddy@gmail.com
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Durgammahesh22
on: 1/30/2013
[Member]
Starter
|
Points: 25
0
Hi,
Check this info might help you
Why is there a need to explicitly call GridView.DataBind() in Web apps why this is not needed in Windows
The simple reason is, Web Apps (sites) are stateless.
That is why we have caching / session / cookies variables in web apps. If you could maintain state you wouldn't need to handle caching / sessioning out values that you may need across your entire site. You also wouldn't have to do checks for postbacks.
In Windows Forms your collection can be kept in memory, but in ASP.NET that is not the case. The collection has to be rebuilt from post back to post back.
It doesn't seem to make sense until you start working on web based applications on a daily basis for at least a few weeks. If you are a client win form developer you will notice this at first but you will learn how web apps work the more you work on them.
Thanks,
Mahesh
Thanks,
Mahesh
Rajeshk
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...