HI
i write a store procedure in M-sql-server that select fields from my view and has a parameter.
now i want that my gridview in asp.net call the datas from that procedure (by coding not by wizard).
this is my procedure
USE [KDUIS-v1]
GO
/****** Object: StoredProcedure [dbo].[Student_Registration]
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[Student_Registration] @SSID int
AS
SELECt TRoom ,DayOfWeek ,ET ,ST ,LNProfessor ,NProfessor ,Code , TLesson
FROM View_Student_Registration
WHERE View_Student_Registration.SubjectStudyId=@SSID