所有文本框都显示重复声明的歧义错误。
txtWebsite.Text = result.website;
txtMgrEmail.Text = result.email;
txtToEmail.Text = result.email;
txtToMgrEmail.Text = result.email;
txtFax.Text = result.fax;
txtAddress.Text = result.address;
txtCity.Text = result.city;
txtState.Text = result.state;
txtZipCode.Text = result.zip;
txtNotes.Text = result.pnote;
if (txtMgrEmail.Text == "")
{
divEmailHistory.Visible = false;
gvwEmailHistory.Visible = false;
}
我再次生成了设计器文件,但仍然没有解决错误
Error 249 Ambiguity between 'MyCityEats.add_rel_man.gvwEmailHistory' and 'MyCityEats.add_rel_man.gvwEmailHistory'
Error 226 Ambiguity between 'MyCityEats.admin.add_rel_man.btnCall1' and 'MyCityEats.admin.add_rel_man.btnCall1'
所有声明的类似错误
文本框声明:
<asp:TextBox ID="txtNotes" runat="server" Width="343px" Height="80px"
TextMode="MultiLine" onchange="Javascript:saveMyValue('txtNotes');"
MaxLength="1000"></asp:TextBox>
答案 0 :(得分:0)