Académique Documents
Professionnel Documents
Culture Documents
Introduction
VPIMSR
Page 1
Fastrack move on
Fastrack
about Fastrack.
It is a Popular for various products. Our website provides
detailed information about the all type of sunglass, bags,
watches,belts etc. We have provided information about
Fastrack Products, Services, Prize,Contact details in our
Website.
Our website is an informative website and we have
tried to provide all information about theFastrack.
VPIMSR
Page 2
Fastrack move on
Analysis
VPIMSR
Page 3
Fastrack move on
books,
searching
google.com,Wikipedia.com.
VPIMSR
Page 4
websites
from
Fastrack move on
Software Requirement
VPIMSR
Page 5
Fastrack move on
Design
VPIMSR
Page 6
Fastrack move on
Master Page
Home
History.
About Us
Search
Search By
Category.
Admin
Add Category.
Add Product
Read.
FeedBack.
Photo Gallery
Feedback
Contact
VPIMSR
Page 7
Fastrack move on
Implementation
4.1Page Printouts
Figure1 : Home
VPIMSR
Page 8
Fastrack move on
Discription : Show History Of Fastrack.
VPIMSR
Page 9
Fastrack move on
Figure2 : About Us.
Discription : Display the information of about us.
VPIMSR
Page 10
Fastrack move on
Figure3 :Search.
Discription :Search by Category-Sunglass.
VPIMSR
Page 11
Fastrack move on
Figure4 : Search.
Discription : Search by Category-Watches.
VPIMSR
Page 12
Fastrack move on
Figure5: Search.
Discription : Search by Category-Bags.
VPIMSR
Page 13
Fastrack move on
Figure6 : Search.
Discription : Search by Category-Belts.
VPIMSR
Page 14
Fastrack move on
Figure7 : Admin.
Discription : Use For Administrator.
VPIMSR
Page 15
Fastrack move on
VPIMSR
Page 16
Fastrack move on
VPIMSR
Page 17
Fastrack move on
Figure10: Admin-Add Product.
Discription : Admin Can Add Product.
VPIMSR
Page 18
Fastrack move on
VPIMSR
Page 19
Fastrack move on
VPIMSR
Page 20
Fastrack move on
Figure13 : Feedback.
Discription : Feedback of Customer.
VPIMSR
Page 21
Fastrack move on
Figure14 : Contact.
Discription : Address & Phone Number Of Shop.
VPIMSR
Page 22
Fastrack move on
4.2SourceCode
Source Code Of Master Page :
<
%@MasterLanguage="C#"AutoEventWireup="true"CodeFile="MasterPage.master.cs"Inhe
rits="MasterPage"%>
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0
Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<headrunat="server">
<title>Untitled Page</title>
<asp:ContentPlaceHolderid="head"runat="server">
</asp:ContentPlaceHolder>
<styletype="text/css">
.style1
{
width: 100%;
}
.style2
{
height: 143px;
}
</style>
</head>
<body>
<formid="form1"runat="server">
<div>
<tablecellpadding="20"class="style1">
<tr>
<tdclass="style2"colspan="2">
<asp:ImageID="Image1"runat="server"Height="297px"ImageUrl="~/fastrack.jpg"
Width="100%"/>
</td>
</tr>
<tr>
<td>
<asp:SiteMapPathID="SiteMapPath1"runat="server"Font-Names="Verdana"
Font-Size="Medium"PathSeparator=" : ">
<PathSeparatorStyleFont-Bold="True"ForeColor="#990000"/>
<CurrentNodeStyleForeColor="#333333"/>
<NodeStyleFont-Bold="True"ForeColor="#990000"/>
<RootNodeStyleFont-Bold="True"ForeColor="#FF8000"/>
</asp:SiteMapPath>
</td>
<tdalign="right">
<asp:LoginStatusID="LoginStatus1"runat="server"/>
</td>
</tr>
<tr>
<tdcolspan="2">
<asp:MenuID="Menu1"runat="server"BackColor="#FFFBD6"
DataSourceID="SiteMapDataSource1"DynamicHorizontalOffset="2"
VPIMSR
Page 23
Fastrack move on
Font-Names="Verdana"Font-Size="Medium"ForeColor="#990000"
Orientation="Horizontal"StaticDisplayLevels="2"StaticSubMenuIndent="10px"
Width="100%">
<StaticSelectedStyleBackColor="#FFCC66"/>
<StaticMenuItemStyleHorizontalPadding="5px"VerticalPadding="2px"/>
<DynamicHoverStyleBackColor="#990000"ForeColor="White"/>
<DynamicMenuStyleBackColor="#FFFBD6"/>
<DynamicSelectedStyleBackColor="#FFCC66"/>
<DynamicMenuItemStyleHorizontalPadding="5px"VerticalPadding="2px"/>
<StaticHoverStyleBackColor="#990000"ForeColor="White"/>
</asp:Menu>
</td>
</tr>
<tr>
<tdcolspan="2">
<asp:ContentPlaceHolderID="ContentPlaceHolder1"runat="server">
<tablecellpadding="2"class="style1">
<tr>
<td>
</td>
</tr>
</table>
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<tdcolspan="2"style="text-align: center">
Powered By : Bhagyashri Admuthe , Utkarsha
Joshi.</td>
</tr>
</table>
</div>
<asp:SiteMapDataSourceID="SiteMapDataSource1"runat="server"/>
</form>
</body>
</html>
VPIMSR
Page 24
Fastrack move on
Source Code Of Home :
<%@PageLanguage="C#"MasterPageFile="~/MasterPage.master"Title="Untitled
Page"%>
<scriptrunat="server">
protectedvoid Page_Load(object sender, EventArgs e)
{
}
</script>
<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Serv
er">
<tablecellpadding="20"style="width: 100%">
<tr>
<tdstyle="color: #FFFFFF; text-align: justify;">
<spanstyle="font-size: xx-large; color: #000000;">History</span><br/>
<br/>
<spanstyle="font-size: x-large; color: #000000;">Fast Track was founded in
1998 by ex-Olympians Alan Pascoe, MBE and Edward Leask with one client, UK
Athletics, which is still an important part of our business today. With a
team of just 8 people at the start, Fast Track developed a highly successful
commercial and televised event programme for the National Governing Body,
headlined by a new White Knight Title Sponsor, Insurance company CGU, now
known as Aviva.
The business grew strongly from then until August 2006 when that growth was
bolstered by the acquisition of sports marketing consultancy, Lighthouse
Communications. A roster of world class clients and an additional 25 people
helped further build the breadth and depth of the Fast Track offering and
together we moved into new headquarters at One Brewers Green in Victoria.
The new company, now 80 strong, had emerged as one of the leading sports
marketing agencies in the UK.
In March 2007, marketing services group, Chime Communications PLC added Sports
Marketing to its portfolio with the acquisition of Fast Track in a move that
recognised the sectors growing importance. With over 50 PR, Advertising,
Marketing and Research companies in the Group were now a key part of Chimes
Sports Marketing Division.
Since then Fast Track has continued to evolve its offer and has built
International capability; in addition to our UK Headquarters we now have
established offices in Spain, Abu Dhabi, Hong Kong and New Zealand with
further expansion expected in 2011. Fast Tracks International reach was
further complimented recently through Chimes acquisition of sport marketing
group, Essentially which has market presence in Japan, Australia, South
Africa, New Zealand and India
</span>
VPIMSR
Page 25
Fastrack move on
<brstyle="font-size: x-large"/>
<brstyle="font-size: x-large"/>
<brstyle="font-size: x-large"/>
<spanstyle="font-size: x-large">
</div>
</span>
<brstyle="font-size: x-large"/>
</td>
</tr>
</table>
</asp:Content>
Page 26
Fastrack move on
<
%@PageLanguage="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"C
odeFile="about.aspx.cs"Inherits="about"Title="Untitled Page"%>
<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Serv
er">
<tablecellpadding="20"style="width: 100%">
<tr>
<tdstyle="color: #000000; text-align: justify;">
<spanstyle="font-size: xx-large">About Us
</span>
<brstyle="font-size: large"/>
<spanclass="style3">
<brstyle="font-size: large"/>
<brstyle="font-size: large"/>
</span>
<spanstyle="font-size: xlarge"><spanclass="style3"> &nb
sp; We recognise
that every client is unique and requires different solutions but all share one
common goal: to achieve great results. By understanding your business needs we
draw expertise from across t</span>he company to create bespoke teams that can
successfully design and implement strategies that meet your objectives and
deliver real value.
With over 170 people specialising in sports marketing, events and media our
knowledge, experience and network drawn from decades of working in sport
allows us to provide our clients with the very best advice and services across
International markets.</span></td>
</tr>
<tr>
<tdstyle="color: #FFFFFF; text-align: justify;">
</td>
</tr>
</table>
</asp:Content>
<asp:ContentID="Content2"runat="server"contentplaceholderid="head">
<styletype="text/css">
.style3
{
color: #000000;
}
</style>
</asp:Content>
VPIMSR
Page 27
Fastrack move on
Source Code Of Search by Category:
<
%@PageLanguage="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"C
odeFile="SearchCategory.aspx.cs"Inherits="SearchCategory"Title="Untitled
Page"%>
<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Serv
er">
<tablecellpadding="20"style="width: 100%">
<tr>
<tdstyle="color: #FFFFFF">
<spanclass="style3">Select Category </span>
<asp:DropDownListID="DropDownList1"runat="server"AutoPostBack="True"
DataSourceID="SqlDataSource1"DataTextField="CategoryName"
DataValueField="CategoriId">
</asp:DropDownList>
<asp:SqlDataSourceID="SqlDataSource1"runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [CategoryMaster]"></asp:SqlDataSource>
<br/>
<br/>
Product
L<asp:GridViewID="GridView1"runat="server"AllowPaging="True"
AutoGenerateColumns="False"DataKeyNames="ProductId"
DataSourceID="SqlDataSource2"
EmptyDataText="There are no data records to display."
style="color: #000000; text-align: left;">
<Columns>
<asp:BoundFieldDataField="ProductId"HeaderText="ProductId"ReadOnly="True"
SortExpression="ProductId"/>
<asp:BoundFieldDataField="CategoryId"HeaderText="CategoryId"
SortExpression="CategoryId"/>
<asp:BoundFieldDataField="Price"HeaderText="Price"SortExpression="Price"/>
<asp:BoundFieldDataField="ModelNo"HeaderText="ModelNo"
SortExpression="ModelNo"/>
<asp:TemplateFieldHeaderText="Photo"SortExpression="Photo">
<EditItemTemplate>
<asp:TextBoxID="TextBox1"runat="server"Text='<%# Bind("Photo")
%>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:ImageID="Image2"runat="server"Height="133px"
ImageUrl='<%# Eval("Photo", "~/Images/{0}") %>'Width="178px"/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:SqlDataSourceID="SqlDataSource2"runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [ProductMaster] WHERE [ProductId] = @ProductId"
InsertCommand="INSERT INTO [ProductMaster] ([ProductId], [ProductName],
[CategoryId], [Price], [ModelNo], [Photo]) VALUES (@ProductId, @ProductName,
@CategoryId, @Price, @ModelNo, @Photo)"
ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
VPIMSR
Page 28
Fastrack move on
SelectCommand="SELECT [ProductId], [ProductName], [CategoryId], [Price],
[ModelNo], [Photo] FROM [ProductMaster] WHERE ([CategoryId] = @CategoryId)"
UpdateCommand="UPDATE [ProductMaster] SET [ProductName] = @ProductName,
[CategoryId] = @CategoryId, [Price] = @Price, [ModelNo] = @ModelNo, [Photo] =
@Photo WHERE [ProductId] = @ProductId">
<SelectParameters>
<asp:ControlParameterControlID="DropDownList1"Name="CategoryId"
PropertyName="SelectedValue"Type="Int32"/>
</SelectParameters>
<DeleteParameters>
<asp:ParameterName="ProductId"Type="Int32"/>
</DeleteParameters>
<InsertParameters>
<asp:ParameterName="ProductId"Type="Int32"/>
<asp:ParameterName="ProductName"Type="String"/>
<asp:ParameterName="CategoryId"Type="Int32"/>
<asp:ParameterName="Price"Type="Decimal"/>
<asp:ParameterName="ModelNo"Type="String"/>
<asp:ParameterName="Photo"Type="String"/>
</InsertParameters>
<UpdateParameters>
<asp:ParameterName="ProductName"Type="String"/>
<asp:ParameterName="CategoryId"Type="Int32"/>
<asp:ParameterName="Price"Type="Decimal"/>
<asp:ParameterName="ModelNo"Type="String"/>
<asp:ParameterName="Photo"Type="String"/>
<asp:ParameterName="ProductId"Type="Int32"/>
</UpdateParameters>
</asp:SqlDataSource>
ist
<br/>
<br/>
</td>
</tr>
</table>
</asp:Content>
<asp:ContentID="Content2"runat="server"contentplaceholderid="head">
<styletype="text/css">
.style3
{
color: #000000;
}
</style>
</asp:Content>
Page 29
Fastrack move on
<
%@PageLanguage="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"C
odeFile="Login.aspx.cs"Inherits="Login"Title="Untitled Page"%>
<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Serv
er">
<tablecellpadding="20"style="width: 100%">
<tr>
<tdstyle="text-align: center">
<asp:LoginID="Login1"runat="server"style="color: #000000"
BackColor="#F7F7DE"BorderColor="#CCCC99"BorderStyle="Solid"BorderWidth="1px"
Font-Names="Verdana"Font-Size="10pt">
<TitleTextStyleBackColor="#6B696B"Font-Bold="True"ForeColor="#FFFFFF"/>
</asp:Login>
</td>
</tr>
</table>
</asp:Content>
VPIMSR
Page 30
Fastrack move on
Source Code Of Admin-Add Category :
<
%@PageLanguage="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"C
odeFile="AddCategory.aspx.cs"Inherits="Admin_AddProduct"Title="Untitled
Page"%>
<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Serv
er">
<tablecellpadding="20"style="width: 100%">
<tr>
<td>
<br/>
<asp:DetailsViewID="DetailsView1"runat="server"AutoGenerateRows="False"
DataKeyNames="CategoriId"DataSourceID="SqlDataSource1"DefaultMode="Insert"
Height="50px"Width="125px">
<Fields>
<asp:BoundFieldDataField="CategoriId"HeaderText="CategoryId"ReadOnly="True"
SortExpression="CategoriId"/>
<asp:BoundFieldDataField="CategoryName"HeaderText="CategoryName"
SortExpression="CategoryName"/>
<asp:CommandFieldShowInsertButton="True"/>
</Fields>
</asp:DetailsView>
<br/>
<br/>
<br/>
<br/>
<asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False"
DataKeyNames="CategoriId"DataSourceID="SqlDataSource1"
EmptyDataText="There are no data records to display.">
<Columns>
<asp:CommandFieldShowDeleteButton="True"ShowEditButton="True"/>
<asp:BoundFieldDataField="CategoriId"HeaderText="CategoryId"ReadOnly="True"
SortExpression="CategoriId"/>
<asp:BoundFieldDataField="CategoryName"HeaderText="CategoryName"
SortExpression="CategoryName"/>
</Columns>
</asp:GridView>
<asp:SqlDataSourceID="SqlDataSource1"runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [CategoryMaster] WHERE [CategoriId] = @CategoriId"
InsertCommand="INSERT INTO [CategoryMaster] ([CategoriId], [CategoryName])
VALUES (@CategoriId, @CategoryName)"
ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
SelectCommand="SELECT [CategoriId], [CategoryName] FROM [CategoryMaster]"
UpdateCommand="UPDATE [CategoryMaster] SET [CategoryName] = @CategoryName
WHERE [CategoriId] = @CategoriId">
<DeleteParameters>
<asp:ParameterName="CategoriId"Type="Int32"/>
</DeleteParameters>
<InsertParameters>
<asp:ParameterName="CategoriId"Type="Int32"/>
<asp:ParameterName="CategoryName"Type="String"/>
</InsertParameters>
<UpdateParameters>
VPIMSR
Page 31
Fastrack move on
<asp:ParameterName="CategoryName"Type="String"/>
<asp:ParameterName="CategoriId"Type="Int32"/>
</UpdateParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>
VPIMSR
Page 32
Fastrack move on
Source Code Of Admin-Add Product :
<
%@PageLanguage="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"C
odeFile="AddProduct.aspx.cs"Inherits="Admin_AddProduct"Title="Untitled Page"%>
<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Serv
er">
<tablecellpadding="20"style="width: 100%">
<tr>
<td>
<br/>
<br/>
<br/>
<asp:DetailsViewID="DetailsView1"runat="server"AutoGenerateRows="False"
DataKeyNames="ProductId"DataSourceID="SqlDataSource1"DefaultMode="Insert"
Height="50px"oniteminserting="DetailsView1_ItemInserting"
Width="125px">
<Fields>
<asp:BoundFieldDataField="ProductId"HeaderText="ProductId"ReadOnly="True"
SortExpression="ProductId"/>
<asp:TemplateFieldHeaderText="CategoryId"SortExpression="CategoryId">
<EditItemTemplate>
<asp:TextBoxID="TextBox1"runat="server"Text='<%# Bind("CategoryId")
%>'></asp:TextBox>
</EditItemTemplate>
<InsertItemTemplate>
<asp:DropDownListID="DropDownList1"runat="server"
DataSourceID="SqlDataSource2"DataTextField="CategoryName"
DataValueField="CategoriId"SelectedValue='<%# Bind("CategoryId") %>'>
</asp:DropDownList>
<asp:SqlDataSourceID="SqlDataSource2"runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [CategoryMaster]"></asp:SqlDataSource>
</InsertItemTemplate>
<ItemTemplate>
<asp:LabelID="Label1"runat="server"Text='<%# Bind("CategoryId")
%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundFieldDataField="Price"HeaderText="Price"SortExpression="Price"/>
<asp:BoundFieldDataField="ModelNo"HeaderText="ModelNo"
SortExpression="ModelNo"/>
<asp:TemplateFieldHeaderText="Photo"SortExpression="Photo">
<EditItemTemplate>
<asp:TextBoxID="TextBox2"runat="server"Text='<%# Bind("Photo")
%>'></asp:TextBox>
</EditItemTemplate>
<InsertItemTemplate>
<asp:FileUploadID="FileUpload1"runat="server"/>
</InsertItemTemplate>
<ItemTemplate>
<asp:LabelID="Label2"runat="server"Text='<%# Bind("Photo") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:CommandFieldShowInsertButton="True"/>
VPIMSR
Page 33
Fastrack move on
</Fields>
</asp:DetailsView>
<br/>
<br/>
<br/>
<asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False"
DataKeyNames="ProductId"DataSourceID="SqlDataSource1"
EmptyDataText="There are no data records to display.">
<Columns>
<asp:CommandFieldShowDeleteButton="True"ShowEditButton="True"/>
<asp:BoundFieldDataField="ProductId"HeaderText="ProductId"ReadOnly="True"
SortExpression="ProductId"/>
<asp:TemplateFieldHeaderText="CategoryId"SortExpression="CategoryId">
<EditItemTemplate>
<asp:DropDownListID="DropDownList3"runat="server"
DataSourceID="SqlDataSource4"DataTextField="CategoryName"
DataValueField="CategoriId"SelectedValue='<%# Bind("CategoryId") %>'>
</asp:DropDownList>
<asp:SqlDataSourceID="SqlDataSource4"runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [CategoryMaster]"></asp:SqlDataSource>
</EditItemTemplate>
<ItemTemplate>
<asp:DropDownListID="DropDownList2"runat="server"
DataSourceID="SqlDataSource3"DataTextField="CategoryName"
DataValueField="CategoriId"Enabled="False"
SelectedValue='<%# Bind("CategoryId") %>'>
</asp:DropDownList>
<asp:SqlDataSourceID="SqlDataSource3"runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [CategoryMaster]"></asp:SqlDataSource>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundFieldDataField="Price"HeaderText="Price"SortExpression="Price"/>
<asp:BoundFieldDataField="ModelNo"HeaderText="ModelNo"
SortExpression="ModelNo"/>
<asp:TemplateFieldHeaderText="Photo"SortExpression="Photo">
<EditItemTemplate>
<asp:TextBoxID="TextBox2"runat="server"Enabled="False"
Text='<%# Bind("Photo") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:ImageID="Image2"runat="server"Height="121px"
ImageUrl='<%# Eval("Photo", "~/Images/{0}") %>'/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:SqlDataSourceID="SqlDataSource1"runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [ProductMaster] WHERE [ProductId] = @ProductId"
InsertCommand="INSERT INTO [ProductMaster] ([ProductId], [ProductName],
[CategoryId], [Price], [ModelNo], [Photo]) VALUES (@ProductId, @ProductName,
@CategoryId, @Price, @ModelNo, @Photo)"
ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
SelectCommand="SELECT [ProductId], [ProductName], [CategoryId], [Price],
[ModelNo], [Photo] FROM [ProductMaster]"
VPIMSR
Page 34
Fastrack move on
UpdateCommand="UPDATE [ProductMaster] SET [ProductName] = @ProductName,
[CategoryId] = @CategoryId, [Price] = @Price, [ModelNo] = @ModelNo, [Photo] =
@Photo WHERE [ProductId] = @ProductId">
<DeleteParameters>
<asp:ParameterName="ProductId"Type="Int32"/>
</DeleteParameters>
<InsertParameters>
<asp:ParameterName="ProductId"Type="Int32"/>
<asp:ParameterName="ProductName"Type="String"/>
<asp:ParameterName="CategoryId"Type="Int32"/>
<asp:ParameterName="Price"Type="Decimal"/>
<asp:ParameterName="ModelNo"Type="String"/>
<asp:ParameterName="Photo"Type="String"/>
</InsertParameters>
<UpdateParameters>
<asp:ParameterName="ProductName"Type="String"/>
<asp:ParameterName="CategoryId"Type="Int32"/>
<asp:ParameterName="Price"Type="Decimal"/>
<asp:ParameterName="ModelNo"Type="String"/>
<asp:ParameterName="Photo"Type="String"/>
<asp:ParameterName="ProductId"Type="Int32"/>
</UpdateParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>
VPIMSR
Page 35
Fastrack move on
Source Code Of Read Feedback :
<
%@PageLanguage="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"C
odeFile="ReadFeedback.aspx.cs"Inherits="Admin_ReadFeedback"Title="Untitled
Page"%>
<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Serv
er">
<tablecellpadding="20"style="width: 100%">
<tr>
<tdstyle="color: #FFFFFF">
Suggetions Received<br/>
<br/>
<asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False"
DataKeyNames="FeedbackId"DataSourceID="SqlDataSource1"
EmptyDataText="There are no data records to display."
style="color: #000000">
<Columns>
<asp:BoundFieldDataField="FeedbackId"HeaderText="FeedbackId"ReadOnly="True"
SortExpression="FeedbackId"/>
<asp:BoundFieldDataField="Name"HeaderText="Name"SortExpression="Name"/>
<asp:BoundFieldDataField="EmailId"HeaderText="EmailId"
SortExpression="EmailId"/>
<asp:BoundFieldDataField="Suggestions"HeaderText="Suggestions"
SortExpression="Suggestions"/>
</Columns>
</asp:GridView>
<asp:SqlDataSourceID="SqlDataSource1"runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [FeedbackMaster] WHERE [FeedbackId] = @FeedbackId"
InsertCommand="INSERT INTO [FeedbackMaster] ([Name], [EmailId], [Suggestions])
VALUES (@Name, @EmailId, @Suggestions)"
ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
SelectCommand="SELECT [FeedbackId], [Name], [EmailId], [Suggestions] FROM
[FeedbackMaster]"
UpdateCommand="UPDATE [FeedbackMaster] SET [Name] = @Name, [EmailId] =
@EmailId, [Suggestions] = @Suggestions WHERE [FeedbackId] = @FeedbackId">
<DeleteParameters>
<asp:ParameterName="FeedbackId"Type="Int32"/>
</DeleteParameters>
<InsertParameters>
<asp:ParameterName="Name"Type="String"/>
<asp:ParameterName="EmailId"Type="String"/>
<asp:ParameterName="Suggestions"Type="String"/>
</InsertParameters>
<UpdateParameters>
<asp:ParameterName="Name"Type="String"/>
<asp:ParameterName="EmailId"Type="String"/>
<asp:ParameterName="Suggestions"Type="String"/>
<asp:ParameterName="FeedbackId"Type="Int32"/>
</UpdateParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
VPIMSR
Page 36
Fastrack move on
</asp:Content>
VPIMSR
Page 37
Fastrack move on
<ItemTemplate>
<asp:ImageID="Image2"runat="server"Height="142px"
ImageUrl='<%# Eval("Photo", "~/Images/{0}") %>'Width="186px"/>
<br/>
<br/>
Price:
<asp:LabelID="PriceLabel"runat="server"Text='<%# Eval("Price") %>'/>
<br/>
ModelNo:
<asp:LabelID="ModelNoLabel"runat="server"Text='<%# Eval("ModelNo") %>'/>
<br/>
<br/>
</ItemTemplate>
</asp:DataList>
<br/>
<br/>
<asp:DataListID="DataList2"runat="server"BackColor="White"
BorderColor="#CCCCCC"BorderStyle="None"BorderWidth="1px"CellPadding="3"
DataKeyField="ProductId"DataSourceID="SqlDataSource2"GridLines="Both"
RepeatColumns="3"Width="100%">
<FooterStyleBackColor="White"ForeColor="#000066"/>
<ItemStyleForeColor="#000066"/>
<SelectedItemStyleBackColor="#669999"Font-Bold="True"ForeColor="White"/>
<HeaderStyleBackColor="#006699"Font-Bold="True"ForeColor="White"/>
<ItemTemplate>
<br/>
<asp:ImageID="Image3"runat="server"Height="139px"
ImageUrl='<%# Eval("Photo", "~/Images/{0}") %>'Width="177px"/>
<br/>
<br/>
Price:
<asp:LabelID="PriceLabel"runat="server"Text='<%# Eval("Price") %>'/>
<br/>
ModelNo:
<asp:LabelID="ModelNoLabel"runat="server"Text='<%# Eval("ModelNo") %>'/>
<br/>
<br/>
</ItemTemplate>
</asp:DataList>
<br/>
<br/>
<asp:DataListID="DataList3"runat="server"BackColor="White"
BorderColor="#CCCCCC"BorderStyle="None"BorderWidth="1px"CellPadding="3"
DataKeyField="ProductId"DataSourceID="SqlDataSource3"GridLines="Both"
RepeatColumns="3"Width="100%">
<FooterStyleBackColor="White"ForeColor="#000066"/>
<ItemStyleForeColor="#000066"/>
<SelectedItemStyleBackColor="#669999"Font-Bold="True"ForeColor="White"/>
<HeaderStyleBackColor="#006699"Font-Bold="True"ForeColor="White"/>
<ItemTemplate>
<br/>
<asp:ImageID="Image4"runat="server"Height="145px"
ImageUrl='<%# Eval("Photo", "~/Images/{0}") %>'Width="177px"/>
<br/>
<br/>
Price:
VPIMSR
Page 38
Fastrack move on
<asp:LabelID="PriceLabel"runat="server"Text='<%# Eval("Price") %>'/>
<br/>
ModelNo:
<asp:LabelID="ModelNoLabel"runat="server"Text='<%# Eval("ModelNo") %>'/>
<br/>
<br/>
</ItemTemplate>
</asp:DataList>
<br/>
<br/>
<asp:DataListID="DataList4"runat="server"BackColor="White"
BorderColor="#CCCCCC"BorderStyle="None"BorderWidth="1px"CellPadding="3"
DataKeyField="ProductId"DataSourceID="SqlDataSource4"GridLines="Both"
RepeatColumns="3"Width="100%">
<FooterStyleBackColor="White"ForeColor="#000066"/>
<ItemStyleForeColor="#000066"/>
<SelectedItemStyleBackColor="#669999"Font-Bold="True"ForeColor="White"/>
<HeaderStyleBackColor="#006699"Font-Bold="True"ForeColor="White"/>
<ItemTemplate>
<br/>
<asp:ImageID="Image5"runat="server"Height="135px"
ImageUrl='<%# Eval("Photo", "~/Images/{0}") %>'Width="177px"/>
<br/>
<br/>
<br/>
Price:
<asp:LabelID="PriceLabel"runat="server"Text='<%# Eval("Price") %>'/>
<br/>
ModelNo:
<asp:LabelID="ModelNoLabel"runat="server"Text='<%# Eval("ModelNo") %>'/>
<br/>
<br/>
</ItemTemplate>
</asp:DataList>
<br/>
</td>
</tr>
</table>
</asp:Content>
VPIMSR
Page 39
Fastrack move on
Source Code Of Feedback :
<
%@PageLanguage="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"C
odeFile="Feedback.aspx.cs"Inherits="Feedback"Title="Untitled Page"%>
<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Serv
er">
<tablecellpadding="20"style="width: 100%">
<tr>
<tdstyle="color: #FFFFFF">
<spanstyle="font-size: xx-large">Feedback</span><br
style="font-size: xx-large"/>
<brstyle="font-size: xx-large"/>
<brstyle="font-size: xx-large"/>
<asp:DetailsViewID="DetailsView1"runat="server"AutoGenerateRows="False"
DataKeyNames="FeedbackId"DataSourceID="SqlDataSource1"DefaultMode="Insert"
Height="50px"Width="125px"style="font-size: x-large; color: #000000;"
onpageindexchanging="DetailsView1_PageIndexChanging">
<Fields>
<asp:BoundFieldDataField="FeedbackId"HeaderText="FeedbackId"
InsertVisible="False"ReadOnly="True"SortExpression="FeedbackId"/>
<asp:BoundFieldDataField="Name"HeaderText="Name"SortExpression="Name"/>
<asp:BoundFieldDataField="EmailId"HeaderText="EmailId"
SortExpression="EmailId"/>
<asp:TemplateFieldHeaderText="Suggestions"SortExpression="Suggestions">
<EditItemTemplate>
<asp:TextBoxID="TextBox1"runat="server"Text='<%# Bind("Suggestions")
%>'></asp:TextBox>
</EditItemTemplate>
<InsertItemTemplate>
<asp:TextBoxID="TextBox1"runat="server"Columns="40"
Text='<%# Bind("Suggestions") %>'TextMode="MultiLine"></asp:TextBox>
</InsertItemTemplate>
<ItemTemplate>
<asp:LabelID="Label1"runat="server"Text='<%# Bind("Suggestions")
%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:CommandFieldShowInsertButton="True"/>
</Fields>
</asp:DetailsView>
<asp:SqlDataSourceID="SqlDataSource1"runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [FeedbackMaster] WHERE [FeedbackId] = @FeedbackId"
InsertCommand="INSERT INTO [FeedbackMaster] ([Name], [EmailId], [Suggestions])
VALUES (@Name, @EmailId, @Suggestions)"
ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
SelectCommand="SELECT [FeedbackId], [Name], [EmailId], [Suggestions] FROM
[FeedbackMaster]"
UpdateCommand="UPDATE [FeedbackMaster] SET [Name] = @Name, [EmailId] =
@EmailId, [Suggestions] = @Suggestions WHERE [FeedbackId] = @FeedbackId">
<DeleteParameters>
<asp:ParameterName="FeedbackId"Type="Int32"/>
</DeleteParameters>
<InsertParameters>
VPIMSR
Page 40
Fastrack move on
<asp:ParameterName="Name"Type="String"/>
<asp:ParameterName="EmailId"Type="String"/>
<asp:ParameterName="Suggestions"Type="String"/>
</InsertParameters>
<UpdateParameters>
<asp:ParameterName="Name"Type="String"/>
<asp:ParameterName="EmailId"Type="String"/>
<asp:ParameterName="Suggestions"Type="String"/>
<asp:ParameterName="FeedbackId"Type="Int32"/>
</UpdateParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>
VPIMSR
Page 41
Fastrack move on
Source Code Of Contact :
<
%@PageLanguage="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"C
odeFile="Contact.aspx.cs"Inherits="Contact"Title="Untitled Page"%>
<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Serv
er">
<tablecellpadding="20"style="width: 100%">
<tr>
<td>
<spanstyle="font-size: xx-large">Contact Us</span><br/>
<br/>
<br/>
<spanstyle="font-size: x-large">Fastrack Showroom,<br/>
Shiv Pavellian,</span><br
style="font-size: x-large"/>
<spanstyle="font-size: x-large">Near Ram Mandir,</span><br
style="font-size: x-large"/>
<spanstyle="font-size: x-large">Sangli. 416416.<br/>
Ph No.0233-2325698</span></td>
</tr>
</table>
</asp:Content>
VPIMSR
Page 42
Fastrack move on
Appendix
VPIMSR
Page 43
Fastrack move on
Bibliography
Books: ASP.net wrox publication
Teach yourself ASP.net in 24 hours
Website: www.fastrack.com
www.c#information.com
VPIMSR
Page 44