Wednesday 28 January 2015

Chart Control2 in asp.net

ASPX
-------------------------
<asp:Chart ID="Chart5" runat="server" Width="500px" Height="250px">
                <Legends>
                    <asp:Legend Name="Legend1" Title="" Alignment="Center">
                    </asp:Legend>
                </Legends>
                <Series>
                    <asp:Series Name="Series1" Legend="Legend1" LegendText="#VALX (#VAL)" ChartType="Pie">
                    </asp:Series>
                </Series>
                <ChartAreas>
                    <asp:ChartArea Name="ChartArea1">
                    </asp:ChartArea>
                </ChartAreas>
            </asp:Chart>
CS
------------------------------
public void getChart()
    {
        DataTable ds = GetRegionByTotal();
        if (ds.Rows.Count != 0)
        {
            DataTable dt = new DataTable();
            DataColumn X = new DataColumn("X");
            DataColumn Total = new DataColumn("Total");
            dt.Columns.Add(X);
            dt.Columns.Add(Total);
            for (int i = 0; i < ds.Rows.Count; i++)
            {
                DataRow dr = dt.NewRow();
                dr[0] = ds.Rows[i]["RegionName"].ToString();
                dr[1] = ds.Rows[i]["Amount"].ToString();
                dt.Rows.Add(dr);
            }
            Chart5.Visible = true;
            Chart5.Titles.Add("Actual Expense");
            Chart5.Series["Series1"].ChartType = SeriesChartType.Pie;
            Chart5.DataSource = dt;
            Chart5.Series["Series1"].XValueMember = "X";
            Chart5.Series["Series1"].YValueMembers = "Total";
            Chart5.Series["Series1"].ToolTip = "#VALX: #VAL";
            Chart5.Series["Series1"].MapAreaAttributes = "onclick=\"javascript:alert('Mouse " + "ondblclick event captured in the series! Series Name: #SER');\"";
            Chart5.Series["Series1"].LegendToolTip = "#PERCENT";
            Chart5.Series["Series1"].PostBackValue = "#INDEX";
            Chart5.Series["Series1"].LegendPostBackValue = "#INDEX";
            Chart5.Series["Series1"].CustomProperties = "PieLabelStyle=Disabled";
            Chart5.DataBind();
        }
    }

IMAGE
-------------------

Chart Control in asp.net


ASPX
---------------------------

<asp:Chart ID="Chart1" runat="server" BackImageTransparentColor="Transparent" Width="500px">
                            <Legends>
                                <asp:Legend Name="Legend1" Alignment="Far" Title="" LegendStyle="Column">
                                </asp:Legend>
                            </Legends>
                            <Series>
                                <asp:Series Name="Income" Legend="Legend1" ChartType="Spline" IsValueShownAsLabel="True">
                                </asp:Series>
                                <asp:Series Name="Target" Legend="Legend1" ChartType="Spline" IsValueShownAsLabel="True">
                                </asp:Series>
                            </Series>
                            <ChartAreas>
                                <asp:ChartArea Name="ChartArea1">
                                </asp:ChartArea>
                            </ChartAreas>
                        </asp:Chart>
CS
---------------------

