Solved

How to retrieve data from a datagrid

Posted on 2004-05-01
2
304 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…

810 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