473,516 Members | 3,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataTable properties and methods

s there a good primer on DataTables out there?

Mainly I am looking for an article that lists the properties and methods
(with examples) on the different properties you can use with a DataTable.
For example:

Rows
Rows.Count
Clone
CopyTo
NewRow
Columns.Count
ColumnName
Clear()
Rows.Clear()
DataColumn
DataRow
DataRow()

I am looking for mainly a reference article that has all the properties and
methods. I always need to google the DataTable to find the needed
properties and methods because I can't remember all the formats for them.

Thanks,

Tom
Jun 20 '07 #1
1 1135
On Jun 20, 4:24 pm, "tshad" <t...@home.comwrote:
s there a good primer on DataTables out there?

Mainly I am looking for an article that lists the properties and methods
(with examples) on the different properties you can use with a DataTable.
For example:

Rows
Rows.Count
Clone
CopyTo
NewRow
Columns.Count
ColumnName
Clear()
Rows.Clear()
DataColumn
DataRow
DataRow()

I am looking for mainly a reference article that has all the properties and
methods. I always need to google the DataTable to find the needed
properties and methods because I can't remember all the formats for them.

Thanks,

Tom
The first place I would look is the MSDN documentation. That might
sound obvious or patronizing (though I hope you don't take it that
way), but seriously, there's a lot of good information in there.

Jun 21 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6477
by: Rakesh Rajan | last post by:
Hi, I have a method, which opens a connection, creates an untyped datable, fills it and returns it back. I have defined a typed datatable in my application as well. For some reasons, I have to call the above mentioned method to get data. Unfortunately, as it returns an untyped datatable, I can't assign my typed datatable variable this value...
1
1796
by: jason | last post by:
Hello everyone, I have some general questions about the DataTable object, and how it works. Moderately new to C#, I have plenty of texts describing the language, but not so much to reference ADO.NET objects (only the MSDN help files). I have written a C# Class Library that is responsible for encapsulating database information. All the...
0
1926
by: Tim::.. | last post by:
Can someone please tell me how I create a hyperlink column in a datatable... I have the following Sub that creates a datatable from my Active Directory but I would like to be able to turn the email column into a link so it automatically opens an email! I realise I have to create a mailto: link but am not sure how you create a link column...
2
1241
by: deko | last post by:
This is something of a design question. I have WinForms app that requires persisting a bunch of user settings. The app maintains a number of "Projects" that contain a variety of parameters, many of which are Array objects. Can I store all these things in a DataTable and just serialize/deserialize the DataTable to XML when the app starts?...
10
3693
by: D. Shane Fowlkes | last post by:
I have a function that is called in page_load and the purpose of this function is to look up basic data in a MSSQL table and return it in the form of a datatable. The page_load will read the data and then fill a few simple labels. **Assuming** that I wrote the function properly, how exactly can I write the page_load sub to read the data...
4
5993
by: Rich | last post by:
Hello, I need to store various values that I will need to look up later on. I have been using hashtables and arraylists. But I can only store 2 items per row in a hashtable - key, value, and only 1 item in an arraylist. Or, I could create a class with various members and store that in a collection, or a structure, ... I was thinking,...
15
13483
by: Joseph Geretz | last post by:
I'm a bit puzzled by the current recommendation not to send Datasets or Datatables between application tiers. http://support.microsoft.com/kb/306134 http://msdn2.microsoft.com/en-us/library/ms996381.aspx Formerly, with classic Microsoft DNA architecture, the ADO Recordset was a primary transport medium, recommended for transmitting data...
3
2586
by: tshad | last post by:
Is there a good primer on DataTables out there? Mainly I am looking for an article that lists the properties and methods (with examples) on the different properties you can use with a DataTable. For example: Rows Rows.Count Clone CopyTo
5
4456
by: Sergio Montero | last post by:
I have a MustInherits Base class that implements a custom IDataLayer interfase. IDataLayer expose CRUD methods. Base class constructor requires two parameters: ConnectionString TableName Another assembly, sharing the root namespace, contains a set of Custom attributes used to validate properties values, just like the Validation...
5
1994
by: jehugaleahsa | last post by:
Hello: I am trying to find what is the very best approach to business objects in Windows Forms. Windows Forms presents an awesome opportunity to use DataTables and I would like to continue doing so. I have worked with dynamically generated DataTables with customized DataRows. However, these classes are usually pretty limited. For...
0
7273
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7182
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7574
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3265
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1620
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.