Showing related tags and posts accross the entire site.
-
here's the sql script to create the table... Only EmployeeID field or the Ntlogin field is needed and should be a foreign key to the employee table CREATE TABLE [dbo].[tbl_Profiles]( [ProfileID] [int] IDENTITY(1,1) NOT NULL, [SystemID] [int] NULL, [EmployeeID] [int] NULL, [Ntlogin] [varchar](8) COLLATE...
-
Here's the data access class to go along with this... public static class ProfileDA { public static DataSet GetProfileData(string ntlogin, string systemName) { StringBuilder sb = new StringBuilder(); sb.Append("SELECT p.PropertyName, p.StringValue, p.BinaryValue "); sb.Append("FROM...
-
here's a custom implementation of the asp.net profile provider working with the system.web.profile namespace public class AsteryxProfileProvider : ProfileProvider { public AsteryxProfileProvider () { } public string UserName { get; set; } public override string ApplicationName { get { return AppSettings...
-
Apparently the profile provider only works with asp.net websites and not asp.net web application projects in visual studio. Here's an article explaining why... http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx Appendix 2: Migrating Code that works with the ASP.NET 2.0 Profile Object...