No announcements
Found 2777034 threads
-
3 Votes
Select from datatable into a csv
Hi rowter, Agree with Cor , Mitja and JiangSheng, also you can find this has been ...Answered | 7 Replies | 5501 Views | Created by rowter - Thursday, May 19, 2011 7:12 PM | Last reply by Helen Zhou - Friday, May 20, 2011 8:24 AM -
2 Votes
Dynamic Selection from a DataTable
Select("[Course Code] like ' " & txtFilterText.Text & "%'") Dim aDt As DataTable If aDataRow.Length <> 0 Then ...Answered | 2 Replies | 4517 Views | Created by Rockeyey - Monday, September 27, 2010 5:28 AM | Last reply by BonnieB - Wednesday, September 29, 2010 4:02 PM -
1 Votes
comparing two datatables
You can write a couple of loops, something like For Each myRow As DataRow in myTable.Rows Dim filter As String = String.Format("RawMaterialCode='{0}'", ...Answered | 1 Replies | 1723 Views | Created by tendaimare - Sunday, August 5, 2012 11:25 AM | Last reply by Sergey Poberezovskiy - Sunday, August 5, 2012 10:46 PM -
0 Votes
combine fields from two datatables into one
Josh, Merging the two DataTables is an option if they use the same key column, or set of columns.Answered | 1 Replies | 5482 Views | Created by Josh Martin - Wednesday, April 28, 2010 10:24 PM | Last reply by David Sceppa - Thursday, April 29, 2010 6:57 AM -
1 Votes
Joining two datatables using LINQ
DataTable 'dtStruct' is populated from this typed data set.Answered | 6 Replies | 5798 Views | Created by Amit Shigwan - Friday, February 25, 2011 1:12 PM | Last reply by Amit Shigwan - Wednesday, March 2, 2011 9:51 AM -
0 Votes
MERGE TWO DATATABLES
Have a look in BOL to MERGE-Statement: http://msdn.microsoft.com/en-us/library/bb510625.aspx MERGE Production.ProductInventory AS target USING ...Answered | 3 Replies | 3868 Views | Created by Hari nvp - Monday, July 26, 2010 5:59 AM | Last reply by eralper - Monday, July 26, 2010 7:15 AM -
5 Votes
Create new datatable by linking two other datatables
Is it still called a query when you just compare two datatables?Answered | 11 Replies | 3432 Views | Created by SimeonD - Thursday, May 27, 2010 2:56 PM | Last reply by JohnGrove - Friday, May 28, 2010 3:53 PM -
3 Votes
how to compare two DataTable
using System; using System.Data; using System.Linq; class Program { static void CompareRows(DataTable table1, DataTable table2) { foreach ...Answered | 7 Replies | 4605 Views | Created by K.Nehra - Monday, January 3, 2011 12:00 PM | Last reply by Louis.fr - Monday, September 3, 2012 7:03 AM -
0 Votes
Comparing two datatables
Hi YOu can use writexml method to compare 2 Datatable Easily Try this ...Answered | 3 Replies | 4138 Views | Created by jman23 - Thursday, May 20, 2010 2:14 PM | Last reply by Dharmalinga Raja - Thursday, May 20, 2010 5:15 PM -
5 Votes
Merge Two Datatables
DataTable tb = new DataTable("users1"); DataTable tb2 = new DataTable("users2"); ...Answered | 8 Replies | 2965 Views | Created by Muhammad Rizwan Mehdi - Wednesday, September 19, 2012 9:34 AM | Last reply by Muhammad Rizwan Mehdi - Thursday, September 20, 2012 5:20 AM -
0 Votes
select in datatable
where as for var, instructs the compiler infer the type for the best available from the right side expression.Answered | 2 Replies | 1776 Views | Created by azolfaghari - Thursday, May 10, 2012 1:57 PM | Last reply by Kris444 - Thursday, May 10, 2012 6:46 PM -
1 Votes
Two Datatables Need Vlook.
https://msdn.microsoft.com/en-us/library/bb552415%28v=vs.110%29.aspx It may even be faster just to query the database (using SQL) instead of the DataTable.Answered | 2 Replies | 479 Views | Created by ID GO - Wednesday, June 22, 2016 6:26 AM | Last reply by Paul P Clement IV - Wednesday, June 22, 2016 12:26 PM -
0 Votes
How to get same Items Exist in two Datatables in third datatable
Meaning I Have two datatables First Data table is dt Get data from Excel .Answered | 3 Replies | 1045 Views | Created by engahmedbarbary - Tuesday, September 25, 2018 12:49 AM | Last reply by engahmedbarbary - Tuesday, September 25, 2018 10:28 AM -
0 Votes
Ordering a Datatable according to two columns
Hi abc2088, You can use DataTable.Select method to sort the datatable based on that two columns.Answered | 2 Replies | 2065 Views | Created by abc2088 - Tuesday, August 9, 2011 7:32 PM | Last reply by Kee Poppy - Thursday, August 11, 2011 7:54 AM -
1 Votes
Datatable Select with Multiple condition
(int)w["Id"] == 2 && (int)w["Status"] == 0) .Select(s => s).CopyToDataTable(); //1 result ...Answered | 5 Replies | 43130 Views | Created by Vinaya Kumar - Wednesday, June 13, 2012 3:13 PM | Last reply by Louis.fr - Thursday, June 14, 2012 9:58 AM -
0 Votes
Best Way to marge two datatable
DataTable.Select() is the slowest way to get data back from a datatable.Answered | 3 Replies | 2282 Views | Created by dralialadin - Saturday, May 19, 2012 6:29 PM | Last reply by jo0ls - Sunday, May 20, 2012 8:56 AM -
1 Votes
two dimensional array to datatable
VB.net Dim mdArray As String(,) = New String(2, 2) {{"a", "b", "c"}, {"d", "e", "f"}, ...Answered | 1 Replies | 24272 Views | Created by Narender Sarangi - Monday, November 21, 2011 10:27 AM | Last reply by Renjith-M-P - Monday, November 21, 2011 4:08 PM -
1 Votes
select only 10 rows from a dataTable
Can you please clarify how we get only 10 rows from this method.Answered | 6 Replies | 56465 Views | Created by motevallizadeh - Tuesday, July 19, 2011 6:46 AM | Last reply by Vikasumit - Wednesday, August 3, 2011 11:37 AM -
2 Votes
saving one datatable to two databases
************* Dim myConn As OleDbConnection = frmLogIn.Conn Dim oledbCmdBuilder As OleDbCommandBuilder Dim changes As DataTable Dim sql As ...Answered | 5 Replies | 1817 Views | Created by tendaimare - Thursday, August 9, 2012 10:17 AM | Last reply by tendaimare - Monday, August 13, 2012 12:19 PM -
1 Votes
Compare two datatables
Actually, I only need to compare the first 4 column values, but I do need to add different rows( whole row ,52 columns ) to the result datatable.Answered | 9 Replies | 12548 Views | Created by sarika - Tuesday, July 10, 2007 7:12 AM | Last reply by jmclej - Friday, December 24, 2010 4:25 PM - Items 1 to 20 of 2777034 Next ›
No announcements