public void getChart4Publ()
    {
        DataTable ds = gc.GetDataTable("select id,Product from tbl_NewProduct");
        if (ds.Rows.Count != 0)
        {
            DataTable dt = new DataTable();
            DataColumn X = new DataColumn("X");
            DataColumn Total = new DataColumn("Total");
            DataColumn Total1 = new DataColumn("Total1");
            dt.Columns.Add(X);
            dt.Columns.Add(Total);
            dt.Columns.Add(Total1);
            for (int i = 0; i < ds.Rows.Count; i++)
            {
                DataRow dr = dt.NewRow();
                DataSet regionDT = GetDataSet("exec prc_Business_Plan_Print_Targetby_Type @Type='" + ds.Rows[i]["Product"].ToString() + "',@FYear='"+ViewState["FYear"].ToString()+"'");
                dr[0] = ds.Rows[i]["Product"].ToString();
                dr[1] = String.Format("{0:00.00}", regionDT.Tables[0].Rows[0]["Price"]).ToString();
                dr[2] = String.Format("{0:00.00}", regionDT.Tables[1].Rows[0]["tot"]).ToString();
                dt.Rows.Add(dr);
            }
            Chart1.ChartAreas[0].AxisX.Title = "Product";
            Chart1.ChartAreas[0].AxisY.Title = "Amount in ($)";
            Chart1.Visible = true;
            Chart1.Titles.Add("Target Sale for Publication");
            Chart1.Series["Target"].ChartType = SeriesChartType.Spline;
            Chart1.DataSource = dt;
            Chart1.Series["Target"].XValueMember = "X";
            Chart1.Series["Target"].YValueMembers = "Total";
            Chart1.Series["Target"].ToolTip = "#VALX: #VAL";
            Chart1.Series["Target"].MapAreaAttributes = "onclick=\"javascript:alert('Mouse " + "ondblclick event captured in the series! Series Name: #SER');\"";
            Chart1.Series["Target"].LegendToolTip = "#PERCENT";
            Chart1.Series["Target"].PostBackValue = "#INDEX";
            Chart1.Series["Target"].LegendPostBackValue = "#INDEX";
            Chart1.Series["Target"].LabelAngle = 90;
            Chart1.Series["Target"].CustomProperties = "PieLabelStyle=Disabled";

            Chart1.Series["Income"].ChartType = SeriesChartType.Spline;
            //Chart1.Series["Target"].XValueMember = "X";
            Chart1.Series["Income"].YValueMembers = "Total1";
            Chart1.Series["Income"].ToolTip = "#VALX: #VAL";
            Chart1.Series["Income"].MapAreaAttributes = "onclick=\"javascript:alert('Mouse " + "ondblclick event captured in the series! Series Name: #SER');\"";
            Chart1.Series["Income"].LegendToolTip = "#PERCENT";
            Chart1.Series["Income"].PostBackValue = "#INDEX";
            Chart1.Series["Income"].LegendPostBackValue = "#INDEX";
            Chart1.Series["Income"].LabelAngle = 90;
            Chart1.Series["Income"].CustomProperties = "PieLabelStyle=Disabled";
            Chart1.Legends[0].LegendStyle = LegendStyle.Table;
            Chart1.Legends[0].TableStyle = LegendTableStyle.Wide;
            Chart1.Legends[0].Docking = Docking.Bottom;
            Chart1.DataBind();
            Chart1.ChartAreas["ChartArea1"].AxisX.MajorGrid.Enabled = false;
            Chart1.ChartAreas["ChartArea1"].AxisY.MajorGrid.Enabled = false;
        }
    }

IMAGE
-------------------

Progress Bar In asp.net

CSS
=================
.divWaiting {
           position: absolute;
            background-color: #FAFAFA;
            z-index: 2147483647 !important;
            opacity: 0.8;
            overflow: hidden;
            text-align: center;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            padding-top: 20%;
        }

==========================
ASPX PAGE
=================
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="show.aspx.cs" Inherits="show" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
   
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('a#popup').live('click', function (e) {

                var page = $(this).attr("href")  //get url of link

                var $dialog = $('<div></div>')
                .html('<iframe style="border: 0px; " src="' + page + '" width="1000px" height="100%"></iframe>')
                .dialog({
                    autoOpen: false,
                    modal: true,
                    height: 600,
                    width: 'auto',
                    title: $(this).attr("title"),
                    buttons: {
                        "Close": function () { $dialog.dialog('close'); }
                    },
                    close: function (event, ui) {
                        __doPostBack('<%= btnRefresh.ClientID %>', '');
                    }
                });
                $dialog.dialog('open');
                e.preventDefault();
            });

        });

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
     <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
     <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <Triggers>
            <asp:PostBackTrigger ControlID="btnRefresh" />
        </Triggers>
        <ContentTemplate>
             <asp:Button ID="btnRefresh" Text="refresh" runat="server" Visible="false" Style="display: none" />
            <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
             </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" DisplayAfter="10"
        runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <div class="divWaiting">
                <asp:Label ID="lblWait" runat="server"
                    Text=" Please wait... " Font-Names="Arial" />
                <asp:Image ID="imgWait" runat="server"
                    ImageAlign="Middle" ImageUrl="~/images/gears_an.gif" Width="80px" />
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    </div>
    </form>
