height and width problem in vb.net [modified]
-
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