Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. height and width problem in vb.net [modified]

height and width problem in vb.net [modified]

Scheduled Pinned Locked Moved ASP.NET
csharpcssdatabasesysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sandeep_thakur
    wrote on last edited by
    #1

    Sir, Please correct the following code I want to change the height and width of the image control at run time which is placed in the datalist. The Problem is Height is of type UINT and I am unable to make the typecasting. less then sign and greater then sign indicates the tags photo_Orientation is of type integer in the database. ShowStatus is the function in the code file less then sign asp:ImageButton Height = 'less then sign%#ShowStatus(CType(DataBinder.Eval(Container.DataItem , "photo_Orientation"),System.uint32))%>' Width = 100 Runat =server ID ="ib1" ImageUrl = '<%#DataBinder.Eval(Container.DataItem , "photo_file")% greater then sign' greater then sign Public Function ShowStatus(ByVal a As UInt32) Dim aa As UInt32 = a End Function -- modified at 8:16 Wednesday 24th May, 2006

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups