Put o code:
protected void EditarGrid(Object sender, DataGridCommandEventArgs e)
{
dtgwordlist.EditItemIndex = e.Item.ItemIndex;
// I need converting a string of objeto textbox in object realy on code.
string nome = txtcmb.Text;
// like this????
DropDownList valor = (DropDownList)nome;
//Function for DataBind() Grid
MontaGrid(Convert.ToInt32(valor.SelectedItem.Value ));
}
"Drebin" <tR*************@hotmail.com> escreveu na mensagem
news:D9**********************@newssvr28.news.prodi gy.com...
string strTheItemIWant = this.comboBox1.SelectedText.ToString();
then - manipulate strTheItemIWant however you need? Do you have sample
code of what is not working?
"'[] WiRaN" <br*****@terra.com.br> wrote in message
news:eu**************@tk2msftngp13.phx.gbl... In my case,
need convert a string in object DropDownList.
help me?
"Drebin" <tR*************@hotmail.com> escreveu na mensagem
news:KT**********************@newssvr28.news.prodi gy.com... There isn't really. Instead, you should create an array of whatever
you need. So instead of:
objTextBox = eval('myTextbox' + n);
You could have multiple textboxes, and address them as:
objTextBox = myTextbox[3]; // to reference the 4th one
"'[] WiRaN" <br*****@terra.com.br> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
> He forgives some people who had helped to decide a problem yesterday me, but
> I still did not obtain to understand.
> I am needing a similar function the Eval the Javascript, somebody
can help > me with examples?
> '[] WiRaN
>
>