Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 25th, 2005, 05:24 AM
Authorized User
 
Join Date: Jun 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default Custom data adapter

How do I override these methods to use my data from database?


public override string GetUserDisplayName(string uniquename)
 Return user's display name.

public override string[] ListUserUniqueName()
 Retrieves all the user's unique names in the database.

public override bool IsAdministrator(string useruniquename)
 Check the user is an administrator or not.

public override string[] SearchUserUniqueNameByDisplayName(string name)
 Return an array of user names containing the input string.

public class MyUserAdapter : CuteSoft.Chat.UserAdapter { }

public override string GetUserUniqueName(System.Web.HttpContext context)

I need to use my database "MainDB" table "UserInfo" and username column "Username", Password column "Password" so that all my website members are able to use the application using their existing logins.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my custom adapter SinStereo Biztalk 1 March 23rd, 2006 06:17 AM
Problem inserting with data adapter cridley ADO.NET 1 February 22nd, 2005 05:02 PM
Data Adapter k_kosaraju ADO.NET 1 October 31st, 2004 09:51 AM
SQL Data Adapter jbenson001 ASP.NET 1.x and 2.0 Application Design 6 December 18th, 2003 12:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.