No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm trying to develop a little game and I have run into a problem. Currently I have the user log in, choose their character, and then go to a page where they can fight random monsters. When they get to the page to fight with the random monsters, the character's … |
|
I have a checkboxlist and I need to know how I can send the values of all checked items to a text file. I already have other controls on the form sending their values to my text file, but I don't know how to get the values of the checked … |
|
How can I write an event that does a specified calculation when an option is selected that the submit button is selected? Say I have the following code: [code] <form id="form1" runat="server"> <div> <asp:DropDownList ID="DropDownList1" runat="server"> <asp:ListItem>Go swimming</asp:ListItem> <asp:ListItem>Play sudoku</asp:ListItem> <asp:ListItem>Practice piano</asp:ListItem> <asp:ListItem>Play solitaire</asp:ListItem> </asp:DropDownList> <br /> <br /> <asp:Button … |
|
Can anyone help me with why my insert statement won't work? I have tried countless tutorials online, but I cannot figure out what I am doing wrong. Can anyone point me int the right direction here? Here is my form: form: [code] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="form.aspx.cs" Inherits="_form" %> <%@ … |
|
I have the following form, but my data is not getting inserted into my database. Can anyone help? [code] <%@ Page Title="Dorknozzle Help Desk" Language="C#" MasterPageFile="~/Dorknozzle.master" AutoEventWireup="true" CodeFile="HelpDesk.aspx.cs" Inherits="HelpDesk" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <h1>Employee Help Desk Request</h1> <asp:Label ID="dbErrorMessage" ForeColor="Red" runat="server" /> <p> Station … |
|
How can I add a value to what displays from a function in my class when a user chooses an option from my drop down menu? Here is my drop down menu: [icode] <select id="dd"> <option>Red</option> <option>Yellow</option> <option>Green</option> </select> [/icode] Then here is my class: [icode] <script runat="server"> Class PetName … |
|
I have the follow script, and I would like to know how I can assign the values from my select options list to my class so that when the user selects an option from the color and gender option lists, that the suggested name is output to the user. I … |
|
I have the following pages, but on the verify page, it is saying these are not defined: [icode] content = "Name: " + result.FName + "<br>" + "E-mail: " + result.EmailOption + "<br>" + "Gender: " + result.GenderOption [/icode]<br> Here are the pages: addentry.aspx: [code=vb] <%@ Page Language="VB" ClassName="SenderClass" debug="true" … |
|
I have the following pages: UserForm.aspx: [code=vb] <!-- UserForm.aspx --> <%@ Page Language="VB" ClassName="SenderClass" %> <script runat="server"> ' Readonly property for name Public ReadOnly Property Name() As String Get Return USerName.Text End Get End Property 'Readonly Property for phone Public ReadOnly Property Phone() As String Get Return UserPhone.Text End Get … |
|
I was wondering if anyone can help me with this. I want to have a form that the user fills out, then when they submit it, it displays the values on the page in a summary with two buttons: Submit and Cancel. The Submit button directs the user to the … |
|
Is there a way to have a hash table as a select list that, when the user selects an option, it populates a paragraph for that option in a label? I have the code that displays the selected item's value, but I don't know how to add a paragraph or … |