Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 851233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:23:46+00:00 2026-05-15T07:23:46+00:00

Hello mates i have a page View All Applicants.aspx with gridview and a link

  • 0

Hello mates i have a page View All Applicants.aspx with gridview and a link button

i want to redirect to page View Applicant Detail.aspx when i click on link button and i want to show data in gridview on View Applicant Detail.aspx page based on the previous page values.

here is the code for View All Applicants.aspx

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="View All Applicants.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div><center>
        &nbsp;</center>
        <center style="background-color: silver">
            &nbsp;</center>
        <center>
            <strong><span style="font-size: 16pt">List of All Applicants</span></strong></center>
        <center style="background-color: silver">
            &nbsp;</center>
        <center>
            &nbsp;</center>
        <center>
            &nbsp;</center>
        <center>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" AllowPaging="True"
                >
                <Columns>
                    <asp:BoundField DataField="PersonName" HeaderText="PersonName" SortExpression="PersonName" />
                    <asp:BoundField DataField="DegreeName" HeaderText="DegreeName" SortExpression="DegreeName" />
                    <asp:BoundField DataField="InstituteName" HeaderText="InstituteName" SortExpression="InstituteName" />
                    <asp:BoundField DataField="ExperienceYears" HeaderText="ExperienceYears" SortExpression="ExperienceYears" />
                    <asp:BoundField DataField="OrganizationName" HeaderText="OrganizationName" SortExpression="OrganizationName" />
                    <asp:BoundField DataField="Designation" HeaderText="Designation" SortExpression="Designation" />
                    <asp:TemplateField HeaderText="Applicant Detail">
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" CommandName="Cancel"
                                OnClick="LinkButton1_Click" Text="View"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString8 %>"
                ProviderName="<%$ ConnectionStrings:ConnectionString8.ProviderName %>" SelectCommand="SELECT Distinct PERSONALDETAIL.PersonName, DEGREE.DegreeName, INSTITUTE.InstituteName, EXPERIENCE.ExperienceYears, EXPERIENCE.OrganizationName, EXPERIENCE.Designation FROM EXPERIENCE, EXPERIENCE EXPERIENCE_1, PERSONALDETAIL, DEGREE, INSTITUTE WHERE EXPERIENCE.ExperienceID = EXPERIENCE_1.ExperienceID">
            </asp:SqlDataSource>
        </center>
        <center>
            &nbsp;</center>
        <center>
            &nbsp;</center>
        <center style="background-color: silver">
            &nbsp;</center>
    </div>
    </form>
</body>
</html>

and for View Applicant Detail.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="View Applicant Detail.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div><center>
        &nbsp;</center>
        <center style="background-color: silver">
            &nbsp;</center>
        <center>
            <strong><span style="font-size: 16pt">Job Applicant Detail</span></strong></center>
        <center style="background-color: silver">
            &nbsp;</center>
        <center>
            &nbsp;</center>
        <center>
            &nbsp;</center>
        <center>
            &nbsp;</center>
        <center>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ResumeID"
                DataSourceID="SqlDataSource1">
                <Columns>
                    <asp:BoundField DataField="ResumeID" HeaderText="ResumeID" InsertVisible="False"
                        ReadOnly="True" SortExpression="ResumeID" />
                    <asp:BoundField DataField="TotalExperienceYears" HeaderText="TotalExperienceYears"
                        SortExpression="TotalExperienceYears" />
                    <asp:BoundField DataField="TotalExperienceMonths" HeaderText="TotalExperienceMonths"
                        SortExpression="TotalExperienceMonths" />
                    <asp:BoundField DataField="ExperienceSummary" HeaderText="ExperienceSummary" SortExpression="ExperienceSummary" />
                    <asp:BoundField DataField="DetailedCVName" HeaderText="DetailedCVName" SortExpression="DetailedCVName" />
                    <asp:BoundField DataField="AdditionalQualification" HeaderText="AdditionalQualification"
                        SortExpression="AdditionalQualification" />
                    <asp:BoundField DataField="ExtraCurricular" HeaderText="ExtraCurricular" SortExpression="ExtraCurricular" />
                    <asp:BoundField DataField="Skills" HeaderText="Skills" SortExpression="Skills" />
                    <asp:BoundField DataField="TentativeFromDate" HeaderText="TentativeFromDate" SortExpression="TentativeFromDate" />
                    <asp:BoundField DataField="PageIndex" HeaderText="PageIndex" SortExpression="PageIndex" />
                    <asp:BoundField DataField="PersonalDetailID" HeaderText="PersonalDetailID" SortExpression="PersonalDetailID" />
                    <asp:BoundField DataField="DepartmentID" HeaderText="DepartmentID" SortExpression="DepartmentID" />
                    <asp:BoundField DataField="DesignationID" HeaderText="DesignationID" SortExpression="DesignationID" />
                </Columns>
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString5 %>"
                ProviderName="<%$ ConnectionStrings:ConnectionString5.ProviderName %>" SelectCommand="SELECT * FROM [RESUME]">
            </asp:SqlDataSource>
        </center>
        <center>
            &nbsp;</center>
        <center>
            &nbsp;</center>
        <center>
            &nbsp;</center>
        <center style="background-color: silver">
            &nbsp;</center>
    </div>
    </form>
</body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T07:23:46+00:00Added an answer on May 15, 2026 at 7:23 am

    You don’t have to do a postbask to redirect the user to the details page, you can edit your template column to go directly to the URL of the details page along with a GET variable of the ID needed for the lookup.

                <asp:TemplateField HeaderText="Applicant Detail">
                    <ItemTemplate>
                        <asp:HyperLink NavigateUrl="DetailsView.aspx?ResumeID=" + "<%# Bind("ResumeID") %>" Text="Visit W3Schools!" Target="_blank" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
    

    In your Details page, do Request.QueryString(“ResumeID”) to get ID needed to do the lookup.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have something pretty simple I want to do. I'm still working through all
Hello I have a page in an ASP.NET (website) project that writes a file
I have a page with a button. When clicked, a php script is executed
Hello all Windows Mobile Experts! I have really drowned in the world of developing
Hello I have the following error by git-fsck, which cannot be cleaned by git-gc
Hello all you helpful folks @ stackoverflow! Best resources for Java GUI's? Looking at
Hello we have an SQL server application running over a low bandwith connection. We
I have a block level element which I am centering on the page. I
Let's say I have the following HTML code <div id="outer"> <div id="inner">Hello World</div> </div>
If I have the string hello world , how can I modify the regex

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.