she is in .net so would do that with a DataReader not a Dataset.
http://www.learnasp.com/freebook/learn/datareader.aspx
On Sun, 16 Jan 2005 08:56:23 -0700, paul ousterhout
<[EMAIL PROTECTED]> wrote:
> Karen - don't know if you've already solve this one. But if you haven't:
>
> I've done this before by doing an SQL statement to pull some data from a
> table, then setting the .text value for the label equal to the recordset
> values in the page_load code. I.E:
>
> Labelvalue1.Text = rs("desiredvalue")
> Labelvalue2.Text = rs("desiredvalue2")
> etc....
> and the data will appear properly in the textbox control.
>
> Hope it helps...p
>
>
> Paul Ousterhout
> Big Picture Systems, Inc.
>
>
> From: Karen Kungowski <[EMAIL PROTECTED]>
> Reply-To: [email protected]
> To: [email protected]
> Subject: [AspNetAnyQuestionIsOk] Need to set <asp:textbox> value with field
> value
> Date: Sat, 15 Jan 2005 23:07:09 -0800 (PST)
>
>
> I've stuck the <% Response.Write(strEmailTest) %> in
> between the <asp:textbox> tags but it doesn't work. It
> is assumed that strEmailTest would hold the results of
> a query:
> <asp:TableCell>Email1<br><asp:TextBox
> ID="txtEmail1" runat="server"><%
> Response.Write(strEmailTest)
> %></asp:TextBox></asp:TableCell>
>
> I have about 3 textboxes that I want to have filled
> with default values when the page loads. These values
> have to be drawn from a table. Classic ASP trick
> doesn't work.
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
>
>
>
>
> ________________________________
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/