I recommend against that approach. I was going to suggest it but it has several down sides.
On Sun, 16 Jan 2005 22:24:34 +0300, Naweed Akram <[EMAIL PROTECTED]> wrote: > Here is how it works: > > <asp:TextBox ID="txtEmail1" runat="server" Text='<# > strEmailTest %>'></asp:TextBox> > > Regards > Naweed Akram > > > -----Original Message----- > From: Karen Kungowski [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 16, 2005 10:07 AM > To: [email protected] > Subject: [AspNetAnyQuestionIsOk] Need to set <asp:textbox> value with field > value > > > 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 > > > > > > > > > > > > > ________________________________ > 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/
