473,398 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Re: LINQ and Gridview

bob
Hi Arne,
Check out the ObjectDataSouce.
Get the feeling that the output of your LINQ query could be bound to
it. Something like LINQ -IEnumerable<T-ObjectDataSource
Bind the Datagrid to the ObjectDataSource and your done.
Well...
sounds plausible. Never done it.
Bob
On Wed, 15 Oct 2008 07:53:01 -0700, Arne Garvander
<Ar***********@discussions.microsoft.comwrote:
>How do I take the output from a LINQ query and input it to a Gridview?
The LINQ book I am reading uses console.writeline after every LINQ query,
which is totally useless for a real world application.
Oct 16 '08 #1
0 960

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: SC | last post by:
Having inherited an NHibernate-based website, I'm not sold on OR/M mapping tools for largest sites - from what I've seen, even "tuned" nhiberate queries result in poor performance and I haven't...
7
by: =?Utf-8?B?Q2hha3JhdmFydGh5?= | last post by:
Today, after watching the presentation by Amanda Silver at http://channel9.msdn.com/Showpost.aspx?postid=335058 , from Channel 9, started exploring the LINQ features. Surprisingly, few facts...
0
by: BillK | last post by:
I have a web application that I converted from ASP.NET 2.0 to ASP.NET 3.5 in Visusal Studio 2008. At first, LINQ coding wouldn't work at all. So I added the necessary references like...
1
by: webby98 | last post by:
I have an issues using LINQ and nested gridview. Let me explain, Gridview A are the for grouping. And Gridview B are place in between Gridview A to display list data relate to Gridview A...
0
by: Rowan | last post by:
Hi there, I just started working with Linq and am having trouble with adding and removing items from a dropdownlist. The dropdownlist is bound to a LinqDataSource. On the form is a gridview...
1
by: TisMe | last post by:
Hi All, Does anyone know of a way to count the number of columnns in a Linq2SQL result? (In this case ISingleResult). I am building a method to get summary report data. I want to be able to...
0
by: =?Utf-8?B?UmF5bmFsZA==?= | last post by:
Hi everybody, I have a problem on linq related field, look my simple example : <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html...
1
by: =?Utf-8?B?TWl0Y2hX?= | last post by:
Hello, 1. I have an XML file that lists filenames (i.e., a.txt, b.txt, c.txt, etc.). I have loaded this into a LINQ var anonymous type. 2. I also have a DirectoryInfo set in another var type....
2
by: syedfasih | last post by:
Hi, I am Syed Fasih ---this is my aspx.cs file for the page navigation. protected void grdConsultation_PageIndexChanging(object sender, GridViewPageEventArgs e) { ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.