Click here to Skip to main content
13,402,070 members (49,410 online)
Rate this:
Please Sign up or sign in to vote.
See more:
how can a user also select a column to view in the application??
query please
Posted 16-Jan-13 20:32pm
shabari7 17-Jan-13 1:40am
Are u able to understand the strings?
Muhamad Faizan Khan 17-Jan-13 2:12am
u mean conncection string? yes
shabari7 17-Jan-13 2:14am
man what's ur requirement? be precise
Shanu2rick 17-Jan-13 2:22am
Define "Column"?
Muhamad Faizan Khan 17-Jan-13 2:33am
a database column selection feature in windows application.
Sandeep Mewara 17-Jan-13 2:39am
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.
Muhamad Faizan Khan 17-Jan-13 2:41am
oki i do
Shanu2rick 17-Jan-13 2:53am
Use a query Specify the simple column in it like this:
"Select ColumnName from TableName"
get this column in datatable or dataset and show this column using any datacontrol you want.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

In the whole System.Windows.Forms library, there is no such concept as the column selection. There are only the selection modes allowing to select some cell, set of cells, entire rows or set of rows. Even if you can select some cells of the same column, this is not selection of column.

I'm afraid to say, you will have to design you UI not relying on such feature as column selection.

Muhamad Faizan Khan 17-Jan-13 2:55am
;-( really
Well, yes... :-(
Your other chance could be creation of some control from scratch, based on, say, Panel, or Control as a base class...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.180218.2 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100