That's it! Thank you
--- In [email protected], Mark E <[EMAIL PROTECTED]> wrote: > Try chaning this: > > SQLParameter("@Cefund",frmcefund.RadioButtonList)) > > To this: > > SQLParameter("@Cefund",frmcefund.SelectedValue.ToString())) > > You are not correctly accessing the controls value. > > Mark > > ltrane923 <[EMAIL PROTECTED]> wrote: > > I'm getting this error, not sure what the problem is. > I am stating other controls the same way with no problem. > > > I have declared my radio buttons in my vb code: > Protected WithEvents frmcefund As > System.Web.UI.WebControls.RadioButtonList > > Here's the Error. > > "Compiler Error Message: BC30456: 'RadioButtonList' is not a member of > 'System.Web.UI.WebControls.RadioButtonList'." > Line 202:cmd.Parameters.Add(New > SQLParameter("@Cefund",frmcefund.RadioButtonList)) > > > and here's the buttons in my aspx page > <asp:radiobuttonlist id="frmcefund" runat="server"> > <asp:listitem id="option1" runat="server" value="Yes" /><asp:listitem > id="option2" runat="server" value="No" /> > > > Thanks > > > > > > > > --------------------------------- > Yahoo! Groups Links > > To visit your group on the web, go to: > http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > > [Non-text portions of this message have been removed] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
