i am facing problem with Roles.GetRolesForUser(UserName).
When i run application on my machine the Method returning zero-dimension
array, Insted of When i run the same application on my friend's machine. it
returns value in array.
For the application we are using the SQL 2005 database located on my
friend's machine.
I am doing like this:
Dim strarray() As String
Dim result As Integer
strarray = Roles.GetRolesForUser(Me.Context.User.Identity.Name)
Here i am getting strarray zero-dimension.
Even i had run the exe called "aspnet_regsql.exe" for same data schema on
both machines.
Re: Textdatei schnell auslesen und durchsuchen! ... die Textdatei beim 1. mal liest, also z.B. in ein Array -> strArray ... danach ein entsprechendes Array erzeugen,... Danach schreibst Du einfach dein strArray in strDaten um. ... ob nun ein vbCrLf als "Trennzeichen" taugt hängt von ... (microsoft.public.de.vb)
Re: Xtreme Newbie: String Arrays ... initialize the array if I don't know how many elements it is going to contain. ... stringstrArray;... you still need to initialize the data structure into which you're putting your strings. ... It just happens that in this case, it's a data structure that can essentially expand as necessary as you add new items. ... (microsoft.public.dotnet.languages.csharp)
Webservice that returns an xml document instead of an array ... I've written a webservice that returns an array.... As classic asp can't read the returned array I want the webservice to ...Dim strArray() As TestSoap.TAutoModel ... (microsoft.public.dotnet.framework.aspnet)
Re: Confirmation page ... I have broken down that previous string of comma delimited values ... into an array, "strArray"....array as criteria for a query THROUGH the Database Results Wizard? ... (microsoft.public.frontpage.programming)