Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Is there any Packacges for umbraco for Displaying data(in Tabular Structure), like Grid view in ASP.NET
Hi Prasad,
What data do you want to display? If it's child nodes - you can just turn on ListView of Umbraco node.
Thanks, Alex
Hi I just want to display data from database
Prasad,
You have to create your own property editor and show data from the db with Umbraco Database Context object.
How to create property editor ? -
https://our.umbraco.org/forum/developers/extending-umbraco/46183-Creating-a-property-editor-in-Umbraco-7
https://our.umbraco.org/Documentation/Extending-Umbraco/Property-Editors/creating-tutorial1-v7
http://creativewebspecialist.co.uk/2013/08/23/how-i-built-my-first-property-editor-for-umbraco-belle/
Great article about working with database - http://creativewebspecialist.co.uk/2013/07/16/umbraco-petapoco-to-store-blog-comments/
Example of getting rows from db :
var db = ApplicationContext.Current.DatabaseContext.Database; // Fetch a collection of contacts from the db. var listOfContacs = db.Fetch<Contact>(new Sql().Select("*").From("myContactsTable"));
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
For Display Data in GridView
Hi,
Is there any Packacges for umbraco for Displaying data(in Tabular Structure), like Grid view in ASP.NET
Hi Prasad,
What data do you want to display? If it's child nodes - you can just turn on ListView of Umbraco node.
Thanks, Alex
Hi I just want to display data from database
Prasad,
You have to create your own property editor and show data from the db with Umbraco Database Context object.
How to create property editor ? -
https://our.umbraco.org/forum/developers/extending-umbraco/46183-Creating-a-property-editor-in-Umbraco-7
https://our.umbraco.org/Documentation/Extending-Umbraco/Property-Editors/creating-tutorial1-v7
http://creativewebspecialist.co.uk/2013/08/23/how-i-built-my-first-property-editor-for-umbraco-belle/
Great article about working with database - http://creativewebspecialist.co.uk/2013/07/16/umbraco-petapoco-to-store-blog-comments/
Example of getting rows from db :
Thanks, Alex
is working on a reply...