By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,761 Members | 1,498 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,761 IT Pros & Developers. It's quick & easy.

DetailsView - the Very First Record

P: n/a
Help...

I have a brand new database table and I open the page that has a
DetailsView control that is bound to that table it does not show
anything - not even a new button - so how can I add the first record??

The reason I ask is because I have a generic page that will display
data from any table. Therefore I cannot add the row programmatically -
I have tried adding blank values (by querying the SQL Server schema
(SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE
TABLE_NAME = MyTable) but that does not work if the table has foreign
key constraints.

Feb 1 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.