Re: Hide datagrid new row

From: Marco (nospampleasesyxxpk_at_hotmail.com)
Date: 01/28/05


Date: Fri, 28 Jan 2005 14:29:17 -0500

That worked, thanks for the help.

"Doug Crabtree" <not@gonna.tell> wrote in message
news:WsOdnYkNLr-4DGfcRVn-hA@comcast.com...
> Base it on a DataView instead of a DataTable. Set the DataView.AddNew to
> false.
>
> Doug Crabtree
> "Marco" <nospampleasesyxxpk@hotmail.com> wrote in message
> news:%23NmJP1WBFHA.2192@TK2MSFTNGP14.phx.gbl...
>> Is there a way to hide the new row in a datagrid without setting it to
>> read only? I want to be able to still edit the values in it but I should
>> not be able to create any new ones.
>>
>
>



Relevant Pages

  • Re: Using datagrid
    ... there's a selected item index property you can access SelectedIndex property ... > I have a datagrid that bounds by dataview with edit button on each row. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Using datagrid
    ... I have a datagrid that bounds by dataview with edit button on each row. ... it goes to another page for editing purpose only. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Hide datagrid new row
    ... Base it on a DataView instead of a DataTable. ... Doug Crabtree ... "Marco" wrote in message ... I want to be able to still edit the values in it but I should ...
    (microsoft.public.dotnet.languages.vb)
  • Submitting updates from a datagrid
    ... I have a datagrid that the user can use to edit a dataset (through a ... dataview that prevents adding rows). ... If the user modifies a row in ... How can I get the datagrid to save the changes of the row currently being ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Datatable interer Original-Index beim Sortieren
    ... Du brauchst beim DataGrid keine Datenbank. ... Grid holt sich die Daten aus einem Puffer. ... DataView usw. sein. ... legt über die eigentliche DataSource eine ArrayList, ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)