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





Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.club_web_site_starter_kit Tags:
Item Type: NewsGroup Date Entered: 12/7/2007 12:11:31 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 32 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
mm17498
Asp.Net User
adding a field to table memberinfo12/7/2007 12:11:31 AM

0/0

Please Help!!!!

I tried to follow meticulously the steps in the documentation for V3 Beta when adding Company to the table, did it 4 times and I am still getting this error:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30456: 'company' is not a member of 'ClubStarterKit.Data.MemberInfo.Columns'.

Source Error:

Line 50:                 qry.AddUpdateSetting(MemberInfo.Columns.Phone, Phone.Text)
Line 51:                 qry.AddUpdateSetting(MemberInfo.Columns.Newsletter, NewsletterCheck.Checked)
Line 52:                 qry.AddUpdateSetting(MemberInfo.Columns.company, company.Text)
Line 53:                 qry.Execute()
Line 54:                 ContactStatus.Text = "Details have been updated sucessfully."

Source File: C:\Visual Studio 2005\ACADZv3\member\Details.aspx    Line: 52



 

function OnToggleTOCLevel1(level2ID) { var elemLevel2 = document.getElementById(level2ID); if (elemLevel2.style.display == 'none') { elemLevel2.style.display = ''; } else { elemLevel2.style.display = 'none'; } }
zowens
Asp.Net User
Re: adding a field to table memberinfo12/7/2007 1:54:46 AM

0/0

Did you regenerate the SubSonic DAL?


Zack Owens

Coordinator for the ClubStarterKit (Open Source)
http://codeplex.com/clubstarterkit
mm17498
Asp.Net User
Re: adding a field to table memberinfo12/7/2007 7:57:51 PM

0/0

Yes I did, both creating the files at the default location (C:\...) then again in the current project folder (thinking that might help).

In comparing the steps in the doc for V3 beta vs V2, I notice the changes to App_Code/dataset.xsd (below) that is no longer in doc for V3. Is this step replaced by regenerating the subsonic DAL?  

Step 2: Configure DAL

  1. ? Now you need to open App_Code/DataSet.xsd
  2. ? Right click on the MemberInfo table adapter and select configure
  3. ? Change the text for the select statement to say

SELECT favoritecolor, newsletter, memberid, address, phone, firstname, lastname, DATALENGTH(avatar) AS AvatarSize FROM MemberInfo

 

zowens
Asp.Net User
Re: adding a field to table memberinfo12/10/2007 2:29:36 AM

0/0

Relook at the instructions... I thought I changed those to reflect v3.


Zack Owens

Coordinator for the ClubStarterKit (Open Source)
http://codeplex.com/clubstarterkit
mm17498
Asp.Net User
Re: adding a field to table memberinfo12/12/2007 5:29:00 AM

0/0

Hi Zack

Thanks for the help. Are the new instructions updated? I did not see any changes.

I tried again and I am getting the same error. Right after I edit Detail.aspx as indicated in the docs the added field is underlined in blue and when hoover it indicates that it is not part of the dataset. It does not come up again on the list of option as do the other field when adding the code. Perhaps a related question: does it matter where you generated the subsonic DAL files? I am currently generating in the same folder name in the root directory where the project is stored (not the default C:\actionpack...)

Thanks again.

mm17498
Asp.Net User
Re: adding a field to table memberinfo12/13/2007 10:40:41 PM

0/0

HI Zack

I am still unable to add a new field, do you have any more advice or can you direct me where I can get help?

Much appreciated.  

7 Items, 1 Pages 1 |< << Go >> >|


Search This Site:






Books:
Pro .NET 1.1 Remoting, Reflection, and Threading: From Professional to Expert Authors: Syed Fahad Gilani, Tobin Titus, Mike Gillespie, Fabio Claudio Ferracchiati, David Curran, James Hart, Benny K. Mathew, Sandra Gopikrishna, Andy Olsen, Tejaswi Redkar, Robin Pars, Jon Pinnock, Srinivasa Sivakumar, Pages: 647, Published: 2005
Visual Basic 2005: The Complete Reference Authors: Ron Petrusha, Pages: 874, Published: 2006
Object-oriented Programming with Visual Basic .NET Authors: J. P. Hamilton, Pages: 291, Published: 2002
Lingo in a Nutshell: A Desktop Quick Reference Authors: Bruce A. Epstein, Pages: 609, Published: 1998
Applied Microsoft .NET Framework Programming Authors: Jeffrey Richter, Pages: 591, Published: 2002
C# Cookbook Authors: Stephen Teilhet, Jay Hilyard, Pages: 831, Published: 2004
Microsoft Visual C# 2005 Unleashed Authors: Kevin Hoffman, Pages: 692, Published: 2006
Mastering Visual C# .NET Authors: Jason Price, Mike Gunderloy, Pages: 978, Published: 2002
C# in a Nutshell: a desktop quick reference Authors: Peter Drayton, Ben Albahari, Ted Neward, Pages: 897, Published: 2003

Web:
adding a field to table memberinfo - ASP.NET Forums Re: adding a field to table memberinfo. 12-06-2007, 8:54 PM. Contact ... Re: adding a field to table memberinfo. 12-07-2007, 2:57 PM ...
Add field to MemberInfo - ASP.NET Forums Is there anything that guides someone through asking the additional question and adding to the database? To date I've added a new field in MemberInfo called ...
Last.fm Widget in MEMBERINFO Template - vBulletin.org Forum Write down the Field ID (ie: field20), you'll need it in a few minutes. ... Edit the MEMBERINFO template:. Find the end of your table code, ...
Member Info | National Association of Therapeutic Wilderness Camping NATWC membership continues to be a low cost way to be “at the table” when networking ... We were established in the early nineties to represent the field of ...
Contentor - BBCode - Form Note that the memberInfo array is also used whenever a listing of members is ... To facilitate this, the "comment" field of the setup table is used to store ...
memberinfo [Wiki:NucleusCMS] Jul 3, 2005 ... Table of Contents. NP_MemberInfo. Installing. Available SkinVar ... The note field is just too short for some text about you. ...
SPR Member Info She founded and nurtured the field of neonatal hemostasis. ... Mentees - This list, presented as a spreadsheet or table, should contain the following ...
Serial #s for labels - Tech Support Guy Forums I cannot use an autonumber field to do this because the table already has ... you do not require all the member info just the ID as you can ...
Strategic Planning for Resource Sharing in Texas - Report There continued to be concern about adding school and special libraries to ..... Every community with a football field has a library;; TexShare surpasses ...
.NET Matters: XML Comments, Late-bound COM, and More Given the correct MemberInfo, you can use the MemberInfo. ... by looping over all properties and events in a Type, adding to the table all accessors found). ...











 
All Times Are GMT