CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 8/7/2007 9:07:20 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
Jonas_G
Asp.Net User
I need a step-by-step tutorial on the sqltableprofileprovider8/7/2007 9:07:20 AM

0/0

Hi

I'm trying to create a system for user accounts to login to certain parts of my site. I have done it before creating everything from scratch in classic ASP, but found the providers in ASP.NET very useful.

However the built-in ready to go provider doesn't have the user information in a neet table like i want, but the sandbox project sqltableprofileprovider does have exactly that.

But, i'm afraid i can't seem to figure it out on my own, so a little help from you guys would be highly appreciated. I'm using VB and i have seen that there is an adoptation of the code for VB.

http://www.jbwebtech.net/Code/ProfileProvider/

- what do i need to add in the web.config?

-which tables to i need to add in my DB?

-what files should be placed where (i.e in the App_code folder and so on)

- If i want my users to store information about their cat's or dog's name, what and where do i need to change in the code to add that field?

All help extremly welcome 'cus i'm stuck and i really like this provider Cool 

/jonas

Nai-Dong Jin -
Asp.Net User
Re: I need a step-by-step tutorial on the sqltableprofileprovider8/9/2007 8:23:23 AM

0/0

Hi,

I think this is a problem related with custom profile properties.

You can use the attribute called inherits on the <profile> element. This attribute instructs ASP.NET to autogenerate a class for the Profile property by inheriting from a custom base class. You can write your class which inherits from ProfileBase and save it in App_Code directory.Any public properties defined on a custom base class are visible and useable from the Profile property. You may visit the following material which is a step-by-step tutorial on custom profile setting.

http://quickstarts.asp.net/QuickStartv20/aspnet/doc/profile/default.aspx  Defining Profile Properties with a Custom Base Class

http://quickstarts.asp.net/QuickStartv20/util/srcview.aspx?path=~/aspnet/samples/profiles/ProfileSchema.src Profile schema in Web.Config

Hope that helps. Thanks.


Sincerely,
Michael Jin.
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
ASP.NET 2.0 SQL Table Profile Provider Released Today - ScottGu's Blog ... code tell me what might be wrong and maybe step by step how to fix it? .... It looks like we are going to need item level security on several of our web ...
Problem with SqlTableProfileProvider - ASP.NET Forums One such custom value is the GUID of the Broker indicated in step 1. Hopefully this paints a clearer ... Re: NEED HELP! SqlTableProfileProvider (Repost) ...
Example project needed - VWD, SQLtableprofileprovider, and custom ... I've got a project in which I really need to use custom property types ..... AllowReturn="False" Title="Step 2: Assign User To Roles" ...
ASP.NET 2.0: Manage Web Users With Custom Profile Providers For this application to be used with the SqlTableProfileProvider, I'll create a ... The new step will ask the user to submit values for each of the profile ...
Overlapping of Report items in renderers(HTML and Excel) - SQL ... IsNullOrEmpty(name)) name = "SqlTableProfileProvider" ; if ( string . .... My CLR stored procedure is screwy At one seemingly inoccuous step in my CLR ...
Web parts and Form based authentication using SqlMembershipProvider Jul 5, 2008 ... Step-1: Customizing the SqlMembershipProvider in Web.config file:- .... Now, we will implement web parts in this project, we no need to run ...
Jim Minatel's Wrox Book Editor Blog ASP.NET, XML, CSS, Ajax, PHP ... Jun 15, 2006 ... I am trying to use the SqlTableProfileProvider to store Guids and ... As a final step before posting your comment, enter the letters and ...
cmd.ExecuteNonQuery question..help please ExecuteNonQuery" and another file SqlTableProfileProvider for a SandBox ... ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 ...
How Do I Access the Profile of a Different User Directly in C# ... NET page, provided that the AutomaticSaveEnabled property is set to True , but with this code, you need to call it yourself. The final step is to retrieve ...
cmd.ExecuteNonQuery question..help please - SQL Server - Index My CLR stored procedure is screwy At one seemingly inoccuous step in my CLR .... ExecuteNonQuery" and another file SqlTableProfileProvider for a SandBox ...




Search This Site:










sql script to copy an existing portal & module contents to a new portal

setting tabstrip tabindex??

login on to exchange server from asp.net

alignment of solpart menu

aspnet_users and users tables

help needed with a function

dragdroplist and profileservice

3.0.11 tree control menu green vertical skin

problems updating information

store front

non adsi/ldap way to unlock user?

accessing a xml file on another iis server

out of range date...

going from one custom module to another customer module

unrecognized browsercaps problem

designer window html row heights not correct

multilanguage question in dnn 3.0.12

returning to the page before

new 1.0.10e installation - all is fine....except

how do you make a footer (table row) stay at the bottom of the page

how to install dnn manually, when i can not got enough database permission?

analysis server 2000

windows 2003 licensing

what's useful and what's fluff?

global function?

org chart - membershipuser.isonline

logout from club kit

connect to remote database

datatable question

how to set the starting page and debugging in the class application ?

 
All Times Are GMT