Other Software > Developer's Corner
Help with databases in Visual Studio C#
CWuestefeld:
Was the array a mis-typing, or do you need to rethink the model a bit?
--- End quote ---
It's a booking system. Student ID, Date to return and bookS. So there is a for loop to write each into the database.
-mediaguycouk (April 02, 2008, 12:39 PM)
--- End quote ---
If I understand, then, I think you've got your data model wrong. It sound to me like the itemreference should be a child table with a foreign key pointing back to this table. Then your UI would change from being a big entry field to possibly a listbox.
mediaguycouk:
If I understand, then, I think you've got your data model wrong. It sound to me like the itemreference should be a child table with a foreign key pointing back to this table. Then your UI would change from being a big entry field to possibly a listbox.
-CWuestefeld (April 02, 2008, 02:00 PM)
--- End quote ---
I have absolutely no idea what you just said.
Navigation
[0] Message Index
[*] Previous page
Go to full version