</body>
</html>

=====================
IMAGE
-------------------------------

Tuesday 27 January 2015

How to hack into a Password Locked Windows 7 system using CMD

WARNING: THIS ARTICLE IS MEANT FOR EDUCATIONAL PURPOSES ONLY . ALSO, WE ARE NOT RESPONSIBLE FOR ANY PROBLEM CREATED IN YOUR SYSTEM DUE TO THIS.
Most of the people use a secret password to secure their computer. Techews is back with it’s tricks, the first one of the year, but this time a bit “Wicked”. This article will help you geeks to Hack a password lockedWindows 7 system using CMD. If you don’t know what is a CMD or what is the purpose of it, check this link for info: CMD-Command Prompt
hack win7 password -techews.com
This method will allow you to remove the existing password (which you have forgotten/don’t know) and reset the password to your like. It’s Simple but effective. Just follow the given steps properly.
Steps to be followed:
1) Make the system have a hard shutdown. This can be done by pressing the On/Off button on your computer while the “Starting Windows” screen is active. Do this as many times until you get the ‘Windows Error Recovery’ screen as shown below.
windows-7-hack-techews.com
2) In it select the “Launch Startup Repair (recommended)” and a startup recovery option will appear on the screen.
3) Cancel the “Do you want to use System Restore?” prompt.
windows-7-hack-techews.com
4) Wait until Windows has finished repairing your computer. This repairing process will not harm any files present in the system.
windows-7-hack-techews.com
5) After waiting, a window will appear saying “Startup repair could not repair your computer.” You will also see an arrow pointing downwards in the bottom left corner (Problem Details). Click on it.
6) Scroll down and click the 2nd link. (Highlighted in the figure below)
windows-7-hack-techews.com
7) After completing step 6, a Notepad will open up. Follow the given routeshown in bold: File => Open => Computer => Local Disk => Windows => System32
8) Switch from Text Documents (*.txt) to All Files.
windows-7-hack-techews.com
9) Now, in this folder, System32, find an application named sethc and rename it as sethc-bak (creating a backup file). Sethc is an application for the Sticky keys program and renaming it won’t do any harm to your computer.
Also, find the application named cmd and create a copy of it in the same folder(system32). Rename the copy file as sethc.
Picture9 (1)
10) Close all opened windows and select ‘Finish’ and Restart your system.
windows-7-hack-techews.com
11) When the Password screen appears, hit Shift 5 times. Command Prompt(Cmd) with admin privileges is opened by doing so.
12) Enter this code into cmd: net user[username]* to change the [username]’s password. You will not be able to see the new enteredpassword, so enter it wisely and carefully.
windows-7-hack-techews.com
13) After you have successfully changed the password, you can close the cmd screen.
14) Enter the new password you’ve set in the password screen ofWindows 7, that’s all, you will now successfully enter the system.

How To Password Protect USB drives using BitLocker

Since Windows Vista, Windows comes bundled with a security feature BitLocker, a hard drive encryption scheme designed to protect sensitive data from being accessed on lost or stolen computers mainly laptops. Toprotect important data stored on USB drives, Windows 7 features the encryptions scheme called BitLocker To Go. It allows to protect USB drives and it restricts access to it with a password.
During the encryption process, Windows 7 installs a special reader on the USB drive. When you connect the USB drive to a computer running XP or Vista, the BitLocker To Go Reader takes control, prompts for the password, and then basically makes the USB drive a read-only device.
To set up password on a USB drive:
Insert a USB drive, and go to Control Panel > BitLocker Drive Encryption.
Encrypt usb
Here BitLocker To Go can be enabled for USB drive. As soon as you do, BitLocker To Go will begin initializing your USB drive. During the process you don‟t have to worry about any data that is already on the drive.
encrypt usb techews
After the initialization process is complete, BitLocker To Go will prompt for a password which you can use to unlock the drive later. You can also use your smartcard PIN to unlock the drive.
encrypt usb techews.com
Next to password setup, BitLocker To Go will prompt you to store a recovery key that helps unlock your drive in case you forget your password or lose your smart card.
encrypt usb
Recovery Key can be saved in a file or can be printed as well. Thereafter it would ask a confirmation for encryption process.
techews.com
You’ll be prompted to begin the encryption process once you save the recovery key.
techews.com
During the encryption process, you’ll see a standard progress monitor which tells the percentage of drive encrypted. The amount of time that it will take to complete the process will depend on how large the drive is.
While the encryption process is going on, status of Drive can be seen asEncrypting in control Panel.
When the encryption is complete, a prompt would display Encryption is Complete.
encryption complete
Now the drive is encrypted and password prompt on plugging the USB drive starts from next plug in.
Encrypted USB drive would prompt to enter the password immediately after it is inserted. The drive can be used only and only if Correct password is entered.
BitLocker To Go encrypted drive works in Windows XP/Vista as well i.e. it would prompt password in XP/Vista as well even if drive is encrypted in Windows 7.
The USB drive has a closed lock as an icon till it is unlocked and thereafter the icon changes to an open lock signifying drive is unlocked and ready for use.

