Empty Datagrid

  • Thread starter Thread starter Davef
  • Start date Start date
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)
______________________
 
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".
 
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.
 
Back
Top