G
Guoqi Zheng
I just found out that I sent out an uncomplete email(click wrong) , please
ignore my previous email
This is probably a very simple question, I just can not find the answer, I
am very new to ASP.NET.
I have the following in my repeater control.
<b
<%#Container.DataItem("ArticleContent")%> ...
<br>
What I want to do is a function which will get something from database based
on the value in container.Dateitem. For example I have
<b
<%#ShowContent(Container.DataItem("ArticleId"))%> ...
<br>
Then I have the function of ShowContent as
Function ShowContent(ByVal ArticleId as Integer)
' connect to database...
Return ArticleContent
End Function
Of course, the above code doesn't work, there should be something else for
line
<%#ShowContent(Container.DataItem("ArticleId"))%>
Can some one tell me what can I do for that line??
--
Met vriendelijke groet,
Guoqi Zheng
Tel: +31 (0) 23 5407422
Mob: 0648252520
http://www.meetholland.com
ignore my previous email
This is probably a very simple question, I just can not find the answer, I
am very new to ASP.NET.
I have the following in my repeater control.
<b
<%#Container.DataItem("ArticleContent")%> ...
<br>
What I want to do is a function which will get something from database based
on the value in container.Dateitem. For example I have
<b
<%#ShowContent(Container.DataItem("ArticleId"))%> ...
<br>
Then I have the function of ShowContent as
Function ShowContent(ByVal ArticleId as Integer)
' connect to database...
Return ArticleContent
End Function
Of course, the above code doesn't work, there should be something else for
line
<%#ShowContent(Container.DataItem("ArticleId"))%>
Can some one tell me what can I do for that line??
--
Met vriendelijke groet,
Guoqi Zheng
Tel: +31 (0) 23 5407422
Mob: 0648252520
http://www.meetholland.com