Click here to Skip to main content
15,923,389 members
Home / Discussions / C#
   

C#

 
GeneralRe: A problem with casting Pin
Ed.Poore18-Jan-08 13:57
Ed.Poore18-Jan-08 13:57 
GeneralRe: A problem with casting Pin
Luc Pattyn18-Jan-08 14:14
sitebuilderLuc Pattyn18-Jan-08 14:14 
GeneralRe: A problem with casting Pin
J$18-Jan-08 14:18
J$18-Jan-08 14:18 
GeneralRe: A problem with casting Pin
PIEBALDconsult18-Jan-08 15:33
mvePIEBALDconsult18-Jan-08 15:33 
GeneralRe: A problem with casting Pin
Clive D. Pottinger19-Jan-08 5:05
Clive D. Pottinger19-Jan-08 5:05 
GeneralProblem wyth colors (uint, hexa) Pin
alayle18-Jan-08 12:37
alayle18-Jan-08 12:37 
GeneralRe: Problem wyth colors (uint, hexa) Pin
Luc Pattyn18-Jan-08 13:09
sitebuilderLuc Pattyn18-Jan-08 13:09 
QuestionADO.net: How to omit Columns from a DataTable in a DataGridView??? Pin
dergunnar18-Jan-08 10:14
dergunnar18-Jan-08 10:14 
Hello there,

I´m writing a database application with ADO.net to manage my contacts.
I have a DataGridView DGVFriends on my Form that I want to connect to the Table "tblFriends" in my DataSet ds.

So far my code simply is:

DGVFriends.DataSource = ds.Tables["tblFriends"]

the problem is that all the columns in "tblFriends" are shown. For example ID, even though this is only the primary key and the user won´t be interested in it. so i want to omit it´s display in the dataGridView.

The second problem is:

in the same dataGridView I want to add a column that displays the full name of my contact and therefore is compound of the three columns name, middleName and lastName that are also in tblFriends.

Any ideas??
Thanks for help, useful links etc.

der gunnar
AnswerRe: ADO.net: How to omit Columns from a DataTable in a DataGridView??? Pin
Gareth H18-Jan-08 10:27
Gareth H18-Jan-08 10:27 
AnswerRe: ADO.net: How to omit Columns from a DataTable in a DataGridView??? Pin
ChrisKo18-Jan-08 11:04
ChrisKo18-Jan-08 11:04 
AnswerRe: ADO.net: How to omit Columns from a DataTable in a DataGridView??? Pin
dergunnar18-Jan-08 12:44
dergunnar18-Jan-08 12:44 
GeneralDrawing Circle and picture in that Pin
alishazdeh18-Jan-08 9:48
alishazdeh18-Jan-08 9:48 
GeneralRe: Drawing Circle and picture in that Pin
Ennis Ray Lynch, Jr.18-Jan-08 9:54
Ennis Ray Lynch, Jr.18-Jan-08 9:54 
GeneralDataSet Pin
simworld18-Jan-08 9:44
simworld18-Jan-08 9:44 
GeneralRe: DataSet Pin
PIEBALDconsult18-Jan-08 9:49
mvePIEBALDconsult18-Jan-08 9:49 
GeneralRe: DataSet Pin
simworld19-Jan-08 8:26
simworld19-Jan-08 8:26 
GeneralPrint Preview in landscape Pin
Christian Graus18-Jan-08 9:21
protectorChristian Graus18-Jan-08 9:21 
GeneralRe: Print Preview in landscape Pin
Luc Pattyn18-Jan-08 10:17
sitebuilderLuc Pattyn18-Jan-08 10:17 
GeneralRe: Print Preview in landscape Pin
Christian Graus18-Jan-08 10:28
protectorChristian Graus18-Jan-08 10:28 
Questionhow objects use memory Pin
netJP12L18-Jan-08 8:52
netJP12L18-Jan-08 8:52 
AnswerRe: how objects use memory Pin
Christian Graus18-Jan-08 9:06
protectorChristian Graus18-Jan-08 9:06 
AnswerRe: how objects use memory Pin
ChrisKo18-Jan-08 9:09
ChrisKo18-Jan-08 9:09 
AnswerRe: how objects use memory Pin
Ennis Ray Lynch, Jr.18-Jan-08 9:55
Ennis Ray Lynch, Jr.18-Jan-08 9:55 
GeneralWeb browser events Pin
Christian Graus18-Jan-08 6:51
protectorChristian Graus18-Jan-08 6:51 
GeneralRe: Web browser events Pin
eggsovereasy18-Jan-08 7:40
eggsovereasy18-Jan-08 7:40 

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.