Print Page | Close Window

Getting a specific field from a datatable

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=13201
Printed Date: 27 Apr 2024 at 10:33am


Topic: Getting a specific field from a datatable
Posted By: Matheuus
Subject: Getting a specific field from a datatable
Date Posted: 13 May 2011 at 6:05am
Hello everybody !

How can i get a specific column in a specific line from a DataTable with C# ?

I need reorder this datatable to make my Report.

Example:

Imagine that the number sequence below are columns and lines from a datatable. How can i get the number "2" in C# ?

     1 1 1
     1 2 1
     1 1 1

Thanks for the help....



Print Page | Close Window