No announcements
Found 2910750 threads
-
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 | 47517 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
how can i check if the index of the array exist?
Do you mean: 1 The array has enough entries so that currentRecord is a valid index?Answered | 9 Replies | 39831 Views | Created by MouseDown - Sunday, May 6, 2012 5:27 PM | Last reply by Riced - Sunday, May 13, 2012 10:31 PM -
0 Votes
Proper Way to Check For an Existing Index?
From http://msdn.microsoft.com/en-us/library/ms177623.aspx: { Every index will have a corresponding statistics ...Answered | 6 Replies | 3592 Views | Created by Pelalusa - Sunday, September 28, 2014 2:45 AM | Last reply by SoHelpMeCodd - Sunday, September 28, 2014 7:10 PM -
0 Votes
Regarding DataRow and Rows from Database
And, BTW, there's something else that I didn't see when I was answering - your DataRow variable "dr" is obsolete there - all you need is the index of the row.Answered | 4 Replies | 3678 Views | Created by PrabhatKhadka - Wednesday, August 11, 2010 1:47 PM | Last reply by PrabhatKhadka - Monday, August 16, 2010 12:13 PM -
0 Votes
Check if the Row (With a particular name) exists in DataSet
foreach (DataRow metadataDR in metadata.Tables[1].Rows) { ...Answered | 3 Replies | 6684 Views | Created by MituD - Tuesday, April 21, 2009 8:44 PM | Last reply by Michael L. Wagner - Tuesday, April 21, 2009 8:59 PM -
0 Votes
Select DataTable, I want to get to the DataRow[], according to DataRow[] to obtain the existing line numbers in DataTable
"); //Get index of the first element is rows Index int = dataTable.Rows.IndexOf ...Answered | 4 Replies | 651 Views | Created by PoolSlide - Tuesday, January 5, 2016 9:47 AM | Last reply by PoolSlide - Thursday, January 7, 2016 10:11 AM -
2 Votes
If DataRow exists
<a href=">VB Forums - moderator I just want to if this row exists and value in column Avvikelse > ...Answered | 4 Replies | 433 Views | Created by Majed Abbas - Sunday, April 24, 2016 5:07 AM | Last reply by Majed Abbas - Monday, April 25, 2016 8:10 PM -
1 Votes
how to order(index) of datagridview row?
Hi,i hope it will help you EnumerableRowCollection<DataRow> query = from cust in dtCust.AsEnumerable() where ...Answered | 5 Replies | 4568 Views | Created by NewProgammer - Tuesday, October 13, 2009 8:14 AM | Last reply by Gnanadurai - Wednesday, October 14, 2009 7:16 AM -
2 Votes
How to Make a Copy of a DataRow's Values
While it is a bit more cumbersome than ideal, it makes sense that I need to instantiate a DataRow to house the original values, after which I only need to Clone the ItemArray each ...Answered | 3 Replies | 1326 Views | Created by Cincy Steve - Saturday, April 2, 2016 4:58 PM | Last reply by Cincy Steve - Thursday, April 7, 2016 6:59 PM -
2 Votes
How to check if stats exists on a table
in those cases you need to manually update the statistics. you need to note rebuild task will automatically update teh statistics. re-organise task do not update the statistics. ...Answered | 4 Replies | 3594 Views | Created by Neilcse - Monday, November 12, 2018 6:23 PM | Last reply by Kumar muppa - Tuesday, November 13, 2018 2:52 AM -
16 Votes
Adding rows from datatable into a DataRow
Field length limitation means 'file name checking'.Answered | 68 Replies | 4662 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
How to find a row exists in datagridview and append it to the last row of the datagridview
The first row has index 0 and the second row has index 1.Answered | 1 Replies | 3302 Views | Created by Murali369 - Monday, September 27, 2010 3:27 PM | Last reply by Fábio Franco - Monday, September 27, 2010 5:49 PM -
1 Votes
how to clear DataRow..?
Fine, Thanks for reply, Actually That is only Example, Each Loop, I want Clear a DataRow and Freshly add the rows.Answered | 4 Replies | 17873 Views | Created by Reddiyar - Tuesday, October 5, 2010 2:53 AM | Last reply by jwavila - Tuesday, October 5, 2010 4:40 PM -
3 Votes
How to sort list of datarow?
One way to to create a class which inherits from Comparer(Of DataRow) - this will force you yo implement a Compare() method within the class.Answered | 4 Replies | 10517 Views | Created by abc2088 - Friday, August 5, 2011 6:39 PM | Last reply by Reed Kimble - Friday, August 5, 2011 9:03 PM -
0 Votes
Issue using a DataRow instance in class
If increment is an integral index then the (zero-based) index must be less than the # of elements in the Rows property.Answered | 6 Replies | 1517 Views | Created by kpearson272 - Thursday, June 20, 2013 1:05 PM | Last reply by kpearson272 - Thursday, June 20, 2013 6:40 PM -
2 Votes
Determine a DataTable Row index from a DataGridView
DataGridView1.DataMember]; //TO FIND INDEX OF ROW SELECTED DataRow findRow = ...Answered | 6 Replies | 29791 Views | Created by McWhirter - Sunday, May 7, 2006 2:20 PM | Last reply by meetBinu2003 - Monday, April 23, 2012 7:05 PM -
0 Votes
DataRow from SqlDataReader
You would have to map data out of the datareader by column ordinal position and map it to a datarow column name or ordinal position using an index and do it column by ...Answered | 2 Replies | 4794 Views | Created by iAMFA - Thursday, August 8, 2013 3:40 AM | Last reply by iAMFA - Thursday, August 8, 2013 5:23 AM -
0 Votes
How to check the efficiency of the index?
I have a table say "Table_A" which has no indexes.Answered | 8 Replies | 2284 Views | Created by Rajkumar5055 - Tuesday, April 3, 2012 7:11 AM | Last reply by Uri Dimant - Tuesday, April 3, 2012 8:00 AM -
0 Votes
How To Know DataRow Field DataType
Something like this: public void ConvertAndSet(ref DataRow SetTo, DataRow ConvertFrom, int SetToColumn = 0, int ...Answered | 8 Replies | 1126 Views | Created by Sushil Agarwal - Thursday, July 9, 2020 4:25 AM | Last reply by BonnieB - Friday, July 10, 2020 5:23 AM -
2 Votes
Difference between checking count(*) and if Exists
Exists() Check existence of any result but after preparing result , probably you have expensive column or index , you can use some thing like ...Answered | 10 Replies | 9289 Views | Created by Ranga1 - Friday, May 4, 2012 5:49 PM | Last reply by nanurahi - Sunday, May 13, 2012 12:15 PM - Items 1 to 20 of 2910750 Next ›
No announcements