Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Shawn Walsh #1
response.write and datagrid problems
All:
I need some help with outputting a string if it exists in the DB in a
datagrid. I need to do the same thing as you would do in ASP this way:
<%
if len(imgname) > 0 then ' image name is present
response.write "<img src='images/" & imgname & "' border=0>"
end if
%>
Obviously this does not work in ASP.NET, but I don't know how to make
this work at all. All I need to do is output an image link if the image
name exists in the DB, otherwise display nothing. I'm thinking I need
to pass what is in my container.dataitem("imagename") to a function??
Your help is much appreciated.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Shawn Walsh Guest
-
response.write URL
I have a page which lists conferences and events which the company for which I coded the site attends or hosts themselves. They want to be able to... -
If response.write help
Hi, I am trying to code my asp page so that if you are on page Y, the link to page Y in the nav, is in the over state to help users identify where... -
quotes in response.write
Hi there, I want to do: response.write("bla bla bla "in quotes" bla bla") How do I show the quotes on the screen in asp like I have to do \"... -
Response.Write and Response.Redirect
On my Page_Load event, i need to do some validation and then either let them proceed, or display a error message and boot them back to the previous... -
Response.write tables
There are no "table commands". If you're going to be doing any ASP at all, the first thing you should do is find out about HTML. <table> <% do...



Reply With Quote

