No announcements
Found 1184237 threads
-
0 Votes
Adding row to datatable adds two rows
Hello Cyrille This my code, when first DataTable.Rows.Add(), it adding two rows, but next, just one row added into datagridview. is there any ...Answered | 13 Replies | 1359 Views | Created by Xan To - Friday, September 2, 2016 10:02 AM | Last reply by Xan To - Monday, September 5, 2016 11:19 AM -
0 Votes
Help with adding rows to a datatable
Hi, I'm trying to add rows to a datatable.Answered | 2 Replies | 1141 Views | Created by Greekman8888 - Monday, September 24, 2012 4:17 PM | Last reply by Youen Zen - Thursday, September 27, 2012 6:08 AM -
16 Votes
Adding rows from datatable into a DataRow
on clicking the button2,the newly added row is not added in the original database sirAnswered | 68 Replies | 4618 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 -
1 Votes
how to add rows in datatable
There's no need two datatables, just dtNew will do.Answered | 5 Replies | 5585 Views | Created by nitinsharma1983 - Tuesday, January 17, 2012 9:51 AM | Last reply by Helen Zhou - Tuesday, January 24, 2012 2:54 AM -
0 Votes
DataTable - Read Rows Dynamically
I think you probably mean Dynamically create DataTable and bind to GridView in ASP.Net, something like that?Answered | 5 Replies | 3338 Views | Created by Bhupinder_Singh - Friday, March 6, 2015 6:32 PM | Last reply by Kristin Xie - Monday, March 16, 2015 10:05 AM -
1 Votes
Datatable Select with Multiple condition
Thanks for reply, along with Id=2 and Status=0 i need rest all the rows which are having id =1 how can i do this in select ...Answered | 5 Replies | 43004 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
multiple joins on datatables
Hello, I want to generate a linq query similar to : SELECT * FROM tA LEFT OUTER JOIN tB on tA.B_ID = tB.B_ID LEFT OUTER JOIN tC on tA.C_ID = ...Answered | 1 Replies | 5594 Views | Created by heikel06 - Tuesday, February 2, 2010 3:04 PM | Last reply by eryang - Monday, February 8, 2010 10:28 AM -
0 Votes
Add row to Datatable
I have declared a datatable globaly in a application, and i assigned the datatable to the new datatable declared in the function. when i add a row or delete a ...Answered | 1 Replies | 1677 Views | Created by Rajiv Prathap - Tuesday, September 25, 2012 3:47 PM | Last reply by MasaSam - Tuesday, September 25, 2012 5:23 PM -
1 Votes
Multiple row data insertion or updation
If using DataTable, you can try RowChanged event.Answered | 5 Replies | 2018 Views | Created by stylish16 - Thursday, March 1, 2012 8:07 PM | Last reply by Bob Shen - Tuesday, March 13, 2012 2:34 AM -
0 Votes
Adding a column and filling it dynamically in DataTable
You need to create the rows at some point.Answered | 1 Replies | 1222 Views | Created by Ben Say - Thursday, November 22, 2012 4:26 PM | Last reply by Louis.fr - Thursday, November 22, 2012 4:39 PM -
0 Votes
Merge Multiple DataTables in C#
Smith, You can declare a dataset on your GetAllSiteCollections() scope and add your data table to this dataset on your iteration. i.e DataTable dt = ...Answered | 4 Replies | 19061 Views | Created by Smithspd - Thursday, May 17, 2012 9:10 PM | Last reply by Smithspd - Wednesday, May 23, 2012 7:17 PM -
0 Votes
Datagridviewrow to DataTable row C#?
I have to take each row and make 3 new rows out of 9 columns and add it to datatable.Answered | 2 Replies | 609 Views | Created by AristocratKhan - Monday, June 29, 2015 8:52 AM | Last reply by Edward8520 - Tuesday, June 30, 2015 2:09 AM -
0 Votes
update a row in a datatable
Search the row and change the value: private void button1_Click(object sender, EventArgs e) { infor.informa = textBox1.Text; for (int i = 0; iAnswered | 1 Replies | 422 Views | Created by Kmar Akrout - Thursday, August 4, 2016 9:39 AM | Last reply by DotNet Wang - Monday, August 8, 2016 9:55 AM -
0 Votes
Filter datatable rows SetColumnError RowErrors
You will have to iterate through the rows and pull out the ones you want.Answered | 6 Replies | 7011 Views | Created by Curtis Broyles - Tuesday, August 18, 2009 6:02 PM | Last reply by Kemo Sabe - Thursday, October 6, 2011 2:29 PM -
1 Votes
Remove Empty Rows on DataTable
private void RemoveEmptyRows(DataTable tmp) { int startRow = 0; for(int iRow = 0; iRowAnswered | 3 Replies | 7352 Views | Created by Dikong42 - Monday, October 10, 2016 3:50 AM | Last reply by Viorel_ - Monday, October 10, 2016 6:28 AM -
0 Votes
Print Filtered Rows Of DataTable
// Here we create a DataTable with four columns.Answered | 2 Replies | 552 Views | Created by IndigoMontoya - Tuesday, March 12, 2019 8:02 PM | Last reply by Wendy Zang - Wednesday, March 13, 2019 5:48 AM -
2 Votes
delete rows from datatable
i need to delete rowa in DataTable not in Database tableAnswered | 8 Replies | 2991 Views | Created by sivakl_2001 - Friday, February 10, 2012 2:57 AM | Last reply by Cor Ligthert - Friday, February 10, 2012 7:33 AM -
0 Votes
Use Linq to Return a Row in a DataTable
In some cases where their are no good DataSet/DataTable methods Linq can also be used, but not to obfuscate code.Answered | 8 Replies | 4754 Views | Created by Ryan0827 - Tuesday, January 24, 2012 9:22 PM | Last reply by Dig-Boy - Wednesday, January 25, 2012 1:21 PM -
2 Votes
Removing duplicate rows from the datatable
Thanku Ahmed, your suggestion is great, can you confirm if i have lot of rows in the datatables which are going to merge whether this effect the ...Answered | 5 Replies | 19531 Views | Created by mahesh chinni - Tuesday, June 10, 2008 5:33 AM | Last reply by Peter Ritchie - Thursday, June 19, 2008 7:40 PM -
2 Votes
DataTable + delete selected Rows
Hi Well, i have certain condition the user selects, based on the condition, the user will see only certain rows out of my output table, he will ...Answered | 16 Replies | 69878 Views | Created by edukulla - Thursday, August 17, 2006 11:43 AM | Last reply by BonnieB - Sunday, December 5, 2010 12:28 AM - Items 1 to 20 of 1184237 Next ›
No announcements