Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
GeneralRe: My painting code runs like a dog Pin
James T. Johnson19-Jun-03 16:44
James T. Johnson19-Jun-03 16:44 
GeneralRe: My painting code runs like a dog Pin
paulb19-Jun-03 17:10
paulb19-Jun-03 17:10 
GeneralCustom Forms Pin
Anonymous19-Jun-03 9:23
Anonymous19-Jun-03 9:23 
GeneralRe: Custom Forms Pin
Kannan Kalyanaraman19-Jun-03 22:20
Kannan Kalyanaraman19-Jun-03 22:20 
Questionwhere did my toolbox form controlls go??? Pin
ken-l119-Jun-03 6:10
ken-l119-Jun-03 6:10 
AnswerRe: where did my toolbox form controlls go??? Pin
leppie19-Jun-03 7:06
leppie19-Jun-03 7:06 
AnswerRe: where did my toolbox form controlls go??? Pin
dazinith19-Jun-03 7:30
dazinith19-Jun-03 7:30 
GeneralManipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 5:53
Steve McLenithan19-Jun-03 5:53 
I have a chunk of data that is pulled from a database. I want to insert a new column into the dataset, and have every cell in that new column have new values based on an existing columns values. IE:
-Price----Amt.------NewColumn
---------------------------
   100  |   2     |
   220  |   4     |
   335  |   5     |
   400  |   6     |
   554  |   8     |
   655  |   9     |
        |         |
Say I want 'NewCol' to equal Price * 2.2, so the new data set would look like this:

-Price----Amt.------NewColumn
---------------------------
   100  |   2     | 220
   220  |   4     | 484
   335  |   5     | 737
   400  |   6     | 880
   554  |   8     | 1218.8
   655  |   9     | 1441
        |         |


I hope this isn't too confusing. It's really just like I would do using Excel. having a column's values based in part on another column.

How would I approach this?

Steve
McLenithan

Is Bert Evil? | Homer: "Hello, operator, gimme the number for 911!"

GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Dimitris Iliopoulos19-Jun-03 8:13
Dimitris Iliopoulos19-Jun-03 8:13 
GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 8:23
Steve McLenithan19-Jun-03 8:23 
GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 8:36
Steve McLenithan19-Jun-03 8:36 
QuestionHow Timer works Pin
puppiesLover19-Jun-03 5:41
puppiesLover19-Jun-03 5:41 
AnswerRe: How Timer works Pin
Manster19-Jun-03 6:11
Manster19-Jun-03 6:11 
QuestionHow ow to alternate color on items of combo/list box, gurus? Pin
Khang Nguyen19-Jun-03 5:10
Khang Nguyen19-Jun-03 5:10 
AnswerRe: How ow to alternate color on items of combo/list box, gurus? Pin
Manster19-Jun-03 6:28
Manster19-Jun-03 6:28 
GeneralRe: How ow to alternate color on items of combo/list box, gurus? Pin
Khang Nguyen19-Jun-03 11:11
Khang Nguyen19-Jun-03 11:11 
GeneralFast image processing Pin
aeros19-Jun-03 4:50
aeros19-Jun-03 4:50 
QuestionWelcome dialog when app starts? Pin
Andrey Kalganov19-Jun-03 3:50
Andrey Kalganov19-Jun-03 3:50 
AnswerRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 3:56
dazinith19-Jun-03 3:56 
GeneralRe: Welcome dialog when app starts? Pin
Jose Fco Bonnin19-Jun-03 4:29
Jose Fco Bonnin19-Jun-03 4:29 
GeneralRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 4:49
dazinith19-Jun-03 4:49 
GeneralRe: Welcome dialog when app starts? Pin
Jose Fco Bonnin19-Jun-03 5:02
Jose Fco Bonnin19-Jun-03 5:02 
GeneralRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 5:06
dazinith19-Jun-03 5:06 
GeneralRe: Welcome dialog when app starts? Pin
Anonymous20-Jun-03 1:07
Anonymous20-Jun-03 1:07 
GeneralRe: Welcome dialog when app starts? Pin
dazinith20-Jun-03 7:46
dazinith20-Jun-03 7:46 

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.