Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Eric Zhao #1
Detailsview empty dataset insert
My details view is in insert mode and my dataset is empty but the details
view doesnt show.
who can help me, how to do?
Also I tried to set the defaultmode to insert mode, but i found i can't
cancel the inserting.
thanks in advance.
Eric Zhao Guest
-
Extending the DetailsView
Hey! I need to get a start at extending the DetailsView control. I tried overriding a few methods like CreateRow, but all my Controls.Adds would do... -
Questions concerning detailsview or datagrid ASP.NET 2.0
Hello, first of all - let me introduce myself. I am a german ColdFusion developer since 1997. I watched the development of Asp.net for a few... -
Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset
Hi All, I am facing problem in copying content of table from a untyped dataset into to a table inside the typed dataset. I wanted to copy the data... -
Checking for Empty Dataset -- Simple Question
Can anyone tell me how to check and see if a dataset is empty? I am writing a search function that returns a dataset and binds it to a datagrid.... -
Brock Allen #2
Re: Detailsview empty dataset insert
What DataSource control are you using? The problem is that the DetailsView
needs to know a 'template' of what the insert data should be, so it calls
the SelectMethod to get an example of what to automatically build for ther
insert. If you're using an ODS and your select method returns null then the
DetailsView has no idea what fields to make available.
The other solution is to build the InsertTemplate for each value manually.
-Brock
DevelopMentor
[url]http://staff.develop.com/ballen[/url]
> My details view is in insert mode and my dataset is empty but the
> details view doesnt show.
>
> who can help me, how to do?
>
> Also I tried to set the defaultmode to insert mode, but i found i
> can't cancel the inserting.
>
> thanks in advance.
>
Brock Allen Guest



Reply With Quote

