filipelou Posted May 28, 2008 at 02:25 PM Report Share #188058 Posted May 28, 2008 at 02:25 PM como abrir uma página enviando uma instância de uma classe? Link to comment Share on other sites More sharing options...
vitortomaz Posted May 28, 2008 at 02:31 PM Report Share #188064 Posted May 28, 2008 at 02:31 PM enviar uma instância? ou nome da classe a instanciar? http://vitortomaz.blogspot.com/ Link to comment Share on other sites More sharing options...
filipelou Posted May 28, 2008 at 02:38 PM Author Report Share #188067 Posted May 28, 2008 at 02:38 PM Eu tenho Resultados res=new Resultado; res.numero=1; como posso enviar a variável res para outra página?? Link to comment Share on other sites More sharing options...
vitortomaz Posted May 28, 2008 at 03:07 PM Report Share #188075 Posted May 28, 2008 at 03:07 PM por exemplo através do URL fazendo um pedido para OutraPagina.aspx?numero=1 e na outra páginas acedes através do Request["numero"] http://vitortomaz.blogspot.com/ Link to comment Share on other sites More sharing options...
filipelou Posted May 28, 2008 at 03:57 PM Author Report Share #188101 Posted May 28, 2008 at 03:57 PM Pois isso eu sei mas tenho de fazer campo a campo.Não há como enviar a classe toda? Link to comment Share on other sites More sharing options...
DanielAmorim Posted May 28, 2008 at 06:04 PM Report Share #188119 Posted May 28, 2008 at 06:04 PM Podes usar Cross-Page Postbak: http://msdn.microsoft.com/en-us/library/ms178139.aspx Este mecanismo permite acederes aos membros públicos da página anterior 😛 Daniel Amorim VP for xRTML http://www.xrtml.org http://www.realtime.co Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now