Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

When I click on link button present in data list its redirecting to a particular page locally but when hosted on server it is showing error as System.ComponentModel.Win32Exception: Application not found when I use

system.diagnostics.process.start(e.commandarguments)


Please anyone help me,

Thanks & Regards
Vikas
Posted
Updated 19-May-11 23:06pm
v2

For redirection to the particular page use Response.Redirect method instead of system.diagnostics.process.start.
 
Share this answer
 
on OnRowCommand, use like that

Response.Redirect(e.CommandName)


here e.CommandName = url of the page where you want to redirect
 
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