Posted on: 1/17/2014 10:30:35 AM | Views : 332

Hello everyone, i'm creating an auction project, but i have a problem when posting the auction, 
I made a account of the auction id where name is equal to 'watch',
but the auction id in the database are not sequential, one after the other
i need to insert photo for each auction, how will i select each auctionid where name is equal to watch and insert the photo
below are a sample of my code can anyone help please
' Getting the File Name Dim filename As String = e.FileName ' Setting the path to upload Images AjaxFileUpload1.SaveAs(Server.MapPath("images/") & filename) ' Storing the relative path to store into images Dim Imagepath As String = "~/images/" & filename Dim conss As New SqlConnection(_start) conss.Open() Dim count As String = "SELECT COUNT(Auction.AuctionID) AS Expr1 FROM Auction INNER JOIN Item O ...

Go to the complete details ...