Change windows password without knowing current password

Change windows password without knowing current password
Can’t remember windows password ??. Every one knows that without knowing the current password we are unable to change Windows password.It’s very common that the current password slips out of your mind, then in such a case there is nothing to worry about. One can change such forgotten password by following methods:
Reset Windows Password from Command Prompt
Change windows password without knowing current password
This is an especially handy trick if you want to change a password on an account but you’ve forgotten the old password (going through the Control Panel can require confirmation of the old password). You need to have admin access to perform this change from the command line.
1. Open an elevated Command Prompt. Click on Start button, go to All Programs -> Accessories and right click on Command Prompt and select “Run as Administrator” from context menu. In Windows 8, you can do this by simply pressing Windows Key + X + A.
2. You can use the net user command to change Windows password easily, without supplying the old password:
net user username  new password
Replace username with your Windows account name, and new password with your desired new password.
If you’re totally locked out of Windows, you’re unable to run any program such as command line tool to change your password. In this situation, you need to use a bootable media to reset your Windows password.
Reset Windows Password with PCUnlocker
PCUnlocker is a bootable utility that can reset the password of any Windows user account. It works with all versions of Windows, including Windows 8.1 and Windows Server 2012. Follow these steps and you can change Windows password without knowing the old password:
  1. First of all, you need to use another PC to download the PCUnlocker program, which comes as a bootable CD image. Burn the ISO image to a blank CD or USB drive using the ISO2Disc utility.
  2. Insert the newly burned CD or USB drive into your target computer, and set it to boot from CD/USB.
  3. Once you’ve booted into the CD/USB drive, you’ll be presented with the screen of PCUnlocker. This program automatically locates the SAM database file for your installed Windows operating system, and shows you a list of local user accounts.
  4. Select a user account and click on Reset Password button. It will remove your old password immediately. Restart the computer and you can then log into your Windows account without typing a password.
Try this one also!
1. First of all go to your Desktop main screen & right click on My computer, now click on manage
Change windows password without knowing current password
2.Now here you found system tools, click on  Local user & group
Change windows password without knowing current password
  1. click on users, here you found users as shown below.
Change windows password without knowing current password
  1. Choose user, right click on it then > set password
Change windows password without knowing current password         5. click proceed and type your new password

Wednesday 21 January 2015

Crystal Report

                   Crystal Report


  1. Simple Crystal Report
  2. Group in Crystal Report
  3. Graph in Crystal Report
  4. Cross-Tab in Crystal Report
  5. Sub report in Crystal Report

Using the Code

