can I do this?

response.write (label1.text = exist!)

if not.. can someone tell me how to do this.. thanks in advance..:)

can I do this?

response.write (label1.text = exist!)

if not.. can someone tell me how to do this.. thanks in advance..:)

i cannot understand that what is scenario that you required this approach.
why dont you just set the value directly

or use Query String approach to set the value like response.redirect("samepage.aspx?text='i want to set the text'");

Member Avatar for simongh2

A little more context is needed to answer this. Is exist a string, or a variable. Are you using vb or c#? Are you checking if the label has a value set?

Simon

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.