No announcements
Found 3293363 threads
-
0 Votes
returning non var colllection
Hi, 1) Don't use the customcollection, but a List<CustomClass> 2) See above 3) No, there is no performance penalty for using ...Answered | 1 Replies | 4357 Views | Created by digiplant - Tuesday, November 9, 2010 5:09 PM | Last reply by Tom de Koning - Tuesday, November 9, 2010 8:02 PM -
0 Votes
Returning a string from a function
I have a function that should return a string.Answered | 2 Replies | 722 Views | Created by JonCSMcD - Tuesday, April 22, 2014 12:42 PM | Last reply by pascual79 - Tuesday, April 22, 2014 12:46 PM -
0 Votes
Return A table from a function
I suggest to convert this multi-line table valued function into inline table valued function for performance, e.g.Answered | 6 Replies | 3120 Views | Created by Lino.DiNardo - Thursday, April 5, 2012 3:43 PM | Last reply by Naomi N - Thursday, April 5, 2012 5:17 PM -
0 Votes
Difference between @Var and @@Var
Hi, I have found following from MSDN The names of some Transact-SQL system functions begin with two at signs (@@).Answered | 7 Replies | 6532 Views | Created by Sql2011 - Tuesday, March 16, 2010 5:05 AM | Last reply by Balwant Patel - Tuesday, March 16, 2010 10:59 AM -
1 Votes
Working with var and ittems source
Previously I had var wheelsItemsSource = from a in wheels where a.Group == 3102 select new{ button = a, disImage = a.Image ...Answered | 6 Replies | 2810 Views | Created by pini177 - Friday, August 14, 2009 3:18 PM | Last reply by David M Morton - Saturday, August 15, 2009 3:12 AM -
0 Votes
checking Null var
With : List<decimal> empty = new List<decimal>(); ...Answered | 8 Replies | 3205 Views | Created by FrancoisTaljaard - Friday, February 13, 2009 8:20 AM | Last reply by nikho - Friday, February 13, 2009 10:24 AM -
5 Votes
Returning a variable from a DLL function
So how does a function return an instance with 2 strings?Answered | 9 Replies | 896 Views | Created by mreed72 - Friday, January 3, 2014 6:11 PM | Last reply by Cor Ligthert - Saturday, January 4, 2014 5:12 PM -
7 Votes
Linq, what is difference in returning data in var, list, IEnumarable and IQueryable ?
Can I return IEnumarable form Linq to SQL and IQueryable from Linq to Object or XML ?Answered | 9 Replies | 7254 Views | Created by Haansi - Thursday, November 25, 2010 4:12 PM | Last reply by Louis.fr - Friday, November 26, 2010 8:31 AM -
0 Votes
How to change return of function from string to generic list ?
Hello, Just checking in to see if the code provided works for you?Answered | 7 Replies | 829 Views | Created by engahmedbarbary - Friday, November 22, 2019 10:39 PM | Last reply by Kareninstructor - Saturday, November 23, 2019 4:14 PM -
0 Votes
Unable to Return Recordset from Function
I have written a function to return a recordset from a SQL server Database.Answered | 7 Replies | 8644 Views | Created by Patrick.Grant01 - Monday, February 20, 2012 7:19 PM | Last reply by Bruce Song - Monday, February 27, 2012 3:05 AM -
0 Votes
Get Column from Var
You can access it like this (the anonymous class' properties will be named same as that of the source properties), foreach (var item in UserList) ...Answered | 1 Replies | 569 Views | Created by Inkey66 - Monday, February 17, 2014 9:41 AM | Last reply by prakash_vaghela - Monday, February 17, 2014 9:55 AM -
2 Votes
Return var from function not work ?
Promises represent async operations and you need to keep track of them if you're interested in doing something after all that async work is done.Answered | 2 Replies | 767 Views | Created by nhattuanbl - Wednesday, November 26, 2014 5:49 PM | Last reply by harriha - Thursday, November 27, 2014 7:05 PM -
0 Votes
Why the recursive function return false?
As I said,a new version of count is create each time the function is recursively called. the value calculated for 'count' in a particular call to the function is returned ...Answered | 6 Replies | 606 Views | Created by gaxjyxq - Wednesday, September 16, 2015 12:24 AM | Last reply by gaxjyxq - Wednesday, September 16, 2015 5:43 AM -
0 Votes
Functions returning data from database treated as text
A decimal value are converted in the function to a string and then returned.Answered | 7 Replies | 2823 Views | Created by Lennart Larsson - Monday, January 2, 2012 11:12 PM | Last reply by Hans Vogelaar MVP - Sunday, January 8, 2012 9:21 PM -
0 Votes
label value from var querry
lblSumOfCijena.Text = GetPacijentiTroskovi(string a) should work , lblSumOfCijena.Text = GetPacijentiTroskovi(string a).ToString() will workd as long as ...Answered | 7 Replies | 2372 Views | Created by Malanoga - Friday, April 16, 2010 3:43 PM | Last reply by Levi Domingos - Friday, April 16, 2010 8:47 PM -
1 Votes
return query result set from function
The key to making your scenario work to make the connection resource returned by db_connect() global.Answered | 1 Replies | 13067 Views | Created by Ken Roberts - Wednesday, July 13, 2011 2:32 AM | Last reply by Brian Swan - MSFT - Wednesday, July 13, 2011 5:53 PM -
3 Votes
Return function
You can return more that one value using the following method..Answered | 3 Replies | 3226 Views | Created by yade - Wednesday, December 17, 2008 1:04 PM | Last reply by VijayDandur - Thursday, December 18, 2008 11:58 AM -
3 Votes
Problem returning a string from a function...
Note also that a "quick fix" in this case would be to make variable revch static: But the OP should note that that's not the way to write ...Answered | 5 Replies | 1176 Views | Created by viiiiiicky - Thursday, February 14, 2013 12:16 PM | Last reply by viiiiiicky - Friday, February 15, 2013 3:03 AM -
1 Votes
Return more than one array from function
The above solution does not mean, that your function returns two arrays.Answered | 12 Replies | 762 Views | Created by rasha mohammad - Monday, November 30, 2015 4:57 PM | Last reply by Stefan Hoffmann - Tuesday, December 1, 2015 8:35 AM -
0 Votes
how to return value from function that containing while?
Furthermore, I give you the explanation coming from CSharp4.0 in a Nutshell.Answered | 7 Replies | 2467 Views | Created by e-free-thing - Monday, March 5, 2012 9:06 AM | Last reply by Jason Dot Wang - Friday, March 23, 2012 6:40 AM - Items 1 to 20 of 3293363 Next ›
No announcements