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 6791487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:51:08+00:00 2026-05-26T17:51:08+00:00

In C#, how do i create a new webpage that I can either use

  • 0

In C#, how do i create a new webpage that I can either use form view or data grid view, (or create a new database connection)? so that I can have a web page that will allow the user to navigate through about 50 records (one record at a time). ie;
I am using an Access file (.mdb); which I am willing to convert if necessary.

John Smith
ID: 1
Phone: 440-202-2239

(click navigation)
(next page)

Sally Jones
ID : 2
Phone : 440-242-2992

(click navigation)
(next page)
etc.

THE KEY WORD TO ACCOMPLISH THIS TASK IS CALLED “PARAMETRIZED QUERIES”. *

  • 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-26T17:51:09+00:00Added an answer on May 26, 2026 at 5:51 pm

    ok, I’m a bit rusty, but I hope the following will lead you down the right path.

    Take the following markup as an example…

    <asp:UpdatePanel runat="server" ID="updatePane1">
        <ContentTemplate>
            <asp:GridView ID="contactGrid" runat="server" EmptyDataText="No Contacts Found"  BorderStyle = "Double" AllowSorting = "true"  AlternatingRowStyle-BackColor="Beige"
                 EnableViewState="true" AutoGenerateColumns="False"  HeaderStyle-Height = "20" RowStyle-Height = "60" AllowPaging ="true" >
                <Columns>
                <asp:TemplateField HeaderText="Case Queue" HeaderStyle-Font-Bold="true" HeaderStyle-ForeColor="Black">
                <ItemStyle HorizontalAlign="Center" CssClass = "GridInfo"/>
                    <ItemTemplate >
                            <div class="contact">Name:<%# Eval("ContactName") %></div>
                            <div class="phone">Phone:<%# Eval("PhoneNumber") %></div>
                    </ItemTemplate>
                </asp:TemplateField>
                </Columns>
            </asp:GridView> 
        <asp:Timer ID="Timer1" runat="server" Interval="30000" OnTick="Timer_Tick"> </asp:Timer>
        </ContentTemplate>
    </asp:UpdatePanel>
    

    In your loading event do something like this (note: you need to set/declare that ‘data’ object):

    contactGrid.DataSource = data;
    contactGrid.DataBind();
    

    In the PageIndexChanging event do something like this:

    contactGrid.PageIndex = e.NewPageIndex;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I create new ASP.NET web application that use SMTP to send message. The problem
I can't create New Project on my Visual Web Developer 2008 Express with SP1.
I have a problem. I have a bunch webpage that makes heavy use of
I have a web service that performs a database search. It accepts both GET
How to create new PCL file similar to existing MS doc. I have MS
I tryed to create new components from one base Windows Form, also I found
I am trying to create new Event objects to be persisted in the database
I can create new Silverlight App with .NET RIA Services enabled. But when I
I have a webpage that has a button that sends a letter on the
I have a simple webpage that serves as an introduction to a more complex

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.