473,385 Members | 1,337 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Datalist with one entry only - alternative?

when viewing a single entry from database (title, text, image, link) isn't
it a little bit too much to use a Datalist control to databind? Is there
some other control for a single entry only?
Nov 19 '05 #1
3 1036
In ASP.NET 2.0 there's both the DetailsView and FormView. If you're on ASP.NET
1.x then you'll have to code this yourself.

-Brock
DevelopMentor
http://staff.develop.com/ballen
when viewing a single entry from database (title, text, image, link)
isn't it a little bit too much to use a Datalist control to databind?
Is there some other control for a single entry only?


Nov 19 '05 #2
thx but the DetailsView seems to only allow a very basic view (field name on
left, field value on right), not quite what I'd want to view my blog
entry...

"Brock Allen" <ba****@develop.com.i_hate_spam_too> wrote in message
news:36*********************@msnews.microsoft.com. ..
In ASP.NET 2.0 there's both the DetailsView and FormView. If you're on
ASP.NET 1.x then you'll have to code this yourself.

-Brock
DevelopMentor
http://staff.develop.com/ballen
when viewing a single entry from database (title, text, image, link)
isn't it a little bit too much to use a Datalist control to databind?
Is there some other control for a single entry only?


Nov 19 '05 #3
Sure, but that's why the FormView exists -- use the template to make it look
exactly the way you want.

-Brock
DevelopMentor
http://staff.develop.com/ballen
thx but the DetailsView seems to only allow a very basic view (field
name on left, field value on right), not quite what I'd want to view
my blog entry...

"Brock Allen" <ba****@develop.com.i_hate_spam_too> wrote in message
news:36*********************@msnews.microsoft.com. ..
In ASP.NET 2.0 there's both the DetailsView and FormView. If you're
on ASP.NET 1.x then you'll have to code this yourself.

-Brock
DevelopMentor
http://staff.develop.com/ballen
when viewing a single entry from database (title, text, image, link)
isn't it a little bit too much to use a Datalist control to
databind? Is there some other control for a single entry only?


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matt Mercer | last post by:
Hi, I want to use a datalist to display the contents of a database. I want to show the database field name and the content of the field for every record returned by the select statement. For...
2
by: Scott | last post by:
I'm trying to display a table of my company's departments in a 3 column format with alternating row colors. The department names are being pulled from a database in alphabetical order. I want to...
1
by: VB Programmer | last post by:
Simple: I have a datalist that is holding a bunch of job opportunities. Beside each opp (in the item template) there's a checkbox that says "apply". After the datalist there's a button that...
1
by: William Oliveri | last post by:
Hi all, I"ve been trying to retrieve the names of each selected items in a Datalist. So I've been trying to loop through each entry in the datalist to retrieve the name of each entry. I...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.