Click here to Skip to main content
15,843,149 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# How to iterate in all TR & TD of multiple html table and extract value Pin
Pete O'Hanlon2-Nov-23 4:45
subeditorPete O'Hanlon2-Nov-23 4:45 
AnswerRe: C# How to iterate in all TR & TD of multiple html table and extract value Pin
jschell19-Oct-23 6:08
jschell19-Oct-23 6:08 
GeneralRe: C# How to iterate in all TR & TD of multiple html table and extract value Pin
Tridip Bhattacharjee from Unknown26-Oct-23 11:45
Tridip Bhattacharjee from Unknown26-Oct-23 11:45 
Questionmysql db in cloud with c# desktop application geting too slow Pin
Member 1103383418-Oct-23 7:35
Member 1103383418-Oct-23 7:35 
AnswerRe: mysql db in cloud with c# desktop application geting too slow Pin
jeron118-Oct-23 8:25
jeron118-Oct-23 8:25 
AnswerRe: mysql db in cloud with c# desktop application geting too slow Pin
Dave Kreskowiak18-Oct-23 9:38
mveDave Kreskowiak18-Oct-23 9:38 
AnswerRe: mysql db in cloud with c# desktop application geting too slow Pin
jschell19-Oct-23 6:11
jschell19-Oct-23 6:11 
QuestionNeed to create next button Pin
Member 1611639316-Oct-23 5:26
Member 1611639316-Oct-23 5:26 
Hi everyone,

I am new to this community and C# in general, (a PHP guy) but I am hoping I can get some help here. I am trying to have a page display 20 products then, a next button for the other 20 and so on. Below is the code of what I am trying to achieve. (link to image image_new_button.png - Google Drive[^] )

Thanks for your help in advance.

Best regards

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="winners.aspx.cs" Inherits="FrontPanel.winners" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <div class="container">
        <h4 class="paddingtb-15">Winner List </h4>
 

    <table class="table table-striped table-bordered"><tr>
        <th>Product Details</th>
                 <th>Amount</th>  
         <th>User Details</th>
                                                      </tr>
        <asp:ListView ID="ListView1" runat="server">
            <ItemTemplate>
                <tr>
                   
                   
                    <td style="width:600px">
                        <asp:Image ID="Image1" runat="server"  ImageUrl='<%#Eval("productimage") %>' Width="30px" />
                        <%#Eval("productname") %>
                  </td>
                    <td><%#Eval("winamount") %></td>
                           <td>  <asp:Image ID="Image2" runat="server"  ImageUrl='<%#Eval("userimage") %>' Width="30px" Height="30px" CssClass="img-circle" /><%#Eval("username") %> </td>
          
                </tr>








            </ItemTemplate>

        </asp:ListView>


    </table>   </div>
</asp:Content>

AnswerRe: Need to create next button Pin
Gerry Schmitz16-Oct-23 6:16
mveGerry Schmitz16-Oct-23 6:16 
GeneralRe: Need to create next button Pin
Member 1611639316-Oct-23 7:17
Member 1611639316-Oct-23 7:17 
GeneralRe: Need to create next button Pin
Dave Kreskowiak16-Oct-23 8:19
mveDave Kreskowiak16-Oct-23 8:19 
AnswerRe: Need to create next button Pin
RedDk16-Oct-23 7:49
RedDk16-Oct-23 7:49 
QuestionTransfer data between MFC Application and c# application using NamedPipe Pin
manoharbalu13-Oct-23 2:37
manoharbalu13-Oct-23 2:37 
AnswerRe: Transfer data between MFC Application and c# application using NamedPipe Pin
Richard Andrew x6413-Oct-23 3:28
professionalRichard Andrew x6413-Oct-23 3:28 
AnswerRe: Transfer data between MFC Application and c# application using NamedPipe Pin
JudyL_MD13-Oct-23 6:05
JudyL_MD13-Oct-23 6:05 
QuestionCreating a JSON File from a CSV file in C# Pin
Member 1611347712-Oct-23 3:19
Member 1611347712-Oct-23 3:19 
AnswerRe: Creating a JSON File from a CSV file in C# Pin
OriginalGriff12-Oct-23 3:29
mveOriginalGriff12-Oct-23 3:29 
AnswerRe: Creating a JSON File from a CSV file in C# Pin
jschell12-Oct-23 6:17
jschell12-Oct-23 6:17 
AnswerRe: Creating a JSON File from a CSV file in C# Pin
Gerry Schmitz12-Oct-23 9:36
mveGerry Schmitz12-Oct-23 9:36 
GeneralRe: Creating a JSON File from a CSV file in C# Pin
OriginalGriff12-Oct-23 10:07
mveOriginalGriff12-Oct-23 10:07 
GeneralRe: Creating a JSON File from a CSV file in C# Pin
Gerry Schmitz12-Oct-23 10:28
mveGerry Schmitz12-Oct-23 10:28 
GeneralRe: Creating a JSON File from a CSV file in C# Pin
OriginalGriff12-Oct-23 11:20
mveOriginalGriff12-Oct-23 11:20 
GeneralRe: Creating a JSON File from a CSV file in C# Pin
jschell13-Oct-23 8:09
jschell13-Oct-23 8:09 
QuestionItemObservableCollection Pin
rex648-Oct-23 8:34
rex648-Oct-23 8:34 
AnswerRe: ItemObservableCollection Pin
Gerry Schmitz8-Oct-23 8:55
mveGerry Schmitz8-Oct-23 8:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.