Re: Identify selected row in the DataGrids underlying datatable...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Trygve Lorentzen (trygveloAThaldenDOTnet)
Date: 03/17/04


Date: Wed, 17 Mar 2004 18:55:39 +0100

Forgot to mention that this a Windows App and that it doesn't really matter
how I do this as long as I get the Primary key column(s) of the row that is
currently selected (or clicked).

"Trygve Lorentzen" <trygveloAThaldenDOTnet> wrote in message
news:ux8YybEDEHA.3080@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I need to identify which row is selected in a DataGrid bound to a
DataTable.
> How do I do this, I'm pretty lost atm and need to make a demo work for
> tomorrow. Please help...
>
> Cheers,
> Trygve
>
>



Relevant Pages

  • Re: PK fields on a table
    ... The Primary Key is indexed to a Block Storage/Memory Address in a seperate table, ... What does matter is the size of the Primary Key field, ...
    (microsoft.public.sqlserver.programming)
  • Re: ODBC linked table - primary key
    ... guidance on WHY MS Access asks for a primary key on ODBC linked tables. ... read-only link. ... I'm contending that it shouldn't matter, ... This can make queries and filters misbehave. ...
    (microsoft.public.access.tablesdbdesign)
  • Too many args when running a stored procedure
    ... no matter how many i try to add, i thought i would try to insert the primary ... key only and work up from there but the primary key insert didnt work ... (@JobNumber) ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Programmatically enumerate classes?
    ... any given class constitute the primary key. ... Strictly speaking, it's not absolutely ... Looks like it's just a matter of iterating over all the Properties, ...
    (microsoft.public.win32.programmer.wmi)
  • WebBrowser Control and window.open
    ... I would like to embed an IE browser into a Windows app (WPF or FormsApp ... doesn't matter). ...
    (microsoft.public.win32.programmer.ui)