Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.Topics such as question regarding the System.Data namespace are appropriate.Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old December 19th, 2006, 05:25 AM
4x4 4x4 is offline
Registered User
Join Date: Nov 2006
Location: New Delhi, New Delhi, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default DGV Binding

How can I bind only a few columns of a datasource to my DataGridView.

Reply With Quote
  #2 (permalink)  
Old January 13th, 2007, 03:31 AM
Authorized User
Join Date: Dec 2006
Location: , , India.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sunnys Send a message via Yahoo to Sunnys

one way is to set AutoGenerateColumn to false then define the column u want to show.
or hide the column which u dont want.

hope this help

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
late binding,help? alexcym Visual Basic 2005 Basics 2 April 7th, 2008 03:26 PM
DGV CheckBox Click Issue obrienkev C# 2005 1 December 17th, 2007 05:04 AM
DGV with MemoBox, Datetimepicker rhd110 General .NET 1 April 23rd, 2007 07:27 AM
DataGrid Binding GrindCrusher Classic ASP Databases 0 February 21st, 2004 04:52 PM

All times are GMT -4. The time now is 05:55 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.