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

Posts: 48
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
 
When You Register, These Ads Go Away!
     
Old 04-24-2006, 05:57 AM Re: cutomizing details view
Experienced Talker

Posts: 48
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, 12:27 PM Re: cutomizing details view
DavezDesignz's Avatar
Average Talker

Posts: 28
Location: Amherst, Nova Scotia, Canada
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 - http://www.davezdesignz.com
DavezDesignz is offline
Reply With Quote
View Public Profile Visit DavezDesignz's homepage!
 
Reply     « Reply to cutomizing details view
 

Thread Tools

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

vB 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.13448 seconds with 13 queries