[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

DataList with datareader

Posted on 2006-10-19
3
Medium Priority
?
507 Views
Last Modified: 2012-05-05
I have put a datalist on my webform and in the item template i have put the table which contains html text boxes i want to bind these text boxes from the fields of datareader so how should i ? please help out if any one knows. thanks
0
Comment
Question by:zuheb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
jeebukarthikeyan earned 500 total points
ID: 17781130
hi,

<asp:DataList id="datalist" runat="server" RepeatColumns="4" RepeatDirection="Vertical" GridLines="Both" RepeatLayout="Table" Caption="BuilderAU.com.au Test">
<ItemTemplate>
<asp:Label Text='<%# Eval("a1") %>' Runat="Server" ID="lblCompanyName"/>
</ItemTemplate>
<AlternatingItemTemplate>
<asp:TextBox id="tb4" Text'<%# Eval("b1") %>' runat="server" />
</AlternatingItemTemplate>
<SeparatorTemplate>
</SeparatorTemplate>
</asp:DataList>

b u d d h a
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question