Refer below code.
HTML
<div>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<asp:Button ID="btnstart" runat="server" Text="Launch Wizard..." /></td>
</tr>
<tr>
<td align="center" style="padding-top: 50px;">
<table cellpadding="0" cellspacing="0" border="0" class="newStyle2" style="height: 489px; width: 87%; margin-top: 0px">
<tr>
<td align="center">
<asp:Wizard ID="Wizard1" runat="server" BackColor="#EFF3FB" BorderColor="#B5C7DE"
BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" Width="95%" ActiveStepIndex="0" OnNextButtonClick="Wizard1_NextButtonClick" Style="height: 104px">
<StepStyle Font-Size="0.8em" ForeColor="#333333" />
<WizardSteps>
<asp:WizardStep runat="server" Title="Student Basic Information" StepType="Auto">
<fieldset>
<legend>Personal Information</legend>
<div style="height: 350px; text-align: center;">
<table border="0" cellpadding="0" cellspacing="0" width="50%">
<tr>
<td style="padding-top: 10px;"> Admno: </td>
<td style="padding-top: 10px;">
<asp:TextBox ID="Txtadmno" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Names</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="TxtFirstName" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Class to<asp:Label ID="llclass" runat="server" Text="tlclass" Visible="False"></asp:Label>
which Admission Sought </td>
<td style="padding-top: 10px;">
<asp:DropDownList ID="ddlclass" runat="server">
<asp:ListItem>PRE</asp:ListItem>
<asp:ListItem>P1</asp:ListItem>
<asp:ListItem>P2</asp:ListItem>
<asp:ListItem>P3</asp:ListItem>
<asp:ListItem>P4</asp:ListItem>
<asp:ListItem>P5</asp:ListItem>
<asp:ListItem>P6</asp:ListItem>
<asp:ListItem>P7</asp:ListItem>
</asp:DropDownList>
<asp:TextBox ID="txtEntry" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">DOB: </td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtDOB" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">
<asp:Label ID="llyear" runat="server" Text="Year"></asp:Label>
Year: </td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtYear" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr style="padding-top: 10px;">
<td style="padding-top: 10px;">New Or OLd: </td>
<td style="padding-top: 10px;">
<asp:DropDownList ID="ddlclass0" runat="server">
<asp:ListItem>Old</asp:ListItem>
<asp:ListItem>New</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr style="padding-top: 10px;">
<td class="auto-style1" style="padding-top: 10px;">
<asp:Label ID="Lintake" runat="server" Text="Intake"></asp:Label>
: </td>
<td class="auto-style6" style="padding-top: 10px;">
<asp:DropDownList ID="ddlintake" runat="server">
</asp:DropDownList>
</td>
</tr>
<tr style="padding-top: 10px;">
<td class="auto-style1" style="padding-top: 10px;">PrevSch: </td>
<td class="auto-style1" style="padding-top: 10px;">
<asp:TextBox ID="txtPrevsch" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr style="padding-top: 10px;">
<td style="padding-top: 10px;">F.Number: </td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtFormNo" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr style="padding-top: 10px;">
<td style="padding-top: 10px;">Other Children inKjs: </td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtOtherkids" runat="server" Height="32px" Width="200px"></asp:TextBox>
</td>
</tr>
</table>
</div>
</fieldset>
</asp:WizardStep>
<asp:WizardStep runat="server" Title=" Father/Guardian Information" StepType="Auto">
<fieldset>
<legend>Career Infomation</legend>
<div style="height: 350px; text-align: center;">
<table cellpadding="0" cellspacing="0" border="0" width="50%">
<tr>
<td style="padding-top: 10px;">Father/ Guardian:
</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtFather" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Residence(Location):
</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtLocation" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Sub-county</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtsubcounty" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">County:</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtcounty" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">District</td>
<td style="padding-top: 10px;">
<asp:DropDownList ID="DropDownList2" runat="server" Height="28px" Width="200px">
<asp:ListItem Text="Select" Value="0" />
<asp:ListItem Text="Mumbai" Value="1" />
<asp:ListItem Text="Thane" Value="2" />
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Occupation</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtOccupation" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Department</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtdepartment" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="auto-style4" style="padding-top: 10px;">Office No.</td>
<td class="auto-style4" style="padding-top: 10px;">
<asp:TextBox ID="txtofficeno" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Mobile No.</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtmobilefa" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Mobile No2.</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtmobilefa2" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Email.</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtemailf" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
</table>
</div>
</fieldset>
</asp:WizardStep>
<asp:WizardStep runat="server" Title="Mother/Guardian Information">
<table border="0" cellpadding="0" cellspacing="0" class="auto-style3">
<tr>
<td style="padding-top: 10px;">Mother/ Guardian: </td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtMother" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Residence(Location): </td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtMlocation" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Sub-county</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtMsubcounty" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">County:</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtMCounty" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">District</td>
<td style="padding-top: 10px;">
<asp:DropDownList ID="DropDownList1" runat="server" Height="28px" Width="200px">
<asp:ListItem Text="Select" Value="0" />
<asp:ListItem Text="Mumbai" Value="1" />
<asp:ListItem Text="Thane" Value="2" />
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Occupation</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtMoccupation" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Department</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtDepartment2" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="auto-style4" style="padding-top: 10px;">Office No.</td>
<td class="auto-style4" style="padding-top: 10px;">
<asp:TextBox ID="txtMoffice" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Mobile No.</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtMMobile" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Mobile No2.</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtMmobile2" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Email.</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtMemail" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
</table>
</asp:WizardStep>
<asp:WizardStep runat="server" Title="Next of Kin Details">
<table border="0" cellpadding="0" cellspacing="0" class="auto-style3">
<tr>
<td style="padding-top: 10px;">Next of kin (Not the Parents): </td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtNkin" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Mobile: </td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtNmobile" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Mobile2</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtNmobile2" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">County:</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtexperience18" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Are both parents Living? (No/Yes</td>
<td style="padding-top: 10px;">
<asp:CheckBox ID="CheckBox1" runat="server" />
</td>
</tr>
<tr>
<td class="auto-style1" style="padding-top: 10px;">(If not specify who is living)</td>
<td class="auto-style1" style="padding-top: 10px;">
<asp:DropDownList ID="DropDownList3" runat="server">
<asp:ListItem>NONE</asp:ListItem>
<asp:ListItem>Father</asp:ListItem>
<asp:ListItem>Mother</asp:ListItem>
<asp:ListItem>Both</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Who is responsible for Paying School fees?</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtffees" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="auto-style4" style="padding-top: 10px;">Relationship.</td>
<td class="auto-style4" style="padding-top: 10px;">
<asp:TextBox ID="txtRelationship" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Occupation</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtNoccupation" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">Address.</td>
<td style="padding-top: 10px;">
<asp:TextBox ID="txtNaddress" runat="server" Width="200px"></asp:TextBox>
</td>
</tr>
</table>
</asp:WizardStep>
<asp:WizardStep runat="server" Title="Student Health Background">
<strong>Health:(State any special attention due to health, which may be required by the child)</strong><br />
<br />
<asp:TextBox ID="Health" runat="server" Height="116px" Width="424px"></asp:TextBox>
<br />
<br />
<br />
<br />
</asp:WizardStep>
<asp:WizardStep runat="server" Title="Summary">
<asp:TextBox ID="TxtFirstName0" runat="server" Width="200px"></asp:TextBox>
<asp:TextBox ID="TxtFirstName1" runat="server" Width="200px"></asp:TextBox>
</asp:WizardStep>
</WizardSteps>
<SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
<NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
<SideBarStyle BackColor="#507CD1" Font-Size="0.9em" Width="20%" VerticalAlign="Top" />
<HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px"
Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />
<HeaderTemplate>
Student Bio Data Info
</HeaderTemplate>
</asp:Wizard>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
Code
C#
protected void Page_Load(object sender, System.EventArgs e)
{
if (!IsPostBack)
{
LoadInfomation();
refreshdata();
}
}
private void LoadInfomation()
{
Wizard1.ActiveStepIndex = 0;
}
protected void btnstart200k_Click(object sender, EventArgs e)
{
TxtFirstName.Text = "Senthil";
}
protected void Wizard1_NextButtonClick(object sender, WizardNavigationEventArgs e)
{
if (e.NextStepIndex == 1)
{
BasicInformation basicInformation = new BasicInformation();
basicInformation.Name = TxtFirstName.Text;
basicInformation.Class = ddlclass.SelectedValue;
basicInformation.DOB = txtDOB.Text;
basicInformation.Year = txtYear.Text;
basicInformation.New_Old = ddlclass0.SelectedValue;
basicInformation.Intake = ddlintake.SelectedValue;
basicInformation.PrevSch = txtPrevsch.Text;
basicInformation.FormNo = txtFormNo.Text;
basicInformation.Children = txtOtherkids.Text;
Session["BasicInformation"] = basicInformation;
}
if (e.NextStepIndex == 2)
{
FatherInformation fatherInformation = new FatherInformation();
fatherInformation.Name = txtFather.Text;
fatherInformation.Residence = txtLocation.Text;
fatherInformation.SubCounty = txtsubcounty.Text;
fatherInformation.County = txtcounty.Text;
fatherInformation.District = DropDownList2.SelectedValue;
fatherInformation.Occupation = txtOccupation.Text;
fatherInformation.Department = txtdepartment.Text;
fatherInformation.OfficeNo = txtofficeno.Text;
fatherInformation.MobileNo1 = txtmobilefa.Text;
fatherInformation.MobileNo2 = txtmobilefa2.Text;
fatherInformation.Email = txtemailf.Text;
Session["FatherInformation"] = fatherInformation;
}
if (e.NextStepIndex == 3)
{
MotherInformation motherInformation = new MotherInformation();
motherInformation.Name = txtMother.Text;
motherInformation.Residence = txtMlocation.Text;
motherInformation.SubCounty = txtMsubcounty.Text;
motherInformation.County = txtMCounty.Text;
motherInformation.District = DropDownList1.SelectedValue;
motherInformation.Occupation = txtMoccupation.Text;
motherInformation.Department = txtDepartment2.Text;
motherInformation.OfficeNo = txtMoffice.Text;
motherInformation.MobileNo1 = txtMMobile.Text;
motherInformation.MobileNo2 = txtMmobile2.Text;
motherInformation.Email = txtMemail.Text;
Session["MotherInformation"] = motherInformation;
}
if (e.NextStepIndex == 4)
{
KinInformation kinInformation = new KinInformation();
kinInformation.Name = txtNkin.Text;
kinInformation.MobileNo1 = txtNmobile.Text;
kinInformation.MobileNo2 = txtNmobile2.Text;
kinInformation.County = txtexperience18.Text;
kinInformation.Living = CheckBox1.Checked;
kinInformation.WhoLiving = DropDownList3.SelectedValue;
kinInformation.Responsible = txtffees.Text;
kinInformation.Relationship = txtRelationship.Text;
kinInformation.Occupation = txtNoccupation.Text;
kinInformation.Address = txtNaddress.Text;
Session["KinInformation"] = kinInformation;
}
if (e.NextStepIndex == 5)
{
HealthInformation healthInformation = new HealthInformation();
healthInformation.Health = Health.Text;
Session["HealthInformation"] = healthInformation;
TxtFirstName0.Text = ((BasicInformation)Session["BasicInformation"]).Name;
TxtFirstName1.Text = ((FatherInformation)Session["FatherInformation"]).Name;
}
}
private void refreshdata()
{
//Names.Text = TxtFirstName.Text;
//Names.Visible = false;
llclass.Text = ddlclass.SelectedItem.Text;
llclass.Visible = false;
llyear.Text = txtYear.Text;
llyear.Visible = false;
Session["BasicInformation"] = null;
Session["FatherInformation"] = null;
Session["MotherInformation"] = null;
Session["KinInformation"] = null;
Session["HealthInformation"] = null;
}
protected void btnstart_Click(object sender, EventArgs e)
{
btnstart.Visible = false;
Wizard1.Visible = true;
Wizard1.ActiveStepIndex = 0;
}
protected void OnFinish(object sender, WizardNavigationEventArgs e)
{
WizardStepType t = Wizard1.WizardSteps[e.NextStepIndex].StepType;
if (t == WizardStepType.Finish)
{
// Use the session value to insert the details in database.
Wizard1.Visible = false;
btnstart.Visible = true;
refreshdata();
}
}
public class BasicInformation
{
public string Name { get; set; }
public string Class { get; set; }
public string DOB { get; set; }
public string Year { get; set; }
public string New_Old { get; set; }
public string Intake { get; set; }
public string PrevSch { get; set; }
public string FormNo { get; set; }
public string Children { get; set; }
}
public class FatherInformation
{
public string Name { get; set; }
public string Residence { get; set; }
public string SubCounty { get; set; }
public string County { get; set; }
public string District { get; set; }
public string Occupation { get; set; }
public string Department { get; set; }
public string OfficeNo { get; set; }
public string MobileNo1 { get; set; }
public string MobileNo2 { get; set; }
public string Email { get; set; }
}
public class MotherInformation
{
public string Name { get; set; }
public string Residence { get; set; }
public string SubCounty { get; set; }
public string County { get; set; }
public string District { get; set; }
public string Occupation { get; set; }
public string Department { get; set; }
public string OfficeNo { get; set; }
public string MobileNo1 { get; set; }
public string MobileNo2 { get; set; }
public string Email { get; set; }
}
public class KinInformation
{
public string Name { get; set; }
public string MobileNo1 { get; set; }
public string MobileNo2 { get; set; }
public string County { get; set; }
public bool Living { get; set; }
public string WhoLiving { get; set; }
public string Responsible { get; set; }
public string Relationship { get; set; }
public string Occupation { get; set; }
public string Address { get; set; }
}
public class HealthInformation
{
public string Health { get; set; }
}
VB.Net
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
LoadInfomation()
refreshdata()
End If
End Sub
Private Sub LoadInfomation()
Wizard1.ActiveStepIndex = 0
End Sub
Protected Sub btnstart200k_Click(ByVal sender As Object, ByVal e As EventArgs)
TxtFirstName.Text = "Senthil"
End Sub
Protected Sub Wizard1_NextButtonClick(ByVal sender As Object, ByVal e As WizardNavigationEventArgs)
If e.NextStepIndex = 1 Then
Dim basicInformation As BasicInformation = New BasicInformation()
basicInformation.Name = TxtFirstName.Text
basicInformation.[Class] = ddlclass.SelectedValue
basicInformation.DOB = txtDOB.Text
basicInformation.Year = txtYear.Text
basicInformation.New_Old = ddlclass0.SelectedValue
basicInformation.Intake = ddlintake.SelectedValue
basicInformation.PrevSch = txtPrevsch.Text
basicInformation.FormNo = txtFormNo.Text
basicInformation.Children = txtOtherkids.Text
Session("BasicInformation") = basicInformation
End If
If e.NextStepIndex = 2 Then
Dim fatherInformation As FatherInformation = New FatherInformation()
fatherInformation.Name = txtFather.Text
fatherInformation.Residence = txtLocation.Text
fatherInformation.SubCounty = txtsubcounty.Text
fatherInformation.County = txtcounty.Text
fatherInformation.District = DropDownList2.SelectedValue
fatherInformation.Occupation = txtOccupation.Text
fatherInformation.Department = txtdepartment.Text
fatherInformation.OfficeNo = txtofficeno.Text
fatherInformation.MobileNo1 = txtmobilefa.Text
fatherInformation.MobileNo2 = txtmobilefa2.Text
fatherInformation.Email = txtemailf.Text
Session("FatherInformation") = fatherInformation
End If
If e.NextStepIndex = 3 Then
Dim motherInformation As MotherInformation = New MotherInformation()
motherInformation.Name = txtMother.Text
motherInformation.Residence = txtMlocation.Text
motherInformation.SubCounty = txtMsubcounty.Text
motherInformation.County = txtMCounty.Text
motherInformation.District = DropDownList1.SelectedValue
motherInformation.Occupation = txtMoccupation.Text
motherInformation.Department = txtDepartment2.Text
motherInformation.OfficeNo = txtMoffice.Text
motherInformation.MobileNo1 = txtMMobile.Text
motherInformation.MobileNo2 = txtMmobile2.Text
motherInformation.Email = txtMemail.Text
Session("MotherInformation") = motherInformation
End If
If e.NextStepIndex = 4 Then
Dim kinInformation As KinInformation = New KinInformation()
kinInformation.Name = txtNkin.Text
kinInformation.MobileNo1 = txtNmobile.Text
kinInformation.MobileNo2 = txtNmobile2.Text
kinInformation.County = txtexperience18.Text
kinInformation.Living = CheckBox1.Checked
kinInformation.WhoLiving = DropDownList3.SelectedValue
kinInformation.Responsible = txtffees.Text
kinInformation.Relationship = txtRelationship.Text
kinInformation.Occupation = txtNoccupation.Text
kinInformation.Address = txtNaddress.Text
Session("KinInformation") = kinInformation
End If
If e.NextStepIndex = 5 Then
Dim healthInformation As HealthInformation = New HealthInformation()
healthInformation.Health = Health.Text
Session("HealthInformation") = healthInformation
TxtFirstName0.Text = (CType(Session("BasicInformation"), BasicInformation)).Name
TxtFirstName1.Text = (CType(Session("FatherInformation"), FatherInformation)).Name
End If
End Sub
Private Sub refreshdata()
Names.Text = TxtFirstName.Text
Names.Visible = False
llclass.Text = ddlclass.SelectedItem.Text
llclass.Visible = False
llyear.Text = txtYear.Text
llyear.Visible = False
Session("BasicInformation") = Nothing
Session("FatherInformation") = Nothing
Session("MotherInformation") = Nothing
Session("KinInformation") = Nothing
Session("HealthInformation") = Nothing
End Sub
Protected Sub btnstart_Click(ByVal sender As Object, ByVal e As EventArgs)
btnstart.Visible = False
Wizard1.Visible = True
Wizard1.ActiveStepIndex = 0
End Sub
Protected Sub OnFinish(ByVal sender As Object, ByVal e As WizardNavigationEventArgs)
Dim t As WizardStepType = Wizard1.WizardSteps(e.NextStepIndex).StepType
If t = WizardStepType.Finish Then
Wizard1.Visible = False
btnstart.Visible = True
refreshdata()
End If
End Sub
Public Class BasicInformation
Public Property Name As String
Public Property [Class] As String
Public Property DOB As String
Public Property Year As String
Public Property New_Old As String
Public Property Intake As String
Public Property PrevSch As String
Public Property FormNo As String
Public Property Children As String
End Class
Public Class FatherInformation
Public Property Name As String
Public Property Residence As String
Public Property SubCounty As String
Public Property County As String
Public Property District As String
Public Property Occupation As String
Public Property Department As String
Public Property OfficeNo As String
Public Property MobileNo1 As String
Public Property MobileNo2 As String
Public Property Email As String
End Class
Public Class MotherInformation
Public Property Name As String
Public Property Residence As String
Public Property SubCounty As String
Public Property County As String
Public Property District As String
Public Property Occupation As String
Public Property Department As String
Public Property OfficeNo As String
Public Property MobileNo1 As String
Public Property MobileNo2 As String
Public Property Email As String
End Class
Public Class KinInformation
Public Property Name As String
Public Property MobileNo1 As String
Public Property MobileNo2 As String
Public Property County As String
Public Property Living As Boolean
Public Property WhoLiving As String
Public Property Responsible As String
Public Property Relationship As String
Public Property Occupation As String
Public Property Address As String
End Class
Public Class HealthInformation
Public Property Health As String
End Class