|
Hi Friends,
I have worked in many projects where we develop our own Login Pages. I have seen the Login Controls available in VS 2005. I have tried once but dropped. I have some questions about those controls.
1. What the use of those controls appart from UI?
2. Where authenticate themselves?
3. Is the data stored in DB?
4. If so, can I customize that DB?
If I get answers for the about questions, it would be nice to update myself.
Thanks
|
|
|
|
|
Hi Venkatesh,
(1) The use is greater functionality and yes also the UI.
(2) Login control authenticate the data in a DB. You can customize this DB or even create one from scratch.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
hi
i wanna put my login page in the client computer how come in my router network . i donot wonot give anybody internet facilty without my permission . and i donot want this thing using asp.net .if any body came in my router network the can get the access to come in the network but they cannot access internet but they get my login page .
i donot want to put password in ruter i want to control the access of internet through my srever.
|
|
|
|
|
biren61 wrote: i donot want this thing using asp.net
Ummm... Then why ask the question in the ASP.NET forum? It would seem to me to be the worst place to ask this question if you don't want to use that technology.
|
|
|
|
|
I am binding two template fields,with two buttons like edit and delete,with gridview.
Now during run time, I am binding a datatable with gridview.(say about 5 rows.)
Now,when i click on edit button,i want the rowindex of the clicked row.
I tried this by doing, gridView1.SelectedRow.RowIndex.
But it threw error only.
Please advice, that what may i do.
Thanks.
Muthu.G
|
|
|
|
|
johnmuthu wrote: I tried this by doing, gridView1.SelectedRow.RowIndex.
But it threw error only.
What is the error? If you don't explain what the problem is, it's unlikely someone is going to be able to help you find a solution.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Which event are you using to capture the Edit button's click?
|
|
|
|
|
Dear Programmer,
I am developing an application in ASP.NET using language VB.NET. I have
created two pages named Page1 and Page2.
On Page1 I have placed two textboxes to get input from the user and
also put a button. I want that the data which I input in the textboxes
placed on Page1 will be displayed on Page2.
Please tell me what shall I do to accomplish my task. You can tell me on this ID: zeeshan_st2003@yahoo.com
Waiting for your reply.
Your Friend,
Zeeshan Ahmad Memon.
|
|
|
|
|
you can pass data between pages in multiple ways:
1. store the data in session and then redirect (response.redirect or server.transfer) to the next page and access the data from session.
2. you can pass data in query string
3. you can set postbackurl for the button and then access the values from the previous page using Request.Form like:
<br />
in page 1 do this:<br />
<asp:Button ID="button1" Runat=server Text="submit" PostBackUrl="~/Page2.aspx" /><br />
<br />
and then on page 2 use<br />
<br />
string field1data = Request.Form("fieldfrompage1");<br />
<code><br />
<br />
4. you can access the previous page controls using PreviousPage.Controls.. <br />
<br />
<div class="ForumSig">-----</div>
|
|
|
|
|
In ASP.NET 2.0, you can use cross-page postbacks to accomplish this. Have a look at this article[^].
Zeeshan Memon wrote: You can tell me on this ID: zeeshan_st2003@yahoo.com
No. I answer questions on this forum for everyone's benefit, not just yours.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
What is the difference between membership and roles? As a newbie, I don't really see how/when you would choose one over the other, or both. Any info on this would be appreciated.
Thanks.
|
|
|
|
|
To answer shortly: membership refers to users, role to a group of users.
Consider to following scenario: a website has both registered users and editors. You assign the role 'User' for the former group, and 'Editor' for the latter. After that you can do authorization checks based on the users' role. Also if for example you hire a new editor and create a user account for him, you don't have to set his rights explicitly. Just add him to the 'Editor' role, and he'll have all the rights as any other editor.
|
|
|
|
|
I want to clone an sql 2005 table to another table how can I do that in asp.net 2.0 using VB can you help me plz
BiG RaLpH
|
|
|
|
|
1. We don't care if it is urgent.
2. Use plain English--not text speak.
3. Don't mix upper and lower cases. It's annoying.
|
|
|
|
|
Thank you for ur help
but I don't think that putting an ad on a post like that would help attract more bloggers.
thx anyway.
BiG RaLpH
|
|
|
|
|
You are not the type of person whom my blog is for.
My blog is for people with an IQ above 60. You do not qualify.
|
|
|
|
|
is it really for the ones that r above 60 that means u don't qualify either. at least I'm in the neighborhood of 60 u r in the neighborhood of 0 or -1 maybe.
BiG RaLpH
|
|
|
|
|
Start by getting a degree in genetics. Once you've got your degree, move onto the PhD, then once you've got that you need to get attached to a lab that specializes in table cloning. I know this isn't quite as fast as you want, considering it's UrGeNT, but you'll feel so much better in the end.
|
|
|
|
|
is that a joke or something
While You = not understand
if u = did that then
u = f***ed up
else
u = try new jokes
end if
end while
is that clear enough or should I repeat it slower.
BiG RaLpH
|
|
|
|
|
OK - perhaps if I explain it slowly to you, you might understand.
1. Don't put urgent in a title. All posts are urgent to somebody and this doesn't help you.
2. Learn to use google (or the search engine of your choice). I did this as a sample for you and got the following results[^].
3. Rather than curse at you or punish you for this, I gave you the benefit of the doubt and used a bit of humour. Obviously, it was way too subtle for you, so next time I'll resort to cruder humour. Perhaps you can cope with that.
Is that clear enough, or should I repeat it slower?
|
|
|
|
|
can u explain it slower with more details plz coz as u may have noticed I would rather waist ur time on thoughtless things.
if I had found what I wanted on google I would have used it and I wouldn't post it here for no good reason.
so next time if you can't help don't post anything it's better.
thank you for ur help.
but the results u posted don't help me. anyway thank you.
BiG RaLpH
|
|
|
|
|
I have thisclass:
Public Class Messageboard
Public Shared Function GetBoards() As ArrayList
Dim list As New ArrayList()
Dim sql As String
Dim myData As Data.DataSet
Dim myRow As DataRow
sql = "SELECT [BoardName] FROM [Board] ORDER BY [BoardName] Asc"
myData = DataControl.GetDataSet(sql)
For Each myRow In myData.Tables(0).Rows
Dim myBoard As Board
myBoard = New Board(CStr(myRow("BoardName")))
list.Add(myBoard)
Next myRow
Return list
End Function
End Class
And it is returning an error on Borardname
myBoard = New Board(CStr(myRow("BoardName")))
as too many argument to public sub new().
Can you hel please
|
|
|
|
|
Is there a constructor for Board that accepts 1 (string) argument? If not, you need to create one.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
this is my constructor:
Public Sub New(ByVal myrow As Data.DataRow)
inflate(myrow)
End Sub
the inflate function is defined separately, any hint
Private Sub inflate(ByVal myRow As Data.DataRow)
mPostID = CLng(myRow("PostID"))
mPostSubject = CStr(myRow("PostSubject"))
mPostBody = CStr(myRow("PostBody"))
mCreator = New User(myRow)
mPostDate = CDate(myRow("PostDate"))
End Sub
|
|
|
|
|
JMUREKEZI wrote: Public Sub New(ByVal myrow As Data.DataRow)
inflate(myrow)
End Sub
Your constructor accepts a single DataRow parameter. However in your first post, you were trying to call the constructor with a string value. Obviously you can't do this. Fix the code that calls the constructor to pass a DataRow object instead.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|