Click here to Skip to main content
15,894,343 members
Home / Discussions / C#
   

C#

 
GeneralRe: Converting string to byte Pin
martin_hughes12-Apr-08 13:41
martin_hughes12-Apr-08 13:41 
GeneralRe: Converting string to byte Pin
Ed.Poore12-Apr-08 22:47
Ed.Poore12-Apr-08 22:47 
GeneralRe: Converting string to byte Pin
Guffa13-Apr-08 7:24
Guffa13-Apr-08 7:24 
GeneralRe: Converting string to byte Pin
Ed.Poore13-Apr-08 7:42
Ed.Poore13-Apr-08 7:42 
QuestionUpdating or refreshing DataGridView after database change... Pin
Niksa12-Apr-08 9:51
Niksa12-Apr-08 9:51 
GeneralRe: Updating or refreshing DataGridView after database change... Pin
Elina Blank16-Apr-08 7:11
sitebuilderElina Blank16-Apr-08 7:11 
QuestionC# - Changing the data in the database Pin
Alessandra7712-Apr-08 9:14
Alessandra7712-Apr-08 9:14 
GeneralRe: C# - Changing the data in the database Pin
Christian Graus12-Apr-08 14:13
protectorChristian Graus12-Apr-08 14:13 
Alessandra77 wrote:
I'm really new to C# programming

Alessandra77 wrote:
I have two tables in my database and they are related.


If you're REALLY new, then you're probably diving in a little too deep.

Alessandra77 wrote:
How can I (using a form) change the data in my database?


Your form should ideally just display the data, and call a middle tier that knows about books and authors, and which then calls a data layer that knows how to persist your data to the DB.

There's two UI approachs to take, one is to show your data in a grid and support entering new data which is then saved, the other is to have a seperate form that shows your fields and you enter them to have them entered into your DB.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: C# - Changing the data in the database Pin
Alessandra7712-Apr-08 23:25
Alessandra7712-Apr-08 23:25 
GeneralLabel / Form Resizing Pin
danielk_12-Apr-08 5:25
danielk_12-Apr-08 5:25 
GeneralRe: Label / Form Resizing Pin
Anthony Mushrow12-Apr-08 5:46
professionalAnthony Mushrow12-Apr-08 5:46 
GeneralRe: Label / Form Resizing Pin
Luc Pattyn12-Apr-08 7:23
sitebuilderLuc Pattyn12-Apr-08 7:23 
GeneralPreFilterProperties Pin
danielk_12-Apr-08 5:24
danielk_12-Apr-08 5:24 
QuestionProblems to get SelectedValue from binded ComboBox Pin
Stefan Kneitz12-Apr-08 5:06
Stefan Kneitz12-Apr-08 5:06 
GeneralRe: Problems to get SelectedValue from binded ComboBox Pin
Anthony Mushrow12-Apr-08 5:17
professionalAnthony Mushrow12-Apr-08 5:17 
GeneralRe: Problems to get SelectedValue from binded ComboBox Pin
Stefan Kneitz12-Apr-08 5:22
Stefan Kneitz12-Apr-08 5:22 
GeneralRe: Problems to get SelectedValue from binded ComboBox Pin
Anthony Mushrow12-Apr-08 5:27
professionalAnthony Mushrow12-Apr-08 5:27 
GeneralRe: Problems to get SelectedValue from binded ComboBox Pin
Stefan Kneitz12-Apr-08 5:45
Stefan Kneitz12-Apr-08 5:45 
Generalcalculate elapsed seconds Pin
George_George12-Apr-08 4:47
George_George12-Apr-08 4:47 
GeneralRe: calculate elapsed seconds Pin
Anthony Mushrow12-Apr-08 5:10
professionalAnthony Mushrow12-Apr-08 5:10 
GeneralRe: calculate elapsed seconds Pin
George_George12-Apr-08 20:14
George_George12-Apr-08 20:14 
GeneralRe: calculate elapsed seconds Pin
Luc Pattyn12-Apr-08 7:21
sitebuilderLuc Pattyn12-Apr-08 7:21 
GeneralRe: calculate elapsed seconds Pin
George_George12-Apr-08 20:13
George_George12-Apr-08 20:13 
GeneralRe: calculate elapsed seconds Pin
PIEBALDconsult13-Apr-08 5:39
mvePIEBALDconsult13-Apr-08 5:39 
GeneralRe: calculate elapsed seconds Pin
George_George13-Apr-08 17:54
George_George13-Apr-08 17:54 

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.