DataBinder.eval method

zhaozj2021-02-16  51

Text = '<% # DataBinder.eval (Container.DataItem, "Field")%>'

This is the fastest

TEXT = '<% # getprice ()%>'

It can also be binding the method, but the method should be public

Text = '<% # "CARDETAILS.ASPX? Carid =" DataBinder.eval (Container.DataItem, "Carid")%>'

You can also connect multiple fields

转载请注明原文地址:https://www.9cbs.com/read-20312.html

New Post(0)