now when I run my program, I get error and this page pops up: InitAdapter in AppCode.5j5w68_v.7.cs
1) where is this file located?
2) I see the InitAdapter() doesn't create my new cols, variables. Must I do this manually or can I automate it some how?
3) columns, fxns were automatically set up in this file, i.e
private System.Data.DataColumn columnwebsite;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn plugColumn {
get {
return this.columnplug;
}
}
Then this part I don't understand b/c they are Nullable columns, I was expecting just accessor methods
ie. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool plug {
return this.IsNull(this.tableMemberInfo.plugColumn);
}
BUT I got accessor and modifier methods checking and throwing exception if the column was null
ie
throw new System.Data.StrongTypingException("The value for column \'AvatarSize\' in table \'MemberInfo\' is DBNull.", e);
gt6974a
Member
52 Points
36 Posts
InitAdapter in AppCode.5j5w68_v.7.cs
Jun 28, 2006 05:54 AM|LINK
First can someone explain the difference b/t these two?
Now.......................
All variables, txtfields are labeled correctly and set up in the .aspx file MemberDetails.aspx
InitPageData() was set up to add the new variables, columns
DataSet.MemberInfoRow mr = dt[0];
...
...
...
website.Text = mr.website
now when I run my program, I get error and this page pops up: InitAdapter in AppCode.5j5w68_v.7.cs
1) where is this file located?
2) I see the InitAdapter() doesn't create my new cols, variables. Must I do this manually or can I automate it some how?
3) columns, fxns were automatically set up in this file, i.e
private System.Data.DataColumn columnwebsite;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn plugColumn {
get {
return this.columnplug;
}
}
Then this part I don't understand b/c they are Nullable columns, I was expecting just accessor methods
ie. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool plug {
return this.IsNull(this.tableMemberInfo.plugColumn);
}
BUT I got accessor and modifier methods checking and throwing exception if the column was null
ie
throw new System.Data.StrongTypingException("The value for column \'AvatarSize\' in table \'MemberInfo\' is DBNull.", e);
thx