Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by wallm

  1. wallm

    asp:image control null

    Hi ca8msm, I've made some progress with the code below. I can reference the control with the code below and make a few changes. I was wondering how I could determine whether the datafield was null and if so set Image2.ImageUrl = "~/images/myerror.jpg" Protected Sub FormView1_DataBound(ByVal...
  2. wallm

    asp:image control null

    Im slightly confused. Here's the exact code for the image <asp:Image ID="Image2" runat="server" ImageUrl='<%# Bind("ThumbURL", "~/ProductImages/{0}") %>' /> It's within a Formview as the code shows below. <asp:FormView ID="FormView1" runat="server" DataKeyNames="ProductID"...
  3. wallm

    asp:image control null

    Just say the DataField 'PhotoPath' was null. How could I set the code so that it display a text string "no image" <asp:image id="EmployeeImage" imageurl='<%# Eval("PhotoPath") %>' alternatetext='<%# Eval("LastName") %>' runat="server"/>
  4. wallm

    validation

    thanks for the tip off. I'll go and look.
  5. wallm

    validation

    No, I was thinking the rangevalidator might not come into play as there's a . I thought maybe there was a regular expression that might do this?
  6. wallm

    validation

    How could I use validation to ensure a price such as 19.99 is added? I've got the requiredfield validator for starters. thanks.
  7. wallm

    datatype for prices

    oops sorry I meant decimal.
  8. wallm

    datatype for prices

    ok that's good advice, I'll switch it over to double. that should work shouldn't it.
  9. wallm

    datatype for prices

    I have a database field that is currently money datatype. what's the best datatype to use to store product prices? Is it double or money or decimal and any reasons why. At the moment I am using the money datatype but there's 4 decimal places such as 10.0000 thanks.
  10. wallm

    vertical-align bottom

    You're right it doesn't make sense. thanks.
  11. wallm

    vertical-align bottom

    vertical-align bottom doesn't seem to do much good. The text within the topnavigation div sits right at the top. Is there anyway to move it down to the bottom or middle? #topnavigation { padding:0; margin:0 10px 0 10px; background-image:url("images/navbar.gif")...
  12. wallm

    Expected end of statement

    ok thanks for those suggestions guys.
  13. wallm

    Expected end of statement

    I'd rather not escape with a double quotes. Secondly if I use the Replace function myString=Replace("<a href="www.mylink.com"",""","""") doesn't work any ideas
  14. wallm

    Expected end of statement

    myString="<a href="www.tek-tips.com">Tek-tips</a>" If TestFunction(myString)= True Then .............. causes an expected end of statement error. How can I use the replace function to stop the " in the link causing the error? I don't want to use ' the single quote. thanks.
  15. wallm

    rotating header image asp.net 2.0

    thanks guys for you help.

Part and Inventory Search

Back
Top