Get Two row with multiple column in asp.net c#

Posted by Gaurav Naik on Stack Overflow See other posts from Stack Overflow or by Gaurav Naik
Published on 2012-10-08T15:30:44Z Indexed on 2012/10/08 15:37 UTC
Read the original article Hit count: 231

Filed under:
|

How to get data from database with two rows and multiple column with seperator will be there after the 1 row end

as an example:

<div class="_thum_bar">
                <div class="box1">
                    <div class="_t1_box"><a href="#!/condom_details"><img src="images/pack/pack1.png" border="0"></a></div>
                    <div class="_t2_box">
                    <h1>Dotted Condom</h1>
                    <p>Dotted condoms for additional friction. Pure ecstasy makes this a KamaSutra all time favourite.</p>
                    <h2><a href="#!/condom_details">Add to cart</a></h2>
                    </div>
              </div>
                <div class="box2">
                    <div class="_t1_box"><a href="#!/condom_details"><img src="images/pack/pack1.png" border="0"></a></div>
                    <div class="_t2_box">
                    <h1>Dotted Condom</h1>
                    <p>Dotted condoms for additional friction. Pure ecstasy makes this a KamaSutra all time favourite.</p>
                    <h2><a href="#!/condom_details">Add to cart</a></h2>
                    </div>
                </div>                    
                <div class="box3">
                    <div class="_t1_box"><a href="#"><img src="images/pack/pack1.png" border="0"></a></div>
                    <div class="_t2_box">
                    <h1>Dotted Condom</h1>
                    <p>Dotted condoms for additional friction. Pure ecstasy makes this a KamaSutra all time favourite.</p>
                    <h2><a href="#!/condom_details">Add to cart</a></h2>
                    </div>
                </div>
</div>
<div class="_t_spacer">&nbsp;</div>
<div class="_thum_bar">
                <div class="box1">
                    <div class="_t1_box"><a href="#!/condom_details"><img src="images/pack/pack1.png" border="0"></a></div>
                    <div class="_t2_box">
                    <h1>Dotted Condom</h1>
                    <p>Dotted condoms for additional friction. Pure ecstasy makes this a KamaSutra all time favourite.</p>
                    <h2><a href="#!/condom_details">Add to cart</a></h2>
                    </div>
              </div>
                <div class="box2">
                    <div class="_t1_box"><a href="#!/condom_details"><img src="images/pack/pack1.png" border="0"></a></div>
                    <div class="_t2_box">
                    <h1>Dotted Condom</h1>
                    <p>Dotted condoms for additional friction. Pure ecstasy makes this a KamaSutra all time favourite.</p>
                    <h2><a href="#!/condom_details">Add to cart</a></h2>
                    </div>
                </div>    

</div>
            <div class="_t_spacer">&nbsp;</div>

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET