Hi i'm try to do this

var selectQueryString = "SELECT MAX(folio)  FROM UserProfile ";                 
                
                var ProductId  = UrlData[0];
                var row = db.QuerySingle(selectQueryString, ProductId);

because a i need

count = ProductoID + 1

to insert in the database count, but the value always it's 1

somebody could help me!!?

Should ProductoID + 1 instead be ProductID + 1 ?
(Note extra 'o')

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.