re:
!However when I try to use code like;
!Dim ret As MembershipCreateStatus
!in VB.net I get the error 'Type 'MembershipCreateStatus' is not defined'.
!What am I doing wrong?
You need to import the System.Web.Security namespace :
<%@ Import Namespace="System.Web.Security" %>
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
"John" <in**@nospam.infovis.co.ukwrote in message news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi
I am trying to manipulation asp.net membership programmatically from a winform app. I have added the connectionstring
and membership & role setting fragment to my app's app.config file as per this article;
http://blogs.msdn.com/msdnts/archive...commentmessage
However when I try to use code like;
Dim ret As MembershipCreateStatus
in VB.net I get the error 'Type 'MembershipCreateStatus' is not defined'. What am I doing wrong?
Thanks
Regards