No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Im trying to grab a value from my query. Im gettign a sintax error. It contains a picture name mypic.jpg. Then i want to display that on my page. This is what im doing how do i do this correctly. display.aspx [CODE] <asp:Image ID="Img1" ImageUrl="pathToPicture" runat="server" /> [/CODE] display.aspx.cs [CODE] … |
|
This code works below but i want to do it with out a repeater because I only return one row in my query. How would i do this with out a repeater? default.aspx.cs page [code] Picture dlPicture = new Picture(); DataTable DTPictures = dlPicture.GetRandomPicture(); rpPictureList1.DataSource = DTPictures; rpPictureList1.DataBind(); Display.aspx page … |