vanillathunder722
Active Member
I made a program using c# windows form where user can enter their details such as club name and their own personal detail such as their age etc.
basically i created two tables, club and client.
now i would like to display them using one gridview.
i would like to know what's the error with the sql statement
DataSet ds = useDb.Query("SELECT club.ID, club.clubName FROM [club] JOIN [client] ON client.clubID = club.ID", "club");
DataTable dt = ds.Tables["club"];
basically i created two tables, club and client.
now i would like to display them using one gridview.
i would like to know what's the error with the sql statement
DataSet ds = useDb.Query("SELECT club.ID, club.clubName FROM [club] JOIN [client] ON client.clubID = club.ID", "club");
DataTable dt = ds.Tables["club"];