Click here to Skip to main content
15,921,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: Switch Question Pin
mcd24247-Dec-06 6:14
mcd24247-Dec-06 6:14 
GeneralRe: Switch Question Pin
Colin Angus Mackay7-Dec-06 6:18
Colin Angus Mackay7-Dec-06 6:18 
AnswerRe: Switch Question Pin
Robert Rohde7-Dec-06 6:19
Robert Rohde7-Dec-06 6:19 
GeneralRe: Switch Question Pin
Not Active7-Dec-06 6:27
mentorNot Active7-Dec-06 6:27 
GeneralRe: Switch Question Pin
Robert Rohde7-Dec-06 7:19
Robert Rohde7-Dec-06 7:19 
GeneralRe: Switch Question Pin
Not Active7-Dec-06 7:31
mentorNot Active7-Dec-06 7:31 
GeneralRe: Switch Question Pin
Robert Rohde7-Dec-06 7:46
Robert Rohde7-Dec-06 7:46 
QuestionDatabase Problem Pin
mfcuser7-Dec-06 5:34
mfcuser7-Dec-06 5:34 
I have been playing with Access and starting to understand the relationship within tables. In a C# project, there are two ways to get access to a database. For example, I can use SQL statement to create a table; I can also use SQL statement to read value from a table.

Another way is to use the database wizard to create a table. One good thing with the database wizard is that you get access to the field directly by intellicense and the fields are easier to bind with the controls. I am just starting learning database. The problem I see with the wizard, if your database changes. For example, right now I am using an access file about if that change to oracle or any other type. How can I approach that? Will that be easier to modify. I want to know if scripting is better or using the wizard. What I like with the wizard is getting access to the field directly by intellicense and the easy biding. With the scripting, you can simply couple of lines of code. I also see more books and articles uses scripting instead of the wizard; maybe because the wizard is new. I want to know the benefit between scripting and the wizard witch gives direct access or creating to the database.

Another question I have is naming the fields of the database. For instance, which one is better or preferable? [Last Name] or [LastName], [Employee Number] or [EmployeeNumber], [Total Cost] or [TotalCost]; I prefer the single name rather than using space. So which one is better to use? I was looking at the Access Database Wizard, it uses single name rather than names with space. So I assume naming convention without space is better.

AnswerRe: Database Problem Pin
Paul Conrad7-Dec-06 5:37
professionalPaul Conrad7-Dec-06 5:37 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 5:50
mfcuser7-Dec-06 5:50 
GeneralRe: Database Problem Pin
Paul Conrad7-Dec-06 5:56
professionalPaul Conrad7-Dec-06 5:56 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 6:10
mfcuser7-Dec-06 6:10 
GeneralRe: Database Problem Pin
Colin Angus Mackay7-Dec-06 6:15
Colin Angus Mackay7-Dec-06 6:15 
AnswerRe: Database Problem Pin
Colin Angus Mackay7-Dec-06 6:12
Colin Angus Mackay7-Dec-06 6:12 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 6:27
mfcuser7-Dec-06 6:27 
GeneralRe: Database Problem Pin
Colin Angus Mackay7-Dec-06 9:17
Colin Angus Mackay7-Dec-06 9:17 
GeneralRe: Database Problem Pin
Paul Conrad7-Dec-06 11:18
professionalPaul Conrad7-Dec-06 11:18 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 6:43
mfcuser7-Dec-06 6:43 
GeneralRe: Database Problem [modified] Pin
User 17164927-Dec-06 7:22
professionalUser 17164927-Dec-06 7:22 
GeneralRe: Database Problem Pin
Colin Angus Mackay7-Dec-06 9:19
Colin Angus Mackay7-Dec-06 9:19 
GeneralFor your weekend reading ... Pin
User 17164927-Dec-06 10:29
professionalUser 17164927-Dec-06 10:29 
QuestionIHTMLDOMNode doesn't have onClick event :( Pin
lulaleila7-Dec-06 4:35
lulaleila7-Dec-06 4:35 
Questionpass dropdown with 2 values Pin
Tanuja1237-Dec-06 4:34
Tanuja1237-Dec-06 4:34 
AnswerRe: pass dropdown with 2 values Pin
albCode7-Dec-06 5:17
albCode7-Dec-06 5:17 
QuestionForce my WinForm application to show… Pin
anderslundsgard7-Dec-06 4:07
anderslundsgard7-Dec-06 4:07 

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.