Empty Datagrid

D

Davef

Is there a way I can replace the datagrid with text "No recored returned" if
there is no data?

--

______________________
David Fetrow
HelixPoint LLC.
http://www.helixpoint.com
(e-mail address removed)

Interested in Affordable Email Marketing?
Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp
If you are interested in becoming a Reseller of HelixPoint products, contact
(e-mail address removed)
______________________
 
J

John Saunders

Davef said:
Is there a way I can replace the datagrid with text "No recored returned" if
there is no data?

Yes. Use a Label with your message in it, and a DataGrid. Make the label
Visible="False".

If there's no data, make the Label Visible="True" and the DataGrid
Visible="False".
 
J

John Saunders

MS News (MS ILM) said:
John,

You are a person endowed with transcendent mental superiority
How many agree?
I do

I don't.

I only recently learned this lesson: "render all, display one" . I've been
doing ASP.NET for two years, and only learned this a month ago!

That's hardly transcendant.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top