You need to use ASP.Net Update Panel.
Refer the updated code.
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>VIEW /EDIT JOB</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<link href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.24/themes/smoothness/jquery-ui.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js"></script>
<script type="text/javascript">
$(function () {
$(".grid").DataTable({
bLengthChange: true,
lengthMenu: [[10, 30, -1], [10, 30, "All"]],
bFilter: true,
bSort: true,
bPaginate: true
});
});
function ShowPopup() {
$("#dialog").dialog({
title: "Preview",
width: 830,
height: 500,
buttons: {
Close: function () {
$(this).dialog('close');
}
},
modal: true
});
};
function Confirmationbox() {
var result = confirm('Are you sure you want to delete selected User(s)?');
if (result) {
return true;
} else {
return false;
}
}
</script>
<style type="text/css">
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
.style6 {
width: 1079px;
height: 24px;
}
.style9 {
width: 104px;
height: 104px;
}
.style15 {
width: 407px;
}
.style20 {
width: 750px;
}
.style23 {
width: 145px;
}
.Initial {
}
.Clicked {
background-color: brown;
}
#customers {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
#customers td, #customers th {
border: 1px solid #ddd;
padding: 8px;
}
#customers tr:nth-child(even) {
background-color:;
}
#customers th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #4CAF50;
color: white;
}
#customers0 {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
table.roundedCorners {
border: 1px solid DarkOrange;
border-radius: 13px;
border-spacing: 0;
}
table.roundedCorners td,
table.roundedCorners th {
border-bottom: 1px solid DarkOrange;
padding: 4px;
}
table.roundedCorners tr:last-child > td {
border-bottom: none;
}
.style140 {
height: 3px;
width: 267px;
}
</style>
</head>
<body>
<table bgcolor="DarkOrange" frame="void">
<tr>
<td class="style6">
<img class="style9" src="Images/capres.gif" />
</td>
</tr>
</table>
<form id="form1" runat="server">
<asp:ScriptManager runat="server" />
<table>
<tr>
<td class="style23"> </td>
<td class="style15">
<table class="display" align="center" border="1" bordercolor="grey">
<tr>
<td align="center" class="style20">
<table id="customGrid" class="display">
<tr>
<td class="style140" align="center">
<table>
<tr>
<td>
<strong>VIEW /EDIT JOB</strong></td>
<td> </td>
<td align="right">
<asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/del.jpg"
Width="72px" Height="19px" OnClick="ImageButton3_Click" OnClientClick="javascript:return Confirmationbox();" />
<asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/Images/dup.jpg"
Width="78px" Height="18px" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style5" align="left">
<br />
<br />
<asp:UpdatePanel runat="server">
<ContentTemplate>
<asp:GridView ID="gvDetails" runat="server" AutoGenerateColumns="False"
BackColor="White" BorderColor="#3366CC" BorderStyle="None"
Font-Names="Century Gothic" Font-Size="XX-Small" DataKeyNames="id"
Width="100%" Style="margin-bottom: 0px" CssClass="grid">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="id" HeaderText="id" />
<asp:BoundField DataField="pid" HeaderText="pid" />
<asp:BoundField DataField="variant" HeaderText="variant" />
<asp:BoundField DataField="country" HeaderText="country" />
<asp:BoundField DataField="pack" HeaderText="pack" />
<asp:BoundField DataField="customer" HeaderText="customer" />
<asp:BoundField DataField="jobnumber" HeaderText="jobnumber" />
<asp:BoundField DataField="artworkdate" HeaderText="artworkdate" />
<asp:BoundField DataField="reprodate" HeaderText="reprodate" />
<asp:BoundField DataField="artworknumber" HeaderText="artworknumber" />
<asp:BoundField DataField="templateno" HeaderText="templateno" />
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton Text="Preview" ID="lnkView" runat="server" OnClick="Preview" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
<RowStyle BackColor="White" ForeColor="#003399" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<SortedAscendingCellStyle BackColor="#EDF6F6" />
<SortedAscendingHeaderStyle BackColor="#0D4AC4" />
<SortedDescendingCellStyle BackColor="#D6DFDF" />
<SortedDescendingHeaderStyle BackColor="#002876" />
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
<br />
<br />
<br />
<br />
<br />
<br />
<asp:Label ID="lblRecord" runat="server"></asp:Label>
<br />
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td></td>
</tr>
</table>
<div id="dialog">
<table align="center" border="2"
>
<tr>
<td>
<asp:UpdatePanel runat="server" UpdateMode="Always">
<ContentTemplate>
<asp:Button ID="Tab1" runat="server" BorderStyle="None" CssClass="Initial"
OnClick="Tab1_Click" Text="Job.Desc" UseSubmitBehavior="false"
Font-Bold="True" Width="80px" Font-Names="Arial Narrow" />
<asp:Button ID="Tab2" runat="server" BorderStyle="None" CssClass="Initial"
OnClick="Tab2_Click" Text="Material Spec." UseSubmitBehavior="false" Font-Bold="True"
Font-Names="Arial Narrow" />
<asp:Button ID="Tab3" runat="server" BorderStyle="None" CssClass="Initial"
OnClick="Tab3_Click" Text="Cylinder . Spec" UseSubmitBehavior="false" Font-Bold="True"
Font-Names="Arial Narrow" />
<asp:Button ID="Tab4" runat="server" BorderStyle="None" CssClass="Initial"
OnClick="Tab4_Click" Text="Ink.Spec" UseSubmitBehavior="false" Font-Bold="True" Font-Names="Arial Narrow" />
<asp:MultiView ID="MainView" runat="server">
<h3>
<span>Job Description </span>
</h3>
<asp:View ID="View1" runat="server">
<table>
<tr>
<td>
<p>
Job Specification
</p>
<p>
<p align="center">
<asp:ImageButton ID="ImageButton1" runat="server" Height="34px"
ImageUrl="~/Images/submit.jpg" OnClick="ImageButton3_Click" Width="142px" />
</p>
<p>
<asp:Label ID="Label3" runat="server" Font-Size="XX-Small" ForeColor="Red"></asp:Label>
</p>
<p>
<table border="1"
class="roundedCorners">
<tr>
<td class="style32">Product Id</td>
<td class="style29">Description</td>
<td class="style33">Variant</td>
<td class="style35">Country</td>
<td class="style35">Pack</td>
</tr>
<tr>
<td class="style32">
<asp:TextBox ID="TextBox7" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox8" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox9" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox></td>
<td class="style35">
<asp:TextBox ID="TextBox10" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style35">
<asp:TextBox ID="TextBox11" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style32">Customer</td>
<td class="style29">Job Number</td>
<td class="style33">Template Number</td>
<td class="style35">Artwork Date</td>
<td class="style35">Reproduction Date</td>
</tr>
<tr>
<td class="style32">
<asp:TextBox ID="TextBox12" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox13" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox14" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style35">
<asp:TextBox ID="TextBox15" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style35">
<asp:TextBox ID="TextBox16" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style32">Artwork Number</td>
<td class="style29">Printer's Code</td>
<td class="style33">Reprodction Approved . date</td>
<td class="style35">Artwk Recieved .Date</td>
<td class="style35">Yield</td>
</tr>
<tr>
<td class="style32">
<asp:TextBox ID="TextBox17" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox18" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox19" runat="server" Width="135px" Fheight="24px"
Font-Size="x-Small" Height="24px"></asp:TextBox>
</td>
<td class="style35">
<asp:TextBox ID="TextBox20" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style35">
<asp:TextBox ID="TextBox21" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style32">Quantity Around</td>
<td class="style29">Quantity across</td>
<td class="style33">Stretch Double Cut</td>
<td class="style35">Quantity Per Revolution:</td>
<td class="style35">Print Type</td>
</tr>
<tr>
<td class="style136">
<asp:TextBox ID="TextBox22" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style137">
<asp:TextBox ID="TextBox23" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style138">
<asp:TextBox ID="TextBox24" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style139">
<asp:TextBox ID="TextBox25" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style139">
<asp:TextBox ID="TextBox26" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
</tr>
</table>
</p>
<p>
</p>
<p>
</p>
<p>
<asp:Label ID="Label2" Visible="false" runat="server"></asp:Label>
<asp:Label ID="Label1" Visible="false" runat="server"></asp:Label>
<asp:Label ID="Label8" runat="server" Visible="false"></asp:Label>
</p>
<p>
</p>
</td>
</tr>
</table>
</asp:View>
<asp:View ID="View2" runat="server">
<table>
<tr>
<td>
<p>
Material Specification
</p>
<p>
</p>
<p>
</p>
<table border="1" class="roundedCorners"
>
<tr>
<td class="style36"> </td>
<td class="style32">Board Name</td>
<td class="style29">Gsm</td>
<td class="style33">Material Code</td>
<td class="style35">Web Width</td>
<td class="style35">Cost Per Kg</td>
</tr>
<tr>
<td class="style36">Board</td>
<td class="style32">
<asp:TextBox ID="TextBox27" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox28" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox29" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style35">
<asp:TextBox ID="TextBox30" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style35">
<asp:TextBox ID="TextBox31" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style36">Foil</td>
<td class="style32">
<asp:TextBox ID="TextBox32" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox33" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox34" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style35">
<asp:TextBox ID="TextBox35" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
<td class="style35">
<asp:TextBox ID="TextBox36" runat="server" Width="135px" Height="24px" Font-Size="x-Small"></asp:TextBox>
</td>
</tr>
</table>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</td>
</tr>
</table>
</asp:View>
<asp:View ID="View3" runat="server">
<table align="center">
<tr>
<td class="style37">
<h3>Cylinder Description</h3>
<p>
</p>
<h3> <table id="customers" align="center"
>
<tr>
<td class="style84"> <img class="style114" src="Images/f1.jpg" /></td>
<td class="style45"> <img class="style114" src="Images/f1.jpg" /></td>
<td class="style81"> <img class="style114" src="Images/f2.jpg" /></td>
<td> <img class="style114" src="Images/f3.jpg" /></td>
<td class="style64"> <img class="style114" src="Images/f4.jpg" /></td>
<td class="style65"> <img class="style114" src="Images/f5.jpg" /></td>
<td class="style66"> <img class="style114" src="Images/f6.jpg" /></td>
<td class="style68"> <img class="style114" src="Images/f7.jpg" /></td>
<td class="style36"> <img class="style114" src="Images/f8.jpg" /></td>
<td class="style36">\
<img class="style114" src="Images/f9.jpg" />
</td>
<td class="style36">
<img class="style114" src="Images/f10.jpg" />
</td>
<td class="style36">
<img class="style114" src="Images/f11.jpg" />
</td>
<td class="style32">
<img class="style114" src="Images/f12.jpg" />
</td>
<td class="style29">
<img class="style114" src="Images/f13.jpg" />
</td>
<td class="style33">
<img class="style114" src="Images/f14.jpg" />
</td>
<td class="style35">
<img class="style114" src="Images/f15.jpg" />
</td>
<td class="style52">
<img class="style114" src="Images/f16.jpg" />
</td>
<td class="style71">
<img class="style114" src="Images/Xdiagonal.jpg" />
</td>
</tr>
<tr>
<td class="style84">Unit 1</td>
<td class="style45">
<asp:TextBox ID="TextBox46" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox47" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox48" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style64">
<asp:TextBox ID="TextBox49" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox50" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox51" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox52" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox53" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox54" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox55" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox56" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox57" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style32" valign="top">
<asp:TextBox ID="TextBox58" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox59" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox60" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style52">
<asp:TextBox ID="TextBox61" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style71">
<asp:TextBox ID="TextBox62" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style85">Unit 2</td>
<td class="style86">
<asp:TextBox ID="TextBox63" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style87">
<asp:TextBox ID="TextBox64" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style88">
<asp:TextBox ID="TextBox65" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style89">
<asp:TextBox ID="TextBox66" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style90">
<asp:TextBox ID="TextBox67" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style91">
<asp:TextBox ID="TextBox68" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style92">
<asp:TextBox ID="TextBox69" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox70" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox71" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox72" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox73" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox74" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style94" valign="top">
<asp:TextBox ID="TextBox75" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style95">
<asp:TextBox ID="TextBox76" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style96">
<asp:TextBox ID="TextBox77" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style97">
<asp:TextBox ID="TextBox78" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style98">
<asp:TextBox ID="TextBox79" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style84">Unit 3</td>
<td class="style45">
<asp:TextBox ID="TextBox80" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox81" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox82" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style64">
<asp:TextBox ID="TextBox83" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox84" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox85" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox86" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox87" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox88" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox89" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox90" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox91" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style32" valign="top">
<asp:TextBox ID="TextBox92" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox93" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox94" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style52">
<asp:TextBox ID="TextBox95" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style71">
<asp:TextBox ID="TextBox96" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style99">Unit 4</td>
<td class="style100">
<asp:TextBox ID="TextBox97" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style100">
<asp:TextBox ID="TextBox98" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style102">
<asp:TextBox ID="TextBox99" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style103">
<asp:TextBox ID="TextBox100" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style104">
<asp:TextBox ID="TextBox101" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style105">
<asp:TextBox ID="TextBox102" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style106">
<asp:TextBox ID="TextBox103" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox104" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox105" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox106" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox107" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox108" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style108" valign="top">
<asp:TextBox ID="TextBox109" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style109">
<asp:TextBox ID="TextBox110" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style110">
<asp:TextBox ID="TextBox111" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style111">
<asp:TextBox ID="TextBox112" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style112">
<asp:TextBox ID="TextBox113" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style99">Unit 5</td>
<td class="style100">
<asp:TextBox ID="TextBox114" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style101">
<asp:TextBox ID="TextBox115" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style102">
<asp:TextBox ID="TextBox116" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style103">
<asp:TextBox ID="TextBox117" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style104">
<asp:TextBox ID="TextBox118" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style105">
<asp:TextBox ID="TextBox119" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style106">
<asp:TextBox ID="TextBox120" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox121" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox122" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox123" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox124" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox125" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style108" valign="top">
<asp:TextBox ID="TextBox126" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style109">
<asp:TextBox ID="TextBox127" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style110">
<asp:TextBox ID="TextBox128" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style111">
<asp:TextBox ID="TextBox129" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style112">
<asp:TextBox ID="TextBox130" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style84">Unit 6</td>
<td class="style45">
<asp:TextBox ID="TextBox131" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox132" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox133" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style64">
<asp:TextBox ID="TextBox134" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox135" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox136" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox137" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox138" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox139" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox140" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox141" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox142" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style32" valign="top">
<asp:TextBox ID="TextBox143" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox144" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox145" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style52">
<asp:TextBox ID="TextBox146" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style71">
<asp:TextBox ID="TextBox147" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style84">Unit 7</td>
<td class="style45">
<asp:TextBox ID="TextBox148" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox149" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox150" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style64">
<asp:TextBox ID="TextBox151" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox152" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox153" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox154" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox155" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox156" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox157" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox158" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox159" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style32" valign="top">
<asp:TextBox ID="TextBox160" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox161" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox162" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style52">
<asp:TextBox ID="TextBox163" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style71">
<asp:TextBox ID="TextBox164" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style84">Unit 8</td>
<td class="style45">
<asp:TextBox ID="TextBox165" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox166" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox167" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style64">
<asp:TextBox ID="TextBox168" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox169" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox170" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox171" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox172" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox173" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox174" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox175" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox176" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style32" valign="top">
<asp:TextBox ID="TextBox177" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox178" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox179" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style52">
<asp:TextBox ID="TextBox180" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style71">
<asp:TextBox ID="TextBox181" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style84">Unit 9</td>
<td class="style45">
<asp:TextBox ID="TextBox182" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox183" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox184" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style64">
<asp:TextBox ID="TextBox185" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox186" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox187" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox188" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox189" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox190" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox191" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox192" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox193" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style32" valign="top">
<asp:TextBox ID="TextBox194" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox195" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox196" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style52">
<asp:TextBox ID="TextBox197" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style71">
<asp:TextBox ID="TextBox198" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style84">Unit 10</td>
<td class="style45">
<asp:TextBox ID="TextBox199" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox200" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox201" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style64">
<asp:TextBox ID="TextBox202" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox203" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox204" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox205" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox206" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox207" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox208" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox209" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox210" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style32" valign="top">
<asp:TextBox ID="TextBox211" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style29">
<asp:TextBox ID="TextBox212" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style33">
<asp:TextBox ID="TextBox213" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style52">
<asp:TextBox ID="TextBox214" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style71">
<asp:TextBox ID="TextBox215" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style84"> </td>
<td class="style45"> </td>
<td class="style81"> </td>
<td> </td>
<td class="style64"> </td>
<td class="style65"> </td>
<td class="style66"> </td>
<td class="style68"> </td>
<td class="style36"> </td>
<td class="style36"> </td>
<td class="style36"> </td>
<td class="style36"> </td>
<td class="style36"> </td>
<td class="style32"> </td>
<td class="style29"> </td>
<td class="style33"> </td>
<td class="style52"> </td>
<td class="style71"> </td>
</tr>
</table>
</h3>
</td>
</tr>
</table>
</asp:View>
<asp:View ID="View4" runat="server">
<table>
<tr>
<td>
<h3>Ink Details</h3>
<p>
</p>
<p>
</p>
<table id="customers"
>
<tr>
<td class="style130"> <img class="style113" src="Images/f1.jpg" /></td>
<td class="style125" align="center"
>ink Code</td>
<td class="style125" align="center"
>Ink Coverage</td>
<td align="center"
>Colour</td>
<td class="style125" align="center"
>Ink Gsm</td>
<td class="style125" align="center">Price</td>
<td class="style125" align="center">Reducer</td>
<td class="style125" align="center">Retarder</td>
<td class="style125" align="center">Viscocity</td>
<td class="style125" align="center">Mediums</td>
<td class="style125" align="center">Toners</td>
<td class="style125" align="center">Toner Ratio</td>
<td class="style125" align="center">Additive</td>
</tr>
<tr>
<td class="style130">Unit 1</td>
<td class="style125">
<asp:TextBox ID="TextBox216" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox217" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox218" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style132">
<asp:TextBox ID="TextBox219" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox220" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox221" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox222" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox223" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox224" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox225" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox226" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox227" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style116">Unit 2</td>
<td class="style126">
<asp:TextBox ID="TextBox233" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style87">
<asp:TextBox ID="TextBox234" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style88">
<asp:TextBox ID="TextBox235" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style133">
<asp:TextBox ID="TextBox236" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style90">
<asp:TextBox ID="TextBox237" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style91">
<asp:TextBox ID="TextBox238" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style92">
<asp:TextBox ID="TextBox239" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox240" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox241" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox242" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox243" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style93">
<asp:TextBox ID="TextBox244" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style130">Unit 3</td>
<td class="style125">
<asp:TextBox ID="TextBox250" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox251" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox252" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style132">
<asp:TextBox ID="TextBox253" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox254" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox255" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox256" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox257" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox258" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox259" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox260" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox261" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style131">Unit 4</td>
<td class="style128">
<asp:TextBox ID="TextBox267" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style100">
<asp:TextBox ID="TextBox268" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style102">
<asp:TextBox ID="TextBox269" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style134">
<asp:TextBox ID="TextBox270" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style104">
<asp:TextBox ID="TextBox271" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style105">
<asp:TextBox ID="TextBox272" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style106">
<asp:TextBox ID="TextBox273" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox274" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox275" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox276" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox277" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox278" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style131">Unit 5</td>
<td class="style129">
<asp:TextBox ID="TextBox284" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style101">
<asp:TextBox ID="TextBox285" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style102">
<asp:TextBox ID="TextBox286" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style134">
<asp:TextBox ID="TextBox287" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style104">
<asp:TextBox ID="TextBox288" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style105">
<asp:TextBox ID="TextBox289" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style106">
<asp:TextBox ID="TextBox290" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox291" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox292" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox293" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox294" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style107">
<asp:TextBox ID="TextBox295" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style130">Unit 6</td>
<td class="style125">
<asp:TextBox ID="TextBox301" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox302" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox303" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style132">
<asp:TextBox ID="TextBox304" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox305" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox306" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox307" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox308" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox309" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox310" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox311" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox312" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style130">Unit 7</td>
<td class="style125">
<asp:TextBox ID="TextBox318" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox319" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox320" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style132">
<asp:TextBox ID="TextBox321" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox322" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox323" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox324" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox325" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox326" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox327" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox328" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox329" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style130">Unit 8</td>
<td class="style125">
<asp:TextBox ID="TextBox335" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox336" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox337" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style132">
<asp:TextBox ID="TextBox338" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox339" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox340" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox341" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox342" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox343" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox344" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox345" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox346" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style130">Unit 9</td>
<td class="style125">
<asp:TextBox ID="TextBox352" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox353" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox354" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style132">
<asp:TextBox ID="TextBox355" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox356" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox357" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox358" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox359" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox360" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox361" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox362" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox363" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style130">Unit 10</td>
<td class="style125">
<asp:TextBox ID="TextBox369" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox370" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox371" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style132">
<asp:TextBox ID="TextBox372" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox373" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox374" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox375" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox376" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox377" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox378" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox379" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox380" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style130">Nitrogen</td>
<td class="style125">
<asp:TextBox ID="TextBox381" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style81">
<asp:TextBox ID="TextBox382" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td>
<asp:TextBox ID="TextBox383" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style132">
<asp:TextBox ID="TextBox384" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style65">
<asp:TextBox ID="TextBox385" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style66">
<asp:TextBox ID="TextBox386" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style68">
<asp:TextBox ID="TextBox387" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox388" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox389" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox390" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox391" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
<td class="style36">
<asp:TextBox ID="TextBox392" runat="server" class="txtUserName" Width="49px"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:View>
</asp:MultiView>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Tab1" EventName="click" />
<asp:AsyncPostBackTrigger ControlID="Tab2" EventName="click" />
<asp:AsyncPostBackTrigger ControlID="Tab3" EventName="click" />
<asp:AsyncPostBackTrigger ControlID="Tab4" EventName="click" />
</Triggers>
</asp:UpdatePanel>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (prm != null) {
prm.add_endRequest(function (sender, e) {
if (sender._postBackSettings.panelsToUpdate != null) {
$(".grid").DataTable({
bLengthChange: true,
lengthMenu: [[10, 30, -1], [10, 30, "All"]],
bFilter: true,
bSort: true,
bPaginate: true
});
}
});
};
</script>
</form>
</body>
</html>
Namespaces
C#
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
VB.Net
Imports System.Configuration
Imports System.Data
Imports System.Data.SqlClient
Code
C#
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindUserDetails();
MainView.ActiveViewIndex = 0;
Tab1.CssClass = "Clicked";
}
}
protected void Tab1_Click(object sender, EventArgs e)
{
Tab1.CssClass = "Clicked";
Tab2.CssClass = "Initial";
Tab3.CssClass = "Initial";
Tab4.CssClass = "Initial";
MainView.ActiveViewIndex = 0;
gvDetails.UseAccessibleHeader = true;
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader;
ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowPopup()", true);
}
protected void Tab2_Click(object sender, EventArgs e)
{
Tab1.CssClass = "Initial";
Tab2.CssClass = "Clicked";
Tab3.CssClass = "Initial";
Tab4.CssClass = "Initial";
MainView.ActiveViewIndex = 1;
gvDetails.UseAccessibleHeader = true;
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader;
ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowPopup()", true);
}
protected void Tab3_Click(object sender, EventArgs e)
{
Tab1.CssClass = "Initial";
Tab2.CssClass = "Initial";
Tab3.CssClass = "Clicked";
Tab4.CssClass = "Initial";
MainView.ActiveViewIndex = 2;
gvDetails.UseAccessibleHeader = true;
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader;
ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowPopup()", true);
}
protected void Tab4_Click(object sender, EventArgs e)
{
Tab1.CssClass = "Initial";
Tab2.CssClass = "Initial";
Tab3.CssClass = "Initial";
Tab4.CssClass = "Clicked";
MainView.ActiveViewIndex = 3;
gvDetails.UseAccessibleHeader = true;
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader;
ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowPopup()", true);
}
protected void BindUserDetails()
{
string constr = ConfigurationManager.ConnectionStrings["constr"].ConnectionString;
using (SqlConnection con = new SqlConnection(constr))
{
using (SqlDataAdapter sda = new SqlDataAdapter("SELECT * FROM Customers", con))
{
using (DataTable dt = new DataTable())
{
sda.Fill(dt);
gvDetails.DataSource = dt;
gvDetails.DataSource = dt;
gvDetails.DataBind();
}
}
}
//Required for jQuery DataTables to work.
gvDetails.UseAccessibleHeader = true;
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader;
}
//for get record
protected void Preview(object sender, EventArgs e)
{
gvDetails.UseAccessibleHeader = true;
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader;
ScriptManager.RegisterStartupScript((sender as Control), this.GetType(), "Popup", "ShowPopup();", true);
}
protected void ImageButton3_Click(object sender, ImageClickEventArgs e)
{
foreach (GridViewRow gvrow in gvDetails.Rows)
{
//Finiding checkbox control in gridview for particular row
CheckBox chkdelete = (CheckBox)gvrow.FindControl("chkSelect");
//Condition to check checkbox selected or not
if (chkdelete.Checked)
{
//Getting UserId of particular row using datakey value
int usrid = Convert.ToInt32(gvDetails.DataKeys[gvrow.RowIndex].Value);
using (SqlConnection con = new SqlConnection("data source=PRESS\\EXPRESS01; Initial Catalog=Trial;Integrated Security=True;"))
{
con.Open();
SqlCommand cmd = new SqlCommand("delete from Job where id=" + usrid, con);
cmd.ExecuteNonQuery();
con.Close();
}
}
}
BindUserDetails();
}
VB.Net
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
If Not IsPostBack Then
BindUserDetails()
MainView.ActiveViewIndex = 0
Tab1.CssClass = "Clicked"
End If
End Sub
Protected Sub Tab1_Click(ByVal sender As Object, ByVal e As EventArgs)
Tab1.CssClass = "Clicked"
Tab2.CssClass = "Initial"
Tab3.CssClass = "Initial"
Tab4.CssClass = "Initial"
MainView.ActiveViewIndex = 0
gvDetails.UseAccessibleHeader = True
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader
ClientScript.RegisterStartupScript(Me.GetType(), "Popup", "ShowPopup()", True)
End Sub
Protected Sub Tab2_Click(ByVal sender As Object, ByVal e As EventArgs)
Tab1.CssClass = "Initial"
Tab2.CssClass = "Clicked"
Tab3.CssClass = "Initial"
Tab4.CssClass = "Initial"
MainView.ActiveViewIndex = 1
gvDetails.UseAccessibleHeader = True
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader
ClientScript.RegisterStartupScript(Me.GetType(), "Popup", "ShowPopup()", True)
End Sub
Protected Sub Tab3_Click(ByVal sender As Object, ByVal e As EventArgs)
Tab1.CssClass = "Initial"
Tab2.CssClass = "Initial"
Tab3.CssClass = "Clicked"
Tab4.CssClass = "Initial"
MainView.ActiveViewIndex = 2
gvDetails.UseAccessibleHeader = True
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader
ClientScript.RegisterStartupScript(Me.GetType(), "Popup", "ShowPopup()", True)
End Sub
Protected Sub Tab4_Click(ByVal sender As Object, ByVal e As EventArgs)
Tab1.CssClass = "Initial"
Tab2.CssClass = "Initial"
Tab3.CssClass = "Initial"
Tab4.CssClass = "Clicked"
MainView.ActiveViewIndex = 3
gvDetails.UseAccessibleHeader = True
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader
ClientScript.RegisterStartupScript(Me.GetType(), "Popup", "ShowPopup()", True)
End Sub
Protected Sub BindUserDetails()
Dim constr As String = ConfigurationManager.ConnectionStrings("constr").ConnectionString
Using con As SqlConnection = New SqlConnection(constr)
Using sda As SqlDataAdapter = New SqlDataAdapter("SELECT * FROM Customers", con)
Using dt As DataTable = New DataTable()
sda.Fill(dt)
gvDetails.DataSource = dt
gvDetails.DataSource = dt
gvDetails.DataBind()
End Using
End Using
End Using
gvDetails.UseAccessibleHeader = True
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader
End Sub
Protected Sub Preview(ByVal sender As Object, ByVal e As EventArgs)
gvDetails.UseAccessibleHeader = True
gvDetails.HeaderRow.TableSection = TableRowSection.TableHeader
ScriptManager.RegisterStartupScript((TryCast(sender, Control)), Me.GetType(), "Popup", "ShowPopup();", True)
End Sub
Protected Sub ImageButton3_Click(ByVal sender As Object, ByVal e As ImageClickEventArgs)
For Each gvrow As GridViewRow In gvDetails.Rows
Dim chkdelete As CheckBox = CType(gvrow.FindControl("chkSelect"), CheckBox)
If chkdelete.Checked Then
Dim usrid As Integer = Convert.ToInt32(gvDetails.DataKeys(gvrow.RowIndex).Value)
Using con As SqlConnection = New SqlConnection("data source=PRESS\EXPRESS01; Initial Catalog=Trial;Integrated Security=True;")
con.Open()
Dim cmd As SqlCommand = New SqlCommand("delete from Job where id=" & usrid, con)
cmd.ExecuteNonQuery()
con.Close()
End Using
End If
Next
BindUserDetails()
End Sub