Click here to Skip to main content
15,903,854 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem deleting selected value from dropdownlist Pin
wajans13-Feb-08 8:42
wajans13-Feb-08 8:42 
GeneralRe: Problem deleting selected value from dropdownlist Pin
Not Active13-Feb-08 9:19
mentorNot Active13-Feb-08 9:19 
GeneralRe: Problem deleting selected value from dropdownlist Pin
wajans13-Feb-08 9:35
wajans13-Feb-08 9:35 
GeneralExecuting Textbox Text Pin
waheed awan12-Feb-08 15:06
waheed awan12-Feb-08 15:06 
GeneralRe: Executing Textbox Text [modified] Pin
Venkatesh Mookkan12-Feb-08 15:17
Venkatesh Mookkan12-Feb-08 15:17 
GeneralRe: Executing Textbox Text Pin
Not Active12-Feb-08 15:45
mentorNot Active12-Feb-08 15:45 
GeneralRe: Executing Textbox Text Pin
Venkatesh Mookkan12-Feb-08 15:53
Venkatesh Mookkan12-Feb-08 15:53 
GeneralRe: Executing Textbox Text Pin
Not Active12-Feb-08 15:53
mentorNot Active12-Feb-08 15:53 
First, it isn't a very smart idea to try executing arbitrary code entered from a textbox.

If you want to do this on the client-side you need to use the eval function. http://www.w3schools.com/jsref/jsref_eval.asp[^]

On the server-side you can try using CodeDOM http://msdn2.microsoft.com/en-us/library/y2k85ax6.aspx[^] However, it is VERY, VERY dangerous to try compiling code input from a textbox. Don't even think about it, try something else.


only two letters away from being an asset

GeneralRe: Executing Textbox Text Pin
waheed awan13-Feb-08 7:02
waheed awan13-Feb-08 7:02 
GeneralRe: Executing Textbox Text Pin
Not Active13-Feb-08 7:22
mentorNot Active13-Feb-08 7:22 
GeneralRe: Executing Textbox Text Pin
waheed awan13-Feb-08 12:06
waheed awan13-Feb-08 12:06 
GeneralRe: Executing Textbox Text Pin
Not Active13-Feb-08 16:08
mentorNot Active13-Feb-08 16:08 
GeneralRe: Executing Textbox Text Pin
waheed awan13-Feb-08 7:03
waheed awan13-Feb-08 7:03 
Questionhow would??? Pin
learningman12-Feb-08 11:49
learningman12-Feb-08 11:49 
AnswerRe: how would??? Pin
Christian Graus12-Feb-08 11:54
protectorChristian Graus12-Feb-08 11:54 
GeneralSystem.UnauthorizedAccessException: Access to the path "server/file_share" is denied Pin
mayl12-Feb-08 10:42
mayl12-Feb-08 10:42 
GeneralRe: System.UnauthorizedAccessException: Access to the path "server/file_share" is denied Pin
Venkatesh Mookkan12-Feb-08 15:24
Venkatesh Mookkan12-Feb-08 15:24 
GeneralRe: System.UnauthorizedAccessException: Access to the path "server/file_share" is denied Pin
mayl13-Feb-08 3:46
mayl13-Feb-08 3:46 
GeneralRe: System.UnauthorizedAccessException: Access to the path "server/file_share" is denied Pin
Ravenet12-Feb-08 16:00
Ravenet12-Feb-08 16:00 
GeneralRe: System.UnauthorizedAccessException: Access to the path "server/file_share" is denied Pin
mayl13-Feb-08 3:50
mayl13-Feb-08 3:50 
GeneralRe: System.UnauthorizedAccessException: Access to the path "server/file_share" is denied Pin
Ravenet13-Feb-08 4:02
Ravenet13-Feb-08 4:02 
GeneralRe: System.UnauthorizedAccessException: Access to the path "server/file_share" is denied Pin
mayl13-Feb-08 6:05
mayl13-Feb-08 6:05 
GeneralRe: System.UnauthorizedAccessException: Access to the path "server/file_share" is denied Pin
Ravenet13-Feb-08 14:39
Ravenet13-Feb-08 14:39 
GeneralCall class method from javascript Pin
marky77712-Feb-08 3:53
marky77712-Feb-08 3:53 
GeneralRe: Call class method from javascript Pin
Paddy Boyd12-Feb-08 4:28
Paddy Boyd12-Feb-08 4:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.