Let’s start by creating a new ASP.NET Web Site. Figure 1 shows the initial web site creation screen.
fig1.PNG
Figure 1
By clicking OK button, you can see the project created in solution explorer. Now let’s start with Crystal Report.
Before that, I am going to show my table structure and data in table. So this will help you to understand the steps easily. Figure 2 will show the table structure and Figure 3 will show the data in table.
fig2.PNG
Figure 2
fig3.PNG
Figure 3
But in the attached project, I am getting data from the XML file. I have saved all the data from table to XML. So you can easily use the attached project. Next Dataset (xsd file) creation.
There are so many ways to pass the data to Crystal Report. Here I am using Dataset (xsd file) to bind Crystal Report. In my point of view, this is the best way to bind. So, next step is Dataset (xsd file) creation.
Go to Solution Explorer -> Right click on the Project -> Add New Item. Figure 4 shows the Dataset creation.
fig4.PNG
Figure 4
Once you click on Add button, it will ask one confirmation message. Just click yes. Now you can see thedsTestCrystal.xsd dataset file opened in Visual Studio. Here you need to create one Data Table with all the columns names you need to shown in Crystal Report. To Create Data Table, see the below Figure 5.
fig5.PNG
Figure 5
Now you can see Data Table created in the Dataset. Next, we need to add the columns names need to shown inCrystal Report. Please note that this Data Table column names and data types should be the same as your table in database. If you are getting any data type property mismatching error, just think that this is the problem. To Create Column names, see the below Figure 6.
fig6.PNG
Figure 6
Add all the columns one by one and set the correct data type. Here by default, data type is string. If any columns have different data type, we need to change manually. In this project, I am using ‘Marks’ column data type as int. So to change the data type, see the below Figure 7.
fig7.PNG
Figure 7
Dataset (dsTestCrystal.xsd) creation has been done. Now we need to design Crystal Report.

1. Simple Crystal Report

