Copied to clipboard

Flag this post as spam?

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


  • Abdullah Anwar 36 posts 56 karma points
    Apr 02, 2015 @ 14:09
    Abdullah Anwar
    0

    Edit disyplay custom table data

    Hi

     

    Could you please help us to edit display custom table content.

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Apr 02, 2015 @ 15:29
    Alex Skrypnyk
    0

    Hi Abdullah,

    Do you want to display data from custom table in the umbraco admin ?

    Thanks

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Apr 02, 2015 @ 15:39
    Alex Skrypnyk
    0

    You can use ApplicationContext.Current.DatabaseContext.Database instance. It has all what you need to work with tables.

    Thanks

  • Abdullah Anwar 36 posts 56 karma points
    Apr 02, 2015 @ 15:43
    Abdullah Anwar
    0

    I want to display all the entries from a table in grid view to display and edit.

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Apr 02, 2015 @ 15:52
    Alex Skrypnyk
    0

    It's code for getting entries from the db :

    var listOfEntries = db.Fetch<your custom class with data fields>(new Sql().Select("*").From("your table name"));
    
Please Sign in or register to post replies

Write your reply to:

Draft