hi ..allow users="xyz".. add the above line below the line ..allow users="admin".. and see whether it works.
dinus28
Posts
-
granting admin previledge to a user in forms authentication.. -
hai every1hai this is a sample code. check whether this wld help to solve ur prob. Dim t1 As New DateTime(100) Dim t2 As New DateTime(20) If DateTime.Compare(t1, t2) > 0 Then Console.WriteLine("t1 > t2") End If If DateTime.Compare(t1, t2) = 0 Then Console.WriteLine("t1 == t2") End If If DateTime.Compare(t1, t2) < 0 Then Console.WriteLine("t1 < t2") End If
-
How to show a default photo.i have pasted a sample code. here label1.text stands for ur empid iam using a image server control i created a folder in the app path named photo where i stored my sample pics this is how i accessed and set the object. i hope u can modify further acc to ur reqts. Dim s As String = CurDir() Dim s1 As String = s & "\Photo" Dim s2() As String Dim s3 As String Dim i As Integer Dim j As Integer Label1.Text = "yasoda2" If Directory.Exists(s1) Then s2 = Directory.GetFiles(s1) For i = 0 To s2.Length() - 1 j = s2(i).IndexOf(".") s3 = Left(s2(i), j) If (s3 = s1 & "\" & Label1.Text) Then Image1.ImageUrl = s2(i).Replace(s, "~") End If Next Else Console.Write("Directory dose not exist") End If
-
How to show a default photo.hi iam sorry. i didnot know that u wanted the code.anyways did u get it r not.
-
How to show a default photo.hi let us say u have an image object. it has a property imageurl which u can set at runtime. since u r knowing the empid of the user logging in its easy for u to trace the imagename from the source directory. the only thing u have to check whether the image exists r not. try this and see. if it has any prob let me know for further asst.
-
Listbox multiple selectionremove the part 'Step intCount + 1 in the second loop. it will work
-
Read data from gridviewhi the code varshavmane has sent would be more optimized one. did u try that one.
-
Read data from gridviewwhat would happen if column name is changed???
-
Read data from gridviewhi it is always better to use index than using the name. bcoz if the name is changed u have to modify everywhere wherver u use it. for huge projects it is a very tedious job. my suggestion would be that u better use index.
-
Error in Login Controlr u getting error only when u run this webpage r for all the other project pages whenever u debug?
-
loginpage errorfor this error 'unable to start debugging on web server,access is denied' see whether ur name is the part of the debuggers users in the iis. and one more thing the debug = true option should be set in the web.config file. the tag is not recognized by the envt. for this error ' u set this code n check out
-
regarding logging page(error in web.config)for this error 'unable to start debugging on web server,access is denied' see whether ur name is the part of the debuggers users in the iis. and one more thing the debug = true option should be set in the web.config file. the tag is not recognized by the envt. for this error ' u set this code n check out
-
datagrid editinghi place the edit button code inside the next col. code and let me know. please send me the sample html code. for further assistance.