linq and ajax examples..

Posted by Gopal_nivas under Regular Expressions on 8/17/2009 | Views : 8515 | Status : [Member] | Replies : 4
hi ..

give some examples of linq and ajax controls..

i dont know how its works..

so tell me the working principles of "linq".. why we use linq ?

need ur suggestions...




Responses

Posted by: Lakhangarg on: 8/18/2009 [Member] [Moderator] Silver

Up
0
Down
Hi-

This is the small example of LINQ:
int[] nums = new int[] {0,1,2,3,4,5};
var res = from a in nums
where a < 3
orderby a
select a;
foreach(int i in res)
Console.WriteLine(i);
Output:
0
1
2
3
4
5

for ajax: either use can ajax toolkit for this and the logic is to restrict the whole page to postback when a small portion of the page needed to reload.

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kiran.koyelada on: 8/24/2009 [Member] Starter

Up
0
Down
hi

see this links

www.asp.net/learn

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Goldytech on: 8/26/2009 [Member] Bronze

Up
0
Down
Hi Gopal

Refer my post
http://goldytech.wordpress.com/2009/01/22/linq-the-new-mantra-of-querying-data/

to know what linq is all about and why should we use it

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response