M
M. Ali Qureshi
Hi,
This maybe a very simple question, but i am very new to asp.net.
Can someone please fix following for me?
<%
If IsDBNull(Container.DataItem("initials")) Then
Response.Write("N/A")
End If
%>
I'm using repeater control to list data from a table. I want to check if
field "initials" is null, then it should print "N/A".
I get following error when i run the above code:
"Compiler Error Message: BC30451: Name 'Container' is not declared."
Thanks in advance.
/MAQ
This maybe a very simple question, but i am very new to asp.net.
Can someone please fix following for me?
<%
If IsDBNull(Container.DataItem("initials")) Then
Response.Write("N/A")
End If
%>
I'm using repeater control to list data from a table. I want to check if
field "initials" is null, then it should print "N/A".
I get following error when i run the above code:
"Compiler Error Message: BC30451: Name 'Container' is not declared."
Thanks in advance.
/MAQ