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!!?