Click here to Skip to main content
13,559,559 members
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 19:32pm
PBGuy 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
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.
PBGuy 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.
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.
Muhamad Faizan Khan 17-Jan-13 2:41am
oki i do

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.

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

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 | Cookies | Terms of Service
Web01 | 2.8.180527.1 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

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