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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:10:48+00:00 2026-05-13T19:10:48+00:00

DataTextField=Name DataValueField=ID_ListGroupParIzm ???? DataValueField2=ID_Point is it real to load 2 values from sqlDataSource in

  • 0
DataTextField="Name" 
DataValueField="ID_ListGroupParIzm"

???? DataValueField2=”ID_Point”

is it real to load 2 values from sqlDataSource in one DropDown list ? Get structure object from sqlDataSource ?

I can see only one way – making a new table to combine ID_Point and ID_ListGroupParIzm to one ID but that’s really weird.

  • 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-13T19:10:49+00:00Added an answer on May 13, 2026 at 7:10 pm

    The only reason I can see for trying to do this is so that you can use javascript to affect two other objects on the page when something is selected.

    If that is the case, I would strongly suggest using css classes instead and using jQuery (or another similar framework to select them from the dom.

    eg.

    <div id="ctl00_point" class="point item1">Content</div>
    <div id="ctl00_listgrouppartzm" class="lgpartzm item1">Content</div>
    
    <div id="ctl01_point" class="point item2">Content</div>
    <div id="ctl01_listgrouppartzm" class="lgpartzm item2">Content</div>
    

    Now rather than trying to store “point1|listgrouppartzm1” into the value of the drop down list and then parse it out, you only have to store “item1” and you have all the information you need to find those two divs.

    In jQuery, you can get them both by

    $(".item1")
    

    or individually by

    $(".item1.point")
    $(".item1.lgpartzm")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to bind dropdown list in a gridview with datasiursce coming from data
<asp:UpdatePanel ID=UpdatePanel1 runat=server UpdateMode=Conditional> <ContentTemplate> <div> <asp:DropDownList runat=server EnableViewState=true DataTextField=Name DataValueField=Id DataSourceID=ListSource ID=List OnDataBound=List_OnDataBound
I load cities from the data context into two different lists and bind them
I have list box control where I am binding the values to the listbox
I'd like to bind my dropdown to a generic list. It seems really simple
I trie to create a dropdown list in c# .net server side ... but
I am creating a SelectList from a List(T) class to use to populate a
I have a drop down list that is populated in the page load event
Am using the below code to bind the dropdown data from another table. And
I had drop down list and I want to fill it with data by

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.