User Profile
Collapse
-
You want to know how to write a connection string for SQL Server to be used by an ASP page? -
-
You also failed to mention which line throws the exception. That would help alot.Leave a comment:
-
No
(The message I previously entered was too short, I must lengthen it by 10 characters)Leave a comment:
-
-
I'm not sure I understand the point of doing that with a structure. A structure has different kinds of data types, an array does not.
Besides, the example you gave won't do anything. It's also VERY unsafe code that should never, ever, be written into a program.Leave a comment:
-
Several things to note here. You mentioned .NET - did you create this project as a .NET project or as a console application? It should be a console appliation. I guess you just meant you are using Visual Studio.NET.
I don't know about the latest versions of C++ from MS but the .h header files have been deprecated for quite some time and could have been removed. Somehow I doubt they'll ever stop shipping the old .h files as that...Leave a comment:
-
I think you guys are giving kookai too much information too early in the game. If the assignment is to write that function then a ladder of if-else statements is probably a good thing. If the assignment is to write a gradebook application then the condensed arithmetic is more impressive.
It should be noted that not returning an int does not always result in undefined behavior. Windows is fine with void main() { return; }, but I...Leave a comment:
-
1:N, 1:M - it's the same thing. M:N, M:M - almost the same thing. Taking the Products - Attributes example M:M would mean if a product had 2 attributes then each of those 2 attributes would need to be related to 2 products. M doesn't really stand for many, it's just a letter that represents some number, like in Algebra. They say N:M so that both sides of the relationship do not have to have the same number of participants.
Maybe...Leave a comment:
-
I just reread your replies comteck. Access, or any other DB on the market cannot do a N:M relationship between two tables - you have to create two 1:N relationships between 3 tables. That is exactly what you had alxr do, however. You had him/her create a N:M relationship, yet said they should never be used.Leave a comment:
-
It looks like IanGoodall is using an N:M relationship. Comteck, how come he shouldn't change it to 1:N? I guess I never really understood what axlr was trying to do, but I also didn't understand your replies comteck.
IanGoodall, I think given your level of experience your design is fine. If there are fields (such as name) that are shared between electricians and mechanics (and other types of workers) then there should be a base...Leave a comment:
-
I'm brand new to these forums - came across them on a Google search. I wouldn't normally reply, but I can't believe some of the things being taught in this thread and it's recent.
I'm having the same problem with Access 2003. I have an M:N relationship that I need to be able to edit on a form. I've been trying to use subforms, but to no avail.
"Many programmers recommend that M:M relationships never be used in...Leave a comment:
No activity results to display
Show More
Leave a comment: