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

C#

 
GeneralRe: Converting string to byte Pin
Guffa12-Apr-08 13:32
Guffa12-Apr-08 13:32 
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 
Hy,
I'm really new to C# programming and I have a few problems with data binding.
I am building a Windows application.
I have two tables in my database and they are related.
First table is named Author (and has these fields: AuthorID, AuthorName),
and the other one is named Books (BooksID, AuthorID -> this is a Foreign Key, and BookTitle).
My question is: How can I (using a form) change the data in my database?
I have found a lot of tutorials, but they didn't really helped me. All they suggest is that I can relate tables on a form by dragging AuthorName from the Author table on AuthorID from the Books table. But if I do that, Authors are displayed in combobox so I can't enter a new author if I want to enter new data...
I know that I probably made it sound really confusing, so I apologize in advance Smile | :)
Thanks Smile | :)
GeneralRe: C# - Changing the data in the database Pin
Christian Graus12-Apr-08 14:13
protectorChristian Graus12-Apr-08 14:13 
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 

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.