User Profile

Collapse

Profile Sidebar

Collapse
dna5122
dna5122
Last Activity: Jan 9 '07, 03:48 AM
Joined: Jul 24 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dna5122
    replied to new to sql....can anybody help..
    You want to know how to write a connection string for SQL Server to be used by an ASP page?
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to C# INSERT statement using OleDb
    in .NET
    You are correct Anyi.
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to What's wrong with this DataReader????
    in .NET
    You also failed to mention which line throws the exception. That would help alot.
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to checksum
    in C
    No

    (The message I previously entered was too short, I must lengthen it by 10 characters)
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to help in maps
    in C
    That's a very ugly data structure :)
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to Dereferencing of structure pointers
    in C
    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.
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to iostream.h problem
    in C
    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...
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to Having trouble with my code for hw assignment
    in C
    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...
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to Forms With M:M relationship
    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...
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to Forms With M:M relationship
    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.
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to Forms With M:M relationship
    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...
    See more | Go to post

    Leave a comment:


  • dna5122
    replied to Forms With M:M relationship
    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...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...