Click here to Skip to main content
16,014,631 members
Home / Discussions / C#
   

C#

 
QuestionAdd a user to a group Pin
quiteSmart5-Dec-06 20:09
quiteSmart5-Dec-06 20:09 
AnswerRe: Add a user to a group Pin
stancrm6-Dec-06 2:02
stancrm6-Dec-06 2:02 
QuestionWindows Service Pin
nidheeshkayal5-Dec-06 17:44
nidheeshkayal5-Dec-06 17:44 
QuestionSelecting a datagrid row for updation Pin
Deepasubramanian5-Dec-06 16:29
Deepasubramanian5-Dec-06 16:29 
QuestionTricky C# questions... Pin
swjam5-Dec-06 14:57
swjam5-Dec-06 14:57 
AnswerRe: Tricky C# questions... Pin
Not Active5-Dec-06 15:13
mentorNot Active5-Dec-06 15:13 
AnswerRe: Tricky C# questions... Pin
V.5-Dec-06 22:09
professionalV.5-Dec-06 22:09 
QuestionBinding DataGridView to a DataTable - skipping binding some of the columns in the DataTable Pin
Athadu5-Dec-06 14:38
Athadu5-Dec-06 14:38 
Hi,

I have an instance of data table named Customers with the
columns "Name, Address, City, State, ZipCode",
sitting inside a dataset MyDataSet.

I have a BindingSource associated to the MyDataSet/Customers.

Without creating another instance of the table, I want to bind
it to a data grid view, and only have Name and Address columns
show up in the DataGridView.

One way I know I can do it is to do a Visible=false on DataBindingComplete event for columns
that I don't want displayed.

But I am trying to avoid all that unnecessary adding of columns
and hiding them when my requirement is to not deal with those columns
at all.

Just wondering if there is a way to bind a DataGridView to an
already available instance of a DataTable and limit the databinding
to only specific columns?

I appreciate you all sharing any insights regarding this.

-Athadu
QuestionActionscript & C# Pin
Revant Jain5-Dec-06 13:34
Revant Jain5-Dec-06 13:34 
AnswerRe: Actionscript & C# Pin
Vasudevan Deepak Kumar6-Dec-06 0:56
Vasudevan Deepak Kumar6-Dec-06 0:56 
QuestionInserting ListItem controls inside DropDownList controls contained in a Datalist control Pin
tedhill135-Dec-06 12:43
tedhill135-Dec-06 12:43 
Questionsql server 2005 ConnectionString. Pin
hdv2125-Dec-06 11:30
hdv2125-Dec-06 11:30 
AnswerRe: sql server 2005 ConnectionString. Pin
Guffa5-Dec-06 13:31
Guffa5-Dec-06 13:31 
AnswerRe: sql server 2005 ConnectionString. Pin
ednrgc6-Dec-06 7:06
ednrgc6-Dec-06 7:06 
QuestionRichEditBox, IRichEditOle, IOleObject - Inserting, Saving and Loading embedded Ole objects in a RichTextBox Pin
Anthony Queen5-Dec-06 11:23
Anthony Queen5-Dec-06 11:23 
GeneralRe: RichEditBox, IRichEditOle, IOleObject - Inserting, Saving and Loading embedded Ole objects in a RichTextBox Pin
Anthony Queen6-Dec-06 5:48
Anthony Queen6-Dec-06 5:48 
GeneralRe: RichEditBox, IRichEditOle, IOleObject - Inserting, Saving and Loading embedded Ole objects in a RichTextBox Pin
ednrgc6-Dec-06 7:13
ednrgc6-Dec-06 7:13 
GeneralRe: RichEditBox, IRichEditOle, IOleObject - Inserting, Saving and Loading embedded Ole objects in a RichTextBox Pin
Anthony Queen7-Dec-06 4:07
Anthony Queen7-Dec-06 4:07 
QuestionListview owner draw question Pin
BudWhite5-Dec-06 9:44
BudWhite5-Dec-06 9:44 
Questionimage drag and drop problem Pin
Kim06185-Dec-06 7:53
Kim06185-Dec-06 7:53 
AnswerRe: image drag and drop problem Pin
Eric Dahlvang5-Dec-06 9:19
Eric Dahlvang5-Dec-06 9:19 
GeneralRe: image drag and drop problem Pin
Kim06186-Dec-06 1:50
Kim06186-Dec-06 1:50 
GeneralRe: image drag and drop problem Pin
Eric Dahlvang6-Dec-06 3:34
Eric Dahlvang6-Dec-06 3:34 
QuestionSqlBulkCopy performance Pin
Jamie Nordmeyer5-Dec-06 7:53
Jamie Nordmeyer5-Dec-06 7:53 
AnswerRe: SqlBulkCopy performance Pin
Vasudevan Deepak Kumar6-Dec-06 0:59
Vasudevan Deepak Kumar6-Dec-06 0:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.