I'm tried to show report on web page using dataset
But nothing is shown and there is no exception happened
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True" Font-Names="Century Schoolbook" Font-Size="20pt" Text="Show crystal reports"></asp:Label>
<br />
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" />
</div>
</form>
</body>
</html>
ReportDocument rprt = new ReportDocument();
rprt.Load(Server.MapPath("~/Rep_player.rpt"));
DataSet ds = new DataSet();
ds.Tables[0].Rows.Add("Messi", "10", "Play maker", "FC Barcelona");
ds.Tables[0].Rows.Add("Mo Salah", "11", "Right Wing", "Liverpool");
ds.Tables[0].Rows.Add("Ronaldo", "10", "striker", "JV");
rprt.SetDataSource(ds);
CrystalReportViewer1.ReportSource = rprt;