Here is a newbie with a basic understanding problem. (sorry for crossposting - in section Extending Umbraco, I did not get any replies, so I will try here once again) I need to present data from a table in tabular form on a page. (with paging) Think of a list of adresses: Name, Age, Adress...etc.. like
NAME --- AGE --- Adress Steve --- 32 ----- Adress One Mike ---- 55 ----- Adress Two
Page: 1 2 3 4 ... << FIRST < PREV NEXT> LAST>>
I did this numerous times in ASP, ASP.NET...
That data also has to be editable in a backend-page with CRUD-methods.
My questions:
1. How to access my own data-table, or can I customize the umbracos own content tables to store any kind of data-fields?
2. How to setup a front-end page that displays not only one record but a table? 2.1. How to setup paging for that page?
3. How to setup a backend-page to let authors create-edit-update-delete records? (preferably also in a tabular form)
Can someone PLEASE give me some hints how I can accomplish this - which seems to me a trivial task in "classic" asp.net...
then you can have a parameter on a doctype of USERSTABLE, and your administrator can edit the user list as if a table right in front of them...
then http://www.nibble.be/?p=11 has examples on paging functionality via xslt... you'd just need to extend that to deal with the array coming from you ucomponent:teststringArray
Presenting tabular data
Here is a newbie with a basic understanding problem.
(sorry for crossposting - in section Extending Umbraco, I did not get any replies, so I will try here once again)
I need to present data from a table in tabular form on a page. (with paging)
Think of a list of adresses: Name, Age, Adress...etc.. like
NAME --- AGE --- Adress
Steve --- 32 ----- Adress One
Mike ---- 55 ----- Adress Two
Page: 1 2 3 4 ...
<< FIRST < PREV NEXT> LAST>>
I did this numerous times in ASP, ASP.NET...
That data also has to be editable in a backend-page with CRUD-methods.
My questions:
1. How to access my own data-table, or can I customize the umbracos own content tables to store any kind of data-fields?
2. How to setup a front-end page that displays not only one record but a table?
2.1. How to setup paging for that page?
3. How to setup a backend-page to let authors create-edit-update-delete records? (preferably also in a tabular form)
Can someone PLEASE give me some hints how I can accomplish this - which seems to me a trivial task in "classic" asp.net...
Thank you!!!
Reinhard
why not embrace umbraco completely, and forget about database tables...
Perhaps take a look at uComponents, and create a datatype for you tabular data, the textstringArray datatype perhaps... http://ucomponents.codeplex.com/wikipage?title=TextstringArray&referringTitle=Documentation
then you can have a parameter on a doctype of USERSTABLE, and your administrator can edit the user list as if a table right in front of them...
then http://www.nibble.be/?p=11 has examples on paging functionality via xslt... you'd just need to extend that to deal with the array coming from you ucomponent:teststringArray
is working on a reply...