Link to home
Start Free TrialLog in
Avatar of mashey
masheyFlag for United States of America

asked on

Creating WebPart on SharePoint Services 3.0

Hello Experts,

I am brand new to SharePoint and SharePoint programming. I did some research but couldnt find anything concrete for what I am trying to work on. So giving it a shot here

I have installed Windows SharePoint Services 3.0. I created a site SPPilot. Within it I created a list item called "MYLIST".  The list has the following fields . The data type of the fields are given in brackets.

1. IssueID (integer)
2. Title (string)
3. Due Date (date) (optional)

The list has just 1 row

IssueID              Title                   Due Date
1                       Test123


Now I am not even sure if this is the right way of doing it. But what I want to do is create a new column. Lets call it "Reverse Title" (String). This column essentially is the reverse of the title column. So for example, the Reverse Title column will be "321tset" the reverse of the content of title.

Since I am a complete newbie, the only suggestion I got was to create a webpart and I need to use C# scripting and aspx. I was asked to create a webpart that takes this particular type (string) in our case and then output the results as I described above.

Ive been trying to do this on my own, with whatever examples I can find but nothing has helped and its been 2 weeks so far. Any kind of help would be much appreciated.

Also if you know any further reading that might help me, please point me to those resources as well.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Jamie McAllister
Jamie McAllister
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can create calculated columns in your list. A good article is here;

https://www.nothingbutsharepoint.com/sites/eusp/Pages/endusersharepointcom-taming-the-elusive-calculated-column-customizing-a-contacts-list-part-ii-i.aspx

The string functions are pretty limited alas and dont have a reverse string function, they're more like len, left, mid, right and concatenate.

If your title isn't likely to be too long, you could do a calculated column which extracts each character with a MID() and then concatenates them all with a formula like

=CONCATENATE(MID([Title], 6, 1),MID([Title], 5, 1),MID([Title], 4, 1),MID([Title], 3, 1),MID([Title], 2, 1),MID([Title], 1, 1))