M
M
Hello. I need an example of how to call an assembly function/method from a
webform page. I don't want to use a codebehind (nor embedded c# code), like
so:
<asp
ataGrid runat="server" id="Datagrid2" DataSource=<%#
getMyList(Convert.ToString(DataBinder.Eval(Container.DataItem, "Location")),
Convert.ToString(DataBinder.Eval(Container.DataItem, "Type")))%>
AutoGenerateColumns="false">
In the above, getMyList is in a codebehind. Is there a way, and if there is,
what is the syntax, to call this method from the assembly c# code, rather
than the code behind?
Thanks in advance.
webform page. I don't want to use a codebehind (nor embedded c# code), like
so:
<asp
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
getMyList(Convert.ToString(DataBinder.Eval(Container.DataItem, "Location")),
Convert.ToString(DataBinder.Eval(Container.DataItem, "Type")))%>
AutoGenerateColumns="false">
In the above, getMyList is in a codebehind. Is there a way, and if there is,
what is the syntax, to call this method from the assembly c# code, rather
than the code behind?
Thanks in advance.