I solved the problem with the following code:
public void ShowGV()
{
SqlConnection sqlConn = new SqlConnection(StringKoneksioni.Stringu);
using (sqlConn)
{
SqlCommand sqlCmd = new SqlCommand("procNAME", sqlConn);
sqlCmd.CommandType = CommandType.StoredProcedure;
sqlCmd.Parameters.Add(new SqlParameter("@ID_Person", SqlDbType.Int));
sqlCmd.Parameters["@ID_Personi"].Value = Session["ID_Person"];
sqlConn.Open();
SqlDataReader reader = sqlCmd.ExecuteReader();
gvName.DataSource = reader;
gvName.DataBind();
sqlConn.Close();
}
}
Once again tank you for your reply.
Cheers.