No announcements
Found 2928784 threads
-
0 Votes
How to replace boolean values in DataTable using linq query or simple foreach loop
by using simple c# code. It would be good if you can do this by using LINQ query otherwise, just use simple foreach ...Answered | 1 Replies | 1883 Views | Created by praveench2k - Tuesday, February 2, 2016 3:59 PM | Last reply by Venkat786 - Tuesday, February 2, 2016 5:49 PM -
1 Votes
Foreach loop using LINQ
obj.LoadData) but it doesn`t work, since method LoadData doesn`t return any value and generic type cannot be interfered from this. Thanks in advance for ...Answered | 2 Replies | 2892 Views | Created by Martinez K. _ - Friday, February 27, 2009 7:44 AM | Last reply by Martinez K. _ - Friday, February 27, 2009 1:10 PM -
0 Votes
LINQ Values Changed - in foreach loop
_newString in forEach loop is 'Extension' then _list3 has only 'Extension Form 1' for the first time. but when the new value is assigned ...Answered | 2 Replies | 1956 Views | Created by Alvin KY - Monday, January 9, 2012 4:28 AM | Last reply by Adavesh - Monday, January 9, 2012 6:14 AM -
1 Votes
foreach Loop with Incrementing DataTable
the columns in each workbook do not line up so I am going to create individual datatables & then before merging into a master datatable do the formatting ...Answered | 2 Replies | 814 Views | Created by IndigoMontoya - Thursday, March 13, 2014 6:34 PM | Last reply by IndigoMontoya - Thursday, March 13, 2014 7:36 PM -
1 Votes
How consolidate net foreach loop into linq query
Hi all, I've multiple foreach loops below and would like to convert to 1 simple linq query if possible to simplify ...Answered | 2 Replies | 630 Views | Created by AndyPham - Monday, July 21, 2014 5:13 PM | Last reply by Ioana Vasilescu - Tuesday, July 22, 2014 5:50 AM -
1 Votes
Problem with a simple LINQ related query in a foreach loop
Hi All, I am having a small problem with a segment of a program I have written. My requirement is to get a list of all the elements excluding the one that is iterated ...Answered | 1 Replies | 1862 Views | Created by Clive2334 - Friday, June 22, 2012 6:36 AM | Last reply by Adavesh - Friday, June 22, 2012 6:56 AM -
0 Votes
Linq to DataTable Query with Null Values
issue by setting the cells in the table that are null to 0 but I would really like to figure out how to execute a query against null ...Unanswered | 7 Replies | 6567 Views | Created by rz301 - Wednesday, June 26, 2013 4:08 PM | Last reply by Joel Engineer - Saturday, June 29, 2013 5:54 PM -
0 Votes
Linq query to DataTable
i think he means something like this (doesnt work by the way), where the table or resulttype isnt defined/contained in the datacontext and he wants to return something a ...Answered | 2 Replies | 7119 Views | Created by SP Ninja - Monday, August 23, 2010 6:31 PM | Last reply by Vernard - Tuesday, January 25, 2011 7:18 PM -
0 Votes
Bug in foreach loop with LINQ / OpenXml
, when I Iterate once throught the non-LINQ based query, I can Iterate over It again . It's not the case with the LINQ one ^^... So What Appends ? Do this is a ...Unanswered | 2 Replies | 6197 Views | Created by Raphaël DUCOM - Wednesday, May 6, 2009 8:07 AM | Last reply by goodol - Thursday, May 7, 2009 3:04 AM -
1 Votes
LINQ query to datatable?
you posted has mostly links on how to query a datatable, along with one msdn that links toAnswered | 9 Replies | 2332 Views | Created by Xyc0se - Thursday, February 16, 2012 7:23 PM | Last reply by servy42 - Thursday, February 16, 2012 8:15 PM -
1 Votes
Dynamic building LINQ query for DataTable values...
to build the LINQ query. And then user will click Build button to run the query on DataTable. how ...Answered | 7 Replies | 3868 Views | Created by IamHuM - Tuesday, May 28, 2013 9:32 AM | Last reply by Fernando Soto - MCSD - Monday, June 3, 2013 12:12 AM -
0 Votes
Dynamic Linq Query using DataTable
} I am using DataTable. But I need to create dynamic Group and Select of this ...Answered | 2 Replies | 9087 Views | Created by AshokKOjha - Monday, May 4, 2009 7:33 PM | Last reply by AshokKOjha - Monday, May 4, 2009 9:09 PM -
1 Votes
Rewrite foreach loop with Linq?
Hi all, How would I go about and rewriting the following code-snippet using Linq? foreach (RepeaterItem item in ...Answered | 4 Replies | 3830 Views | Created by DeakinMan - Monday, July 5, 2010 8:53 AM | Last reply by DeakinMan - Monday, July 5, 2010 9:23 AM -
0 Votes
Query Datatable with LINQ
Hi, I'm doing a query in my c# code behind to a datatable with the following ...Answered | 2 Replies | 2379 Views | Created by HugoDias - Tuesday, November 13, 2012 5:38 PM | Last reply by HugoDias - Tuesday, November 13, 2012 7:26 PM -
0 Votes
Remove empty values from DataTable using Linq
; According to your description, you want to remove empty values from ...Answered | 2 Replies | 10794 Views | Created by renatois - Tuesday, November 26, 2013 10:35 AM | Last reply by Raghavendra Shanbhag - Tuesday, December 3, 2013 1:49 PM -
0 Votes
how to Use LINQ Query on DataTable?
Dear All, I have a datatable having data Retrieved From Excel Sheet.so, I like to use ...Answered | 5 Replies | 3249 Views | Created by Harish Pandey - Thursday, April 5, 2012 6:01 PM | Last reply by Mitja Bonca - Thursday, April 5, 2012 8:05 PM -
1 Votes
How to Remove Loop using linq
I have some code and i want to remove foreach loop from my code in linq any possible way ?? please suggest me those way or ...Unanswered | 4 Replies | 487 Views | Created by Sanjay8090 - Tuesday, October 22, 2019 5:19 AM | Last reply by Timon Yang - Thursday, October 24, 2019 3:17 AM -
0 Votes
using Foreach Loop Container
Hi I using data flow task to import from flat file to database but i need to use Foreach Loop ...Unanswered | 1 Replies | 4807 Views | Created by sql_guy - Thursday, February 15, 2007 2:07 PM | Last reply by Phil Brammer - Thursday, February 15, 2007 2:18 PM -
0 Votes
Replace ForEach Loop container functionality with Script
with the container itself, but with 3rd party application which is reading my SSIS package - it cannot interpret ForEach Loop. So, what I basically need is to ...Answered | 1 Replies | 4035 Views | Created by AkimZ - Friday, May 1, 2009 7:20 PM | Last reply by Duane Douglas - Wednesday, May 6, 2009 7:24 AM -
0 Votes
ForEach Loop or For Loop??
Is the metadata the same for each data transfer? If not then you're going to have to build as many data-flows as there are rows in your lookup table and if that is teh case ...Unanswered | 1 Replies | 6691 Views | Created by sam_idea - Thursday, February 23, 2006 9:28 AM | Last reply by Jamie Thomson - Thursday, February 23, 2006 10:41 AM - Items 1 to 20 of 2928784 Next ›
No announcements