Click here to Skip to main content
15,913,133 members
Home / Discussions / C#
   

C#

 
GeneralRe: Most efficient large array creation and retrieval method? Pin
Luc Pattyn3-Jan-07 4:12
sitebuilderLuc Pattyn3-Jan-07 4:12 
GeneralRe: Most efficient large array creation and retrieval method? Pin
JHR13-Jan-07 4:25
JHR13-Jan-07 4:25 
QuestionBasic XML Parser Pin
TheBlindWatchmaker2-Jan-07 6:13
TheBlindWatchmaker2-Jan-07 6:13 
AnswerRe: Basic XML Parser Pin
Ravi Bhavnani2-Jan-07 6:20
professionalRavi Bhavnani2-Jan-07 6:20 
GeneralRe: Basic XML Parser Pin
TheBlindWatchmaker2-Jan-07 7:34
TheBlindWatchmaker2-Jan-07 7:34 
GeneralRe: Basic XML Parser Pin
Ravi Bhavnani2-Jan-07 7:38
professionalRavi Bhavnani2-Jan-07 7:38 
QuestionDataGridView Binding - Need to Skip Some Columns Pin
mwith2-Jan-07 5:54
mwith2-Jan-07 5:54 
AnswerRe: DataGridView Binding - Need to Skip Some Columns Pin
Drew McGhie2-Jan-07 11:32
Drew McGhie2-Jan-07 11:32 
I've encountered this as well. If there is a solution that someone else has found that works better, by all means use it, but here's the workaround that I've used:

What I have done to get around this is to manually enter all the columns into the DataGridView in the forms designer, and set the "DataPropertyName" property on each column to the appropriate DataTable column that will be in the dataset. I can then set the visible on these to false, and bind to them normally, and have only the desired columns show up. What this also allows me to do is use the hidden values in rows for calculations and whatnot, but also set up formatting on the individual cells at design time instead of during runtime.

It works for my means (I use DataGrids to display a lot of line-driven real estate calculations and different views on the same value ($/SF/Mo vs $/SF/Yr in unbound columns based on read-only data in visible columns and other data in !visible columns).

Hope this helps

##EDIT
Edited to be a little more specific
AnswerRe: DataGridView Binding - Need to Skip Some Columns Pin
JoeRip2-Jan-07 14:29
JoeRip2-Jan-07 14:29 
QuestionString splitting Pin
numbers1thru92-Jan-07 5:36
numbers1thru92-Jan-07 5:36 
AnswerRe: String splitting Pin
numbers1thru92-Jan-07 5:49
numbers1thru92-Jan-07 5:49 
GeneralRe: String splitting Pin
Daniel Grunwald2-Jan-07 5:52
Daniel Grunwald2-Jan-07 5:52 
AnswerRe: String splitting Pin
Martin#2-Jan-07 8:36
Martin#2-Jan-07 8:36 
GeneralRe: String splitting Pin
Luc Pattyn2-Jan-07 14:25
sitebuilderLuc Pattyn2-Jan-07 14:25 
GeneralRe: String splitting Pin
Martin#2-Jan-07 22:52
Martin#2-Jan-07 22:52 
QuestionRedistry Emulator Pin
joejoeiscool2-Jan-07 4:56
joejoeiscool2-Jan-07 4:56 
AnswerRe: Redistry Emulator Pin
ednrgc3-Jan-07 4:48
ednrgc3-Jan-07 4:48 
GeneralRe: Redistry Emulator Pin
joejoeiscool3-Jan-07 7:00
joejoeiscool3-Jan-07 7:00 
QuestionHide Name Pin
Tanuja1232-Jan-07 4:52
Tanuja1232-Jan-07 4:52 
AnswerRe: Hide Name Pin
Judah Gabriel Himango2-Jan-07 5:27
sponsorJudah Gabriel Himango2-Jan-07 5:27 
AnswerRe: Hide Name Pin
Ed.Poore2-Jan-07 6:07
Ed.Poore2-Jan-07 6:07 
QuestionCreating hidden window [modified] Pin
mikker_1232-Jan-07 4:47
mikker_1232-Jan-07 4:47 
AnswerRe: Creating hidden window Pin
Luc Pattyn2-Jan-07 7:27
sitebuilderLuc Pattyn2-Jan-07 7:27 
GeneralRe: Creating hidden window [modified] Pin
mikker_1232-Jan-07 11:39
mikker_1232-Jan-07 11:39 
GeneralRe: Creating hidden window Pin
Luc Pattyn2-Jan-07 14:14
sitebuilderLuc Pattyn2-Jan-07 14:14 

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.