Go to Solution Explorer -> Right click on the Project -> Add New Item. Figure 8 shows the Dataset creation.
fig8.PNG
Figure 8
On click of Add button, you will get Crystal Report Gallery window. In that, select Using the Report Wizardcheck box and Click OK button. Now you will get the below Figure 9.
fig9.PNG
Figure 9
Now expand the ADO.NET Datasets folder. There you can see the Dataset (dsTestCrystal) we created. Under dsTestCrystal, you can see the Data Table we created. So select this Data Table and click the arrow button to move to the Selected Tables list box as shown in the below Figure 10.
fig90.PNG
Figure 10
Just click the Finish button. Now you can see the Crystal Report opened in Visual Studio. In your left side, you can see Field Explorer. In case you cannot see it there, just go to menu Crystal Reports -> Field Explorer. Field Explorer View is shown in below Figure 11.
fig91.PNG
Figure 11
Now you can drag and drop the columns from Field Explorer to Details Section in Crystal Report. You can see the final view of the Crystal Report in the next Figure 12.
fig92.PNG
Figure 12
Crystal Report design also done. Now we need to pass the data to the Dataset (dsTestCrystal) and we need to set this Dataset to Crystal Report.
Now just create one aspx page. Add the below code in .aspx page.
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
DisplayGroupTree="False"  />   
Then write the below code in .aspx.vb page to generate Crystal report.
Dim rptDoc As New ReportDocument
Dim ds As New dsTestCrystal
Dim sqlCon As SqlConnection
Dim dt As New DataTable
dt.TableName = "Crystal Report Example"
sqlCon = New SqlConnection("server='servername';
Initial Catalog='databasename';user id='userid';password='password'")
Dim da As New SqlDataAdapter("select Stud_Name, Class, 
Subject, Marks from stud_details", sqlCon)
da.Fill(dt)
ds.Tables(0).Merge(dt)
rptDoc.Load(Server.MapPath("SimpleCrystal.rpt"))
rptDoc.SetDataSource(ds)
CrystalReportViewer1.ReportSource = rptDoc 
Now run your page and the data generated in Crystal Report.

2. Crystal Report using Grouping

Here I am going to explain only the Crystal Report design. Remaining things you can refer from the previous one.
I am going to use the Group like Class -> Name -> Subect & Marks. Here Class and Name is Group. Subject and Marks will come in detail section. To create Group, see the below Figure 13 & 14.
fig93.PNG
Figure 13
fig94.PNG
Figure 14
Class is the main group. So first we need to move Class field to Group By list box by clicking the arrow button. Then we need to move the Stud_Name field. See the below Figure 15.
fig95.PNG
Figure 15
Now click OK button and see the difference in Crystal Report. There you can see two Header & Footer added and two fields Group #1 Name, Group #2 Name. Group #1 Name is Class and Group #2 Name is Stud_name. See the below Figure 16.
fig96.PNG
Figure 16
Now you can drag and drop the columns from Field Explorer to Details Section in Crystal Report. You can see the final view of the Crystal Report in the next Figure 17.
fig97.PNG
Figure 17
Now I am going to add sum of marks for the student. In Stud_Name GroupFooterSection, we need to add this sum. See the below Figure 18.
fig98.PNG
Figure 18
On click of Summary you will get the below Figure 19.
fig99.PNG
Figure 19
We need the sum of Marks column. So select Marks field from first combo box. Then select Sum from the second combo box. Finally, we need sum of marks for each student. So we need to select Stud_Name group from third combo box. Then click OK button. Now you can see the sum field added in Stus_Name footer section. See the Final view of Crystal Report in the below Figure 20.
fig100.PNG
Figure 20

3. Chart in Crystal Report

Here also, I am going to explain only the Chart design. Remaining steps are the same as the first one.
I am going to show the students total marks student wise. X-axis is Student names and Y-axis is Total Marks. Lets start the creation of chart. See the below Figure 21.
fig101.PNG
Figure 21
Once you click the Chart, you will get the below Figure 22. Here you can see number of chart formats. So you can select any one from here. I am selecting Bar from the options.
fig102.PNG
Figure 22
Now move to the second tab which is Data. See the below Figure 23.
fig103.PNG
Figure 23
As I said earlier, Stud_Name we are using in X-axis. So we need to move Stud_Name to first (on change of) list box. Then move Marks to the second list box (Show value(s)). By default, Sum will display there. If you want to change Sum to some other, you can change by clicking the Set Summary Operation button. Then click Ok button. You can see the chart created in Report Header section. See the Final view of Crystal Report in the below Figure 24.
fig104.PNG
Figure 24
Now Run the web site and see the chart. That’s all. It’s done.

4. Cross-Tab in Crystal Report

Here also, I am going to explain only the report design. Remaining steps are the same as the first one.
First, you need to know the reason why we need to use Cross-Tab. If you want to display the subject column wise, we need to use cross-Tab. Because subject can vary for different class, we cannot design report with fixed columns. So in this scenario, we can go for Cross-Tab. See the Cross-Tab report creation in below Figure 25.
Note: We can place Cross-Tab only in Report Header/Footer.
fig105.PNG
Figure 25
Once you click the Cross-tab, you can see the rectangle mouse pointer. So you need to place that only in Report Header/Footer. Once you place that, you will get the below Figure 26.
fig106.PNG
Figure 26
As I said in the earlier, we are going to put subject in column wise. So move Subject field to Columns listbox. Then before showing the marks of each subject, we need to show the Student name. So Move Stud_Name to Rows listbox. Finally move Marks to Summarized Fields listbox. Then click Ok button. You can see the report created in Report Header/Footer section. See the Final view of Cross-Tab Report in the below Figure 27.
fig107.PNG
Figure 27
Now Run the web site and see the report. That’s all. It’s done.

5. Sub Report in Crystal Report

Here also, I am going to explain only the report design. Remaining steps are the same as the first one.
Here, I am going to show the each students' marks in graph by using sub report. So, to use sub report, first I am going to create student group header. See the below Figure 28.
fig108.PNG
Figure 28
Then in group header section, we need to create sub report. To do this, follow the below Figure 29.
fig109.PNG
Figure 29
Then place the mouse in the group header section. Once you place the mouse cursor, you will get one popup window. See the below Figure 30.
fig110.PNG
Figure 30
Here check the third check box to create new sub report. Then type the sub report name. Then click the Report Wizard button to select data set. Select the dataset like the below Figure 31.
fig90.PNG
Figure 31
Then click the Finish button and click OK button in sub report window. Now follow the below Figure 32 to edit the sub report.
fig111.PNG
Figure 32
Now you will get the below Figure 33. Here you can create Graph by using 3rd section (Graph Creation). Here use Subject as X-axis and Marks as Y-axis. See the below Figure 33.
fig112.PNG
Figure 33
Now Run the web site and see the report. That’s all. It’s done.