G
Guest
I've ordered Bill Vaughn's book, which I hope will help me with this, but in the meantime, can someone point me to an RTFM or give me some outline of how to attack this problem? I've read the docs and even a book on ADO .NET, so I'm familiar in general with all the components (DataAdapters, DataReaders, DataSets, DataTables, etc.)
I'd simply like to display all athletes in a specific grade joined to a table that shows their sport (table defs and query below). I'd like this to be in a grid that the user can edit to change athlete information, then update the database. I don't care if the solution is manual or disconnected, or whatever... I just need to get started with this stuff to better understand it.
CREATE TABLE ATHLETE (ATHLETE_ID INT NOT NULL, SPORT_ID INT NOT NULL, LNAME VARCHAR(100), FNAME VARCHAR(50))
CREATE TABLE SPORT (SPORT_ID INT NOT NULL, SPORT_NAME VARCHAR(100), MAX_PARTICIPANTS INT)
SELECT LNAME, FNAME, SPORT_NAME
FROM ATHLETE, SPORT
WHERE ATHLETE.SPORT_ID = SPORT.SPORT_ID
Simple example, but it will get me moving.
Thanks,
billy
I'd simply like to display all athletes in a specific grade joined to a table that shows their sport (table defs and query below). I'd like this to be in a grid that the user can edit to change athlete information, then update the database. I don't care if the solution is manual or disconnected, or whatever... I just need to get started with this stuff to better understand it.
CREATE TABLE ATHLETE (ATHLETE_ID INT NOT NULL, SPORT_ID INT NOT NULL, LNAME VARCHAR(100), FNAME VARCHAR(50))
CREATE TABLE SPORT (SPORT_ID INT NOT NULL, SPORT_NAME VARCHAR(100), MAX_PARTICIPANTS INT)
SELECT LNAME, FNAME, SPORT_NAME
FROM ATHLETE, SPORT
WHERE ATHLETE.SPORT_ID = SPORT.SPORT_ID
Simple example, but it will get me moving.
Thanks,
billy