Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
cutomizing details view
Old 04-21-2006, 07:47 AM cutomizing details view
Experienced Talker

Posts: 48
Trades: 0
hi guys ,

im using VS 2005.

i have a "details view" displaying info of a student on my page.

it shows their fisrtname, surname, add1, add2, add3, add4 and postcode.

as below:
<Fields>
<asp:BoundFieldDataField="fname"SortExpression="fname"/>
<asp:BoundFieldDataField="sname"SortExpression="sname"/>
<asp:BoundFieldDataField="add1"SortExpression="add1"/>
<asp:BoundFieldDataField="add2"SortExpression="add2"/>
<asp:BoundFieldDataField="add3"SortExpression="add3"/>
<asp:BoundFieldDataField="add4"SortExpression="add4"/>
<asp:BoundFieldDataField="postcode"SortExpression="postcode"/>
</Fields>

this is being retrieved from an access database.

i want to display the firstname and surname on the same line for obvious reasons.
i would also like to not display address lines if there r nothing in them. usually add3 and add4.

also if anyone has any useful links on customizing the layout of "details views" and "datalists" this would be great!!!!
wow, its not as easy to customize as in Dreamweaver!!!
__________________
regards,

Pauly.
The true sign of intelligence is not knowledge but imagination. (Albert Einstein)
Be who you are and say what you feel,
because those who mind don't matter and those who matter don't mind. (Dr. Seuss
)
paulwebmaster is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-24-2006, 06:57 AM Re: cutomizing details view
Experienced Talker

Posts: 48
Trades: 0
come on guys!!!!!!

someone must know how to do this...........????????
__________________
regards,

Pauly.
The true sign of intelligence is not knowledge but imagination. (Albert Einstein)
Be who you are and say what you feel,
because those who mind don't matter and those who matter don't mind. (Dr. Seuss
)
paulwebmaster is offline
Reply With Quote
View Public Profile
 
Old 04-25-2006, 01:27 PM Re: cutomizing details view
DavezDesignz's Avatar
Average Talker

Posts: 28
Location: Amherst, Nova Scotia, Canada
Trades: 0
Do you need to use Details View? Why not just use FormView?

and for not showing empty fields then use If Then Else Statements
__________________
David Downey
CEO, President
Davez Designz -
Please login or register to view this content. Registration is FREE
DavezDesignz is offline
Reply With Quote
View Public Profile Visit DavezDesignz's homepage!
 
Reply     « Reply to cutomizing details view
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14277 seconds with 12 queries