In Focus
C# Corner Delhi Chapter Meet, May-18, 2013 Official Recap
MOBILE: HTML 5 vs. Native Apps
Istanbul Chapter May 2013 2nd Seminar Announced : Learn WinJS, Windows Store, MVC
ANNOUNCEMENT: April 2013 Month Winners
Email :
Password :
Remember me?
Forgot password
Technologies
Monthly Leaders
ASK A QUESTION
C# Programming
Multi-threading
Microsoft Surface
Community Services
Java
.NET General
Office Interoperability
ReFS
Current Affairs
JQuery
Active Directory
Printing
Silverlight 5
Fun and Jokes
JSP
ADO.NET & Database
Project Management
WCF
Job Opportunities
Multimedia, Graphics, Flash
AJAX & Atlas
Remoting
Windows 8
Leadership
PHP
Algorithms & AI
Reporting
Windows Azure
Mac for Windows
Social Networking
Arrays & Collections
Robotics and Hardware
Windows Store Apps
Microsoft Feedback
TypeScript
ASP.NET & Web Development
Security & Cryptography
Workflow Foundation
Open Source Projects
Web Hosting
C# Language
Setup & Deployment
WPF
Operating Systems
Website Management
C# References
Sharepoint
XAML Language
Paid Projects
Windows Azure
CLR & .NET Internals
Speech & Voice Recognition
Site and Forums Feedback
Prizes, Awards, MVP
Windows Phone 7
COM Interoperability
Tablet PC
Announcements
Students & Beginner Projects
Database
Custom Controls
Testing and QA
Author Guidelines
Test Category
Database General
Design and Architecture
Visual Basic .NET
Bugs and Problems
Training & Certification
Oracle
Embedded Development
Visual C++
Forums Feedback
Web Development
SQL
Enterprise Development
Visual Studio 11
Site Feedback & Suggestions
Advertising, Marketing, SEO
SQL Server
Games, DirectX, and XNA
Visual Studio 2010
Site Spams
Android
Products
GDI+ and DirectX
Web Services
Miscellaneous
Cloud Computing
Office 2013
General
Windows Forms
.NET Books
Expression Tools
Products
LINQ
Windows Services
Ask the Author
HTML 5
SharePoint 2013
Migrating to .NET
Cutting-Edge
Career Advice
HTML, JavaScript, CSS
Windows 8
Mobile Development
.NET 5.0
Coffee, Chai Lounge
iPhone, iPad
Forum guidelines
Home
»
Silverlight 5
»
Silverlight dataGrid Control
Author
Question
Riddhi Valecha
Silverlight dataGrid Control
Posted on: 17 Dec 2012
silverlightapplication1.rar
Hi all....
I need help in Silverlight dataGrid Control...
I have to fire the following queries and load data in a grid view in Silverlight:
1) var qry = from t in context.Employees select new {t.EName, t.ESalary, t.DOJ, t.DOB };
2) var qry = from t in context.Employees select t ;
---
Difference - In first query, only 4 Columns and in second query, all the columns are there.
Please help me out...
The datagrid is not loaded.......
I also have attached my code for reference .......
Thanks all in advance !!
Riddhi
Reply
Quick Reply
Report a Spam
Our Recommended Solutions
Conditional CellTemplete controls at Runtime in Silverlight DataGrid
Working with DataGrid in Silverlight
XamlDataGrid using Silverlight 4
Silverlight Datagrid - Retrieving details on Editing
Enabling copy paste feature in a DataGrid(Silverlight)
Datagrid TemplateColumn Sorting in Silverlight 3
Hyperlink Button And CheckBox in Silverlight
Sort Description in DataGrid in Silverlight 3 Application
Paging in a Silverlight DataGrid using a PageCollection View and DataPager Control
Update using DataGrid in Silverlight 3
[ + ]
Author
Reply
Dinesh Bhoje
0
0
accepted
Re: Silverlight dataGrid Control
Posted on: 11 Jan 2013
Accepted Answer
Hi,
In XAML specify columns to display OR simply set AutoGenerateColumns= true.
Will work it..
Reply
Quick Reply
Riddhi Valecha
0
0
Re: Silverlight dataGrid Control
Posted on: 21 Jan 2013
Hi...
I did not specify columns in XAML File...
Instead.... I did AutoGenerateColumns=true and ForeGroundColour = Black.
This worked....
Hope this helps others also...
Riddhi
Reply
Quick Reply
Quick Reply:
SEARCH ANSWERS
All
C# Programming
Cutting-Edge
Site and Forums Feedback
Miscellaneous
Web Development
Database
Products
Any Word
Exact Word
Our recommended forum posts
Forum Development in asp .Net
how to run .aspx page in win xp sp2 iis
ASP.NET Project deployed on a remote server requires a Scrip
stop clock using windows forms control library ?
asp.net
ASP.NET FileUpload control
how to pass variable value in event handler
add events to calendar control in asp.net
Insert Data into SQL Server using JQuery in ASP.Net
Log Files in .NET
HOT QUESTIONS
Import/Export Generic List Objects
C# read xml data information
how to sort the date in dd mm yyyy
javascript for submit form without using submit button
Create List accessible for other classes
Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)
mathematical euation
About Textbox
Congratulation Vinod Kumar
If company is giving wrong feedback about Emp then what should we have to do ?
SPONSORED BY
DynamicPDF ReportWriter Suite
PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.