473,395 Members | 1,701 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,395 software developers and data experts.

bridview doesn't appear if table is emtpy

I'm using a gridview bound to an SqlDataSource. If the table is empty the
gridview doesn't appear on the page. Is there a way I can force the empty
gridview to appear to allow inserting new rows?

Thanks much.
Mar 19 '06 #1
2 1140
http://msdn2.microsoft.com/en-us/lib...atemplate.aspx
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Dabbler" wrote:
I'm using a gridview bound to an SqlDataSource. If the table is empty the
gridview doesn't appear on the page. Is there a way I can force the empty
gridview to appear to allow inserting new rows?

Thanks much.

Mar 19 '06 #2
Thanks!

"Phillip Williams" wrote:
http://msdn2.microsoft.com/en-us/lib...atemplate.aspx
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Dabbler" wrote:
I'm using a gridview bound to an SqlDataSource. If the table is empty the
gridview doesn't appear on the page. Is there a way I can force the empty
gridview to appear to allow inserting new rows?

Thanks much.

Mar 19 '06 #3

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

Similar topics

3
by: Steven Scaife | last post by:
Below is my ASP page, I have changed the update to read DRIAL which doesn't exist, shouldnt this throw an error, or if the connection cannot be made shouldnt it throw an error as well thanks in...
3
by: Iver Erling Årva | last post by:
Can anyone please tell me why this doesn't work? The sign changes when I hit the button, and I get no error messages, but the textarea doesn't disappear/reappear. <html> <head> <title>New...
2
by: mortb | last post by:
I create a table containing radiobuttons in client script depending on what choices the user makes. It works fine the radio buttons appear *but* they are *not clickable*. Why? Is there a solution?...
4
by: MLH | last post by:
I have tblVehicles and tblOwners. The former has a field that is link to a unique owner in tblOwners. Trouble is, not every vehicle can be identified with an owner. So I want to be able to leave...
1
by: ad | last post by:
I use RangeValidator to validate a textbox from 1 to 5 But if the user left the TextBox empty, the RangeValidator take no action. Can RangeValidator Chek emtpy value?
7
by: fintudet | last post by:
Hello. During some experimentation with DB2 decimal numbers representations, I have discovered very unexpected behaviour of the global temporary table. Consider this example. Such I had...
2
by: js | last post by:
Hi list. I'm writing a tail -f like program in python and I found file.read() doesn't work as I think it should. Here's the code illustrating my problem. ### #!/usr/bin/env python import...
5
by: Matt | last post by:
Hi there, I'm working with a bit of a messy query but I'm not looking for tips on improving it (it's been a headache enough, haha). Basically, my site posts articles written by multiple...
2
by: iamrakeshhere | last post by:
I want to add a New Emtpy Row on Button Click bt it should Call Some global function and adds a dynamic Emtpy row to Data Grid and If I specify some values to it then insertion should perform Can...
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.