Hi Zaphod,
Thanks for your posting. As for this question I've seen your another thread
in the
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: GridView without DataSource
I've posted my reply there. If you feel convenient that we continue to
discuss in that thread, please feel free to followup there.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: RowEditing without ObjectDataSource (x posted from
....adonet)
| thread-index: AcYNqHaZkjLlWrS8QZK7jWI8RsGdhQ==
| X-WBNR-Posting-Host: 4.36.209.2
| From: "=?Utf-8?B?SmltIEthdHo=?=" <ZaphodB@nospam.nospam>
| Subject: RowEditing without ObjectDataSource (x posted from ....adonet)
| Date: Fri, 30 Dec 2005 17:21:02 -0800
| Lines: 20
| Message-ID: <3F07B297-9C4E-4F6A-93FB-F9E02EE6966E@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet.datagridcontrol
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet.datagridcontrol:14993
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.datagridcontrol
|
| I have an application that updates a strongly typed data set at run time.
| I'd like to dynamically create a table that connects to a run time data
| table. For displaying the data, this works well. I just set the
| GridView.DataSource once, and call DataBind();
|
| I'd like to drive the application from the GridView control, by including
| command buttons that allow editing of the data. Starting out simple, I
| have a DataTable with a boolean "use" field (read-write) and a number
field
| (read-only).
|
| I'd like to have an Edit button allow me to toggle the boolean checkbox
| (which will be bound to the "use" field
|
| Now, this data is not connected to a DataSource, so I'd like to know what
I
| have to do in the GridView's RowEditing event handler to make the
GridView's
| selected row editable.
|
| --
| Senior Developer
| Transform Pharmaceuticals
|