Copied to clipboard

Flag this post as spam?

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


  • erika danis 13 posts 60 karma points
    Mar 20, 2014 @ 10:29
    erika danis
    0

    Code first using Data Source

    Hello,

    How can we use our own data source to Submit the form data to our own table as opposed to the default UF tables within the database.

    Many Thanks

    Erika

     

  • Comment author was deleted

    Mar 20, 2014 @ 11:19

    Well if you use code first, just use contour to create the form, and provide you with the data, once you have the data you can basicly do with it what you want in the submit method, so just submit to your own table with the .net method you prefer using

  • erika danis 13 posts 60 karma points
    Mar 20, 2014 @ 14:38
    erika danis
    0

    Hi Tim,

    Thanks for your response. So does that mean that the data will be stored in two places? The default UF tables plus wherever i specify within my Submit method?

    Many Thanks

    Erika 

  • Comment author was deleted

    Mar 20, 2014 @ 15:24

    Yeah unless you set the storelocally flag on the forms attribute to false

  • erika danis 13 posts 60 karma points
    Mar 20, 2014 @ 17:52
    erika danis
    0

    Brilliant Thanks Tim :) And can that flag be set within Code First programmatically?

     

  • Comment author was deleted

    Mar 21, 2014 @ 11:17

    Yup you can do that on the form attribute

Please Sign in or register to post replies

Write your reply to:

Draft