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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:45:40+00:00 2026-05-21T18:45:40+00:00

I am having a repeater within it there is label bounded with the Parking_Name

  • 0

I am having a repeater within it there is label bounded with the Parking_Name Field and a button which is bouned to the Parking_ID field.

<asp:Repeater ID="repeater1" runat="server" DataSourceID="SqlDataSource1" OnItemDataBound="repeater1_ItemDataBound"> <ItemTemplate> <li> <asp:Label ID="lblName" runat="server" "><%#Eval("Parking_Name")%> </asp:Label></div> <asp:Button ID="Button1" runat="server" Text="Button" CommandArgument = '<%#Eval("Parking_ID")%>' />

How can bound the button with the Parking_Name as well ?

Regards

  • 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-21T18:45:41+00:00Added an answer on May 21, 2026 at 6:45 pm

    Like this

    <asp:Button ID="Button1" runat="server" Text='<%#Eval("Parking_Name")%>' CommandArgument = '<%#Eval("Parking_ID")%>' />
    

    Edit

    use like this

     <a href='page.aspx?Parking_Name=<%#Eval("Parking_Name")%>&ParkingCost=<%#Eval("ParkingCost")%>'><%#Eval("Parking_Name")%></a>
    

    get both on page.aspx.cs like this

    string Parking_Name =Request.QueryString["Parking_Name"];
    string ParkingCost =Request.QueryString["ParkingCost"];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<asp:Repeater ID=Repeater_RatingQuestions_Individuals runat=server> <ItemTemplate> <asp:Label CssClass=bold center ID=Label1 runat=server Text='<%# DataBinder.Eval(Container.DataItem,Question)%>' /> <asp:Repeater ID=Repeater_RatingAnswers_Individuals
I find my self having a repeater control which is being databound to an
I have a ASP.NET 3.5 page which has a repeater containing lines of information
<asp:Repeater ID=repFilter runat=server> <HeaderTemplate> <div id=posting align=center> </HeaderTemplate> <ItemTemplate> <div class=friends_area id=record-> <%# ((Alert)Container.DataItem).Message
I have a repeater that displays some data from a SQL query: <asp:Repeater runat=server
I'm having a bit of trouble with my ASP.NET Repeater control. I need to
I have the following html that renders within an ASP.NET Repeater: <div class=divDE-item onclick=addFilter(this);>
I have the following repeater <asp:Repeater id=weatherFeed Runat=server><ItemTemplate> <asp:LinkButton runat=server id=PickInfo onClick=Selection_PickInfo> <img src=images/mapPin.png
In my asp.net website; i have REPEATER control having child control checklistbox , dynamically
here is the problem I am having with placeholder: I have a repeater and

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.