web part for list
Question
I can go to Edit > Add Web Part > Lists and Libraries > Pick a list "My Customer List" and wala it works.
The first column in the "My Customer List" is the Customer ID "Customer_00N" or so forth.
There is a single webpage for all the customers in the list. and the link to their web page is http://sitecoll/website/customer_00N/customer_00N.aspx
I need to be able to make sure the first column in the list is linked to respected customer page.
I am looking for code based solution.
Solution
Not sure why you need a code based solution, but you could easily convert the web part to a dataview web part and change the first column to be a link with SharePoint Designer. This doesn't require any code, and could be done on a blank page that you create, then exported and imported to the page you want it stored on so that you don't customize (or un-ghost) the page.