473,385 Members | 1,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to extract a single column from a datatable to an other datable ?


hello,
I need to do the described operation,
I thought this should be possible with a DataTable.Select but, it returns an
array of rows,
and this is not good for performance as i have to repackage all this to a
datatable.

Is there a better way of doing this?
Many thanks in advance
JB
Nov 19 '05 #1
0 1019

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

Similar topics

1
by: Antonio Ooi | last post by:
Hi, I did this but failed: dtbResultConfig.Rows(0).BeginEdit() ' Hit a 'Column 'FKTableName' is read only error at the line below dtbResultConfig.Rows(0)("FKTableName") = "something"...
0
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...
3
by: Tim::.. | last post by:
Can someone please tell me how I add information to a datatable! I already have some information that has been pulled from an Active Directory Database but I want to add additional information...
4
by: Fred Nelson | last post by:
Hi: I have built and loaded a datatable with three columns and defined the first as a primary key as below: ' define datatable dim fvtable as new DataTable dim fvrow as DataRow...
5
by: Bruce D | last post by:
Is there a way to programatically set the format of just one column in a datagrid? I have a datagrid bined to a datasource. My dataview has 6 columns. And I want to format one column...
6
by: Sam | last post by:
Hi Here is my code : Code: Dim dt As New DataTable dt.Columns.Add.ColumnName = "New" dt.Columns("New").DataType = System.Type.GetType("System.String") dt.Columns.Add.ColumnName = "Id"...
7
by: wk6pack | last post by:
Hi, How do I check datatable.select(filter) in the following: for each dtrow in datatable.select(filter) .... next I've also tried:
1
by: Sam | last post by:
Hi, I have filtered a datatable using a dataview. Afterward, I get the datarow indices of the datable of the rows that are contained by the dataview: Dim MyIndex As New ArrayList For Each...
1
by: mcfly1204 | last post by:
As it stands now, I have a tab delimited source file with data to be used by my app. Currently, I am reading the file into a datatable, but I need to group the rows of the datatable and use that...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.