8

What is the difference between <%# and <%= in ASPX inline code?

John Saunders
  • 159,224
  • 26
  • 237
  • 393
Alex
  • 73,729
  • 83
  • 253
  • 341

1 Answers1

11

<%= is shorthand for Response.Write()

<%# is used to render data in databound controls

Chris Van Opstal
  • 34,865
  • 9
  • 72
  • 90