No announcements
Found 2378842 threads
-
2 Votes
convert datarow to datarowview
Reply to an old post, but just want I needed to get a DataTable bound to a WPF form.Answered | 5 Replies | 36046 Views | Created by JerberSoft - Tuesday, January 15, 2008 12:10 PM | Last reply by dweezilb - Wednesday, August 26, 2015 3:27 AM -
0 Votes
Import datarow to the datatable
My datatable's row is datarow.Answered | 5 Replies | 2546 Views | Created by ardmore - Monday, May 21, 2012 1:30 PM | Last reply by Bob Wu-MT - Wednesday, May 23, 2012 6:27 AM -
6 Votes
converting a datagridviewrow to a datarow
But I made a function that will allow you to send a dataGridView and get a DataTable in return.Answered | 16 Replies | 82329 Views | Created by smtraber - Tuesday, March 14, 2006 7:18 AM | Last reply by fs - ab - Saturday, June 4, 2016 3:33 PM -
0 Votes
Set DataRows in DataTable ReadOnly
Be aware you can set a column in a datatable readonly (a datacolumn can even have a name) There is no readonly property for DataRows, that is a type ...Answered | 3 Replies | 8818 Views | Created by Ryan0827 - Friday, March 2, 2012 1:51 PM | Last reply by Mike Feng - Thursday, March 8, 2012 3:36 PM -
0 Votes
Can't add DataRow to DataTable
I solved the problem by adding the row as soon as I created it, like this: DataRow row = myDataTable.NewRow(); myDataTable.Rows.Add(row); row[1] ...Answered | 6 Replies | 5519 Views | Created by gib65 - Wednesday, January 15, 2014 11:41 PM | Last reply by gib65 - Thursday, January 16, 2014 3:45 PM -
1 Votes
Can't Convert IEnumerable<DataRow> to DataTable
You can directly do it as, Func<string, IEnumerable<DataRow>> GetRow = (s) => Table.select( ...Answered | 2 Replies | 3936 Views | Created by Ramkumar.B - Saturday, February 23, 2013 1:09 PM | Last reply by Adavesh - Monday, February 25, 2013 12:34 PM -
0 Votes
Select DataTable, I want to get to the DataRow[], according to DataRow[] to obtain the existing line numbers in DataTable
For example, For (I int = 0; I < i++; rowCount) It should be for( int I = 0; I < rowCount; I++ ) So I am just according to your ...Answered | 4 Replies | 569 Views | Created by PoolSlide - Tuesday, January 5, 2016 9:47 AM | Last reply by PoolSlide - Thursday, January 7, 2016 10:11 AM -
0 Votes
How to get a DataRow index in a DataTable?
You can use the DataTable.Select method and then use the DataTable.Rows.IndexOf method, as described here: ...Answered | 1 Replies | 46454 Views | Created by s liu - Monday, January 23, 2012 6:38 PM | Last reply by Marco Minerva - Monday, January 23, 2012 6:47 PM -
3 Votes
Dataset - DatagridView - BindingSource - DataTable - DataRow
To get at the DataTable, case the BindingSource.DataSource to a DataSet then access .Table[0] or .Table(0).Answered | 5 Replies | 1728 Views | Created by Markus Freitag - Thursday, May 3, 2018 4:49 PM | Last reply by Stanly Fan - Friday, May 11, 2018 1:29 AM -
1 Votes
Convert dictionary to datatable.
I tried both ways but the application gets an exception error: " Stacktrace: at System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID, Int32 ...Answered | 7 Replies | 33812 Views | Created by gft_1 - Wednesday, December 28, 2011 12:44 AM | Last reply by gft_1 - Wednesday, December 28, 2011 5:28 PM -
0 Votes
Adding Datarow to Datatable set as DataContext Giving error
Well, if the column doesn't allow NULL values you'll have to give it a value or use the default value that you can specify on the column ...Answered | 3 Replies | 2751 Views | Created by pmjn - Sunday, June 30, 2013 5:55 AM | Last reply by Magnus (MM8) - Saturday, July 6, 2013 3:25 PM -
1 Votes
Merge DataTable into one in the same DataRow
Keep in mind that I did not convert Columns "A" ToStrings in both DataTables because they are not strings -- they are whole numbers/integers.Answered | 3 Replies | 4201 Views | Created by jesh1987 - Sunday, October 23, 2011 11:02 AM | Last reply by jamesfreddyc - Tuesday, October 25, 2011 1:04 PM -
3 Votes
How to convert this LINQ Result to DataTable
@VijayPrativadi, Just do a little complement LINQ to DataSet is to work with DataTable, and DataSet objects You need to ...Answered | 4 Replies | 5082 Views | Created by VijayPrativadi - Thursday, April 30, 2015 3:10 AM | Last reply by VijayPrativadi - Saturday, May 2, 2015 3:10 PM -
0 Votes
how to convert datarow to datagridviewrow c#
Dim dt As New DataTable dt.Columns.Add( "Column1", GetType(Integer)) dt.Columns.Add( "Column2",Answered | 2 Replies | 14794 Views | Created by cihan kaya - Tuesday, July 28, 2009 9:26 AM | Last reply by _SuDhiR_ - Tuesday, July 28, 2009 10:18 AM -
1 Votes
Datatable Select not working for DataRow[]
Put everytime all datarow in the same global object result if that is equal to that str.Answered | 3 Replies | 920 Views | Created by ID GO - Tuesday, August 23, 2016 10:36 AM | Last reply by Cor Ligthert - Wednesday, August 24, 2016 11:38 AM -
16 Votes
Adding rows from datatable into a DataRow
when i try to add something in the datatable then the button2 is also working great sir........and is added in the database accordinglyAnswered | 68 Replies | 4525 Views | Created by Tommy_in_.net - Monday, December 28, 2009 5:31 AM | Last reply by Renee Culver - Monday, December 28, 2009 8:46 PM -
0 Votes
Convert datarow value to int32
intCountLoc = (int)row["Count"] + 1; should be: intCountLock = Convert.ToInt32(row["Count"]) + 1;John ...Answered | 5 Replies | 19583 Views | Created by Victor Palma - Thursday, December 18, 2008 12:05 AM | Last reply by JohnGrove - Monday, December 22, 2008 2:19 PM -
2 Votes
have trouble inserting a datarow into a datatable filled by a sqlDataAdapter
A datatable holds in fact datarows (and dataviews).Answered | 11 Replies | 910 Views | Created by fs - ab - Saturday, April 7, 2018 5:10 AM | Last reply by fs - ab - Monday, April 9, 2018 5:49 PM -
0 Votes
convert datatable column values double[]
IdahoSixString, thanks for your reply i must be in the position to cast because from database it comes as string. so i have to cast. can ...Answered | 4 Replies | 13040 Views | Created by Born2Achieve - Friday, February 7, 2014 5:14 PM | Last reply by IdahoSixString - Friday, February 7, 2014 8:36 PM -
1 Votes
Convert DataGrid To DataTable
try this public static DataTable DataGridtoDataTable(DataGrid dg) { dg.SelectAllCells(); ...Answered | 3 Replies | 16175 Views | Created by Anatoliy50 - Monday, July 18, 2011 6:35 PM | Last reply by Faztrick - Sunday, February 23, 2014 6:03 AM - Items 1 to 20 of 2378842 Next ›
No announcements