Solved

How to retrieve data from a datagrid

Posted on 2004-05-01
2
307 Views
Last Modified: 2010-04-15
I have a datagrid, and I am having a problem retrieving data from it at runtime. I use dataGrid1.CurrentRowIndex which gives me the current selected row, but I how do I proceed to retrieve that data that is stored in the first column in that row? I want to retrieve the data from the datagrid directly, not from the datagrids datasource (which is a dataset).
0
Comment
Question by:astensland
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 10967704
0
 

Author Comment

by:astensland
ID: 10971104
Thak you, that did the trick!!!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question