Put EntityDataSource Attributes to Code-Behind(mikeborozdin.com)

submitted by MikeBorozdinMikeBorozdin(1131) 2 years, 10 months ago

When using EntityDataSource or LinqDataSource or even ObjectDataSource you tend to put too much data specific code to your .aspx templates, which certainly is no good. At the same time you can apply a good technique by moving attribute assignment to code-behind.

add a comment |category: |Views: 61

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story