Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Biagio Paruolo 1494 posts 1635 karma points c-trib
    Aug 11, 2010 @ 14:28
    Biagio Paruolo
    0

    Post data

    Which is the best way to post data to another page and to db?

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Aug 11, 2010 @ 14:36
    Matt Brailsford
    0

    Hi Biagio,

    Umbraco doesn't put any restrictions on your website, so you can just use standard html forms and input fields. You could even use .NET controls and set the PostBackUrl property to post to another page.

    DB wise (assuming you are meaning a custom table), again Umbraco doesn't restrict you in anyway, so it's completeley open. You could connect via basic ADO.NET or something more advanced like Linq to SQL or an IoC framework.

    Suggestion something more specific would probably require a bit more info on what you are trying to achieve.

    Hope this helped

    Matt

  • Biagio Paruolo 1494 posts 1635 karma points c-trib
    Aug 11, 2010 @ 15:10
    Biagio Paruolo
    0

    Thank you for your reply.

    For HTML form I post data to webservice or to another aspx page ( page into Umbraco? )

    PostBackUrl to an Umbraco Page? If yes , How format target page into Umbraco?

    For save input data into db, Is it a good thing to use ascx usercontrol or post to another page?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies