User Profile

Collapse

Profile Sidebar

Collapse
Phijo
Phijo
Last Activity: Aug 15 '08, 09:54 PM
Joined: Jul 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Phijo
    replied to ListBox and DataSource help
    in .NET
    How would I control the order of events if I want the list to be dynamically updated? Is there a command that causes it to reload with the new DataSource? If there is something wrong with the order things are being executed, then why is the list being populated with the correct items?

    I tried editing my code so that now I have:
    Code:
    AutoPostBack=true OnSelectedIndexChanged="SelectItem"
    However,...
    See more | Go to post

    Leave a comment:


  • Phijo
    started a topic ListBox and DataSource help
    in .NET

    ListBox and DataSource help

    Hello,

    I am writing a page (C#) that uses one ListBox that retrieves data from a DB using SqlDataSource and the SelectCommand.
    Code:
    <asp:SqlDataSource ID="DataSource1" SelectCommandType=Text runat="server" ConnectionString="<%$ ConnectionStrings:SQLDB %>" />
    <asp:ListBox ID="ListBox1" runat="server" SelectionMode=Single Rows=20 Width="250px"
    ...
    See more | Go to post

  • retrieving ListBox data when populating with TableAdapter

    Hello, I'm a Java developer but brand new to ASP (i have done some of the tutorials) so I have some ASP programming background however I cannot find the cause or the fix to this problem.

    I am writing a web page in ASP (using C#) that needs to take data from a Database and put it into a ListBox, then have a button retrieve the selected item and then do some stuff. The problem I am having is retrieving the values in the ListBox.
    ...
    See more | Go to post
    Last edited by jhardman; Jul 11 '08, 06:24 PM. Reason: this is actually ASP.NET, ASP is a different horse entirely
No activity results to display
Show More
Working...