Click here to Skip to main content
15,896,912 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
<br />
dbContext.Log = Response.Output;

is it by somehow anyway possible to print the output in label controller by somehow converting it to string?
Posted
Comments
What is the issue?
[no name] 20-May-15 2:28am    
i wish i could display log message on label control.
Sinisa Hajnal 20-May-15 2:38am    
Why not lbl.InnerText = dbContext.Log?
[no name] 20-May-15 2:52am    
i am new to programming. I dont know much about it. Thank you for your guys help. let me try it out.
[no name] 20-May-15 2:54am    
i couldnt find InnerText property in label.

1 solution

It is not possible. you can not set Response.write to label directly.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900