Please... I need to acces to a textbox in a FormView

M

Marcos Galaviz

Hi i want to asign a value to the Text property in a textbox inside a
FormView when i am adding a new record ¿how can i do that? i want to use a
ComboBox to select a value and this value goes to the textbox ¿any
suggestions?

Thanks...
 
R

Riki

Marcos said:
Hi i want to asign a value to the Text property in a textbox inside a
FormView when i am adding a new record ¿how can i do that? i want to
use a ComboBox to select a value and this value goes to the textbox
¿any suggestions?

Thanks...

(I'm using VB.NET)
CType(FormView1.FindControl("myTextBox"),TextBox).Text =
ComboBox1.SelectedValue
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top