Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Online Members
Shafees ps
Pawan Awasthi
Phagu Mahato
More...
Forums
»
.NET
»
LINQ
»
Binding with repeater
Posted Date:
06 Apr 2010
Posted By::
naveen gupta
Member Level:
Silver
Member Rank:
1408
Points
: 1
Responses:
2
hello dear.
I am using the one repeater and a linq datasource.
and 4-5 standard button control.
On the click event of the button i have to bind the linqdatasource to the repeater.
All the button are performing the different operatios. .
please tell me how to do...
thanks
Tweet
Responses
#490403 Author:
YuDi
Member Level:
Gold
Member Rank:
114
Date: 06/Apr/2010 Rating:
Points
: 2
try that code
var groups = from G in handle.MyAlbum_Groups
where G.AlbumID == 2
select new
{
GroupID = G.Group.GroupID,
GroupName = G.Group.GroupName,
GroupDesc = G.Group.GroupDesc
};
rptGroups.DataSource = groups;
rptGroups.DataBind();
“Talent wins games, but teamwork and intelligence wins championships.”
umardaraj07@gmail.com
#490456 Author:
Anil Kumar Pandey
Member Level:
Platinum
Member Rank:
1
Date: 06/Apr/2010 Rating:
Points
: 2
get the result in the data set
rpt1.DataSource = Dataset;
rpt1.DataBind();
Thanks & Regards
Anil Kumar Pandey
Microsoft MVP, DNS MVM
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Previous :
From where to start? what is it LinQ?
Return to Discussion Forum
Post New Message
Category:
Active Members
Today
Pawan Awasthi
(30)
naveensanagase...
(21)
Prasad kulkarn...
(11)
Last 7 Days
naveensanagase...
(224)
Naved Hasan ...
(189)
Pawan Awasthi
(174)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John