Good day. The database has a stored procedure:

CREATE PROCEDURE ОтчётПоУчащ_8 AS SELECT Цифра_класса, Литера_класса,Фамилия_учащегося, Имя_учащегося, Тип_учёта, Дата_постановки, Причина_постановки,Дата_снятия FROM Классы INNER JOIN (Учащиеся INNER JOIN Учёт ON Учащиеся.id_Учащегося = Учёт.id_Учащегося) ON Классы.id_Класса = Учащиеся.id_Класса 

Trying to display the result of the stored procedure in the DataGridView :

 dataGridView1.DataSource = Connect.DB.ОтчётПоУчащ_8(); 

Nothing derives.
Tell me, what could be the case, can anyone come across?

  • Too little information. Give more data. - Alexander Petrov
  • I understand correctly: 1) C # language? 2) MS SQL DBMS? 3) Is the Entity Framework used? - iluxa1810
  • The Russian name of the database objects is a bad practice. Are you comfortable when typing the text of the request to roll up between 2 layouts? - iluxa1810

0