TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Satyam Kasyap
NA
9
1.3k
how we use the value of textbox which is inside the repeater
May 11 2016 5:33 AM
<asp:Repeater ID="repeat1" runat="server" DataSourceID="SqlDataSource1">
<asp:TextBox ID="txtbox1" runat="server" Text='<%#Eval("IDM") %>'></asp:TextBox>
<asp:TextBox ID="txtbox2" runat="server" Text='<%#Eval("Productname") %>'></asp:TextBox>
</ItemTemplate></asp:Repeater>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:MyConn %>"
SelectCommand="SELECT * FROM [product] WHERE ([IDM] = @IDM)">
<SelectParameters>
<asp:QueryStringParameter DefaultValue="0" Name="IDM" QueryStringField="IDM"
Type="Int32" />
</SelectParameters></asp:SqlDataSource>
i want to use the value of txtbox1 & txtbox2 for save the data in database using the code-behind code
but in code-behind txtbox1 and txtbox2 is not show..
any one help me....
Reply
Answers (
1
)
AutoMapper Version Used : 3.3.10
html in textbox