For instance,a gridview displays the information of the students in a class.A table is recording the information except their mark.There is another table recording the mark of the students whose foreign key is the primary key of the previous table.
SqlConnection sqlCononection=new SqlConnection(strSQLconnection);
SqlCommand sqlCommand=new SqlCommand("select * from stuendent where classID=1",sqlConnection);
What should I do for the GridView included to display the data from the table of mark?
My English is not good.Sometimes,it may be difficult for you to understand my thread.At that rate,please notice me.
Go Through Folliwing link..
~ Mark As Answer If UseFull ~