ASP.NET: Difference #EVAL() Vs #BIND()

For a read-only, one way databinding, databound control, they are the same, I’m guessing Bind has slightly more overhead since it has more functionality.

For 2 way databinding, using a datasource in which you want to update, insert, etc with declarative databinding, you’ll need to use #Bind.

Simple as that. Eval is read only, Bind allows for data to go two ways.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s