in my project i kept two forms if i click the first form submit button it will transfer to second page if i click the second page submit button it will transfer to first page . SO WHAT I NEED IS
1. I WANT TO KNOW HOW MANY RECORDS THEY ARE ENTERING i.e IF THEY CLICK THE SECOND PAGE SUBMIT BUTTON THEY COMPLETED ONE FORM I WANT TO MAINTAIN A COUNTING .
I'M NOT GETTING ANY IDEA IF U EXPERTS HAD SOME IDEAS TELL ME WITH CODING.
I am working on a form which displays information about orders. Each order has a unique id, but they are not necessarily sequential on the form. Also, the number of fields can vary (one field per row on the form). The input into the form will not be mapped straight into the database, but will be added to the current value in the database, and then saved. An example of the form is in the picture below - the callout on the right shows the id for each row.
I know how to generate the form like this, but I can't work out how I can easily process each of these rows reliably. I also know how to give each of the fields a unique identifier, like name="order-23" or name="order[23]", but how can I translate that name so that I can update the related record in the database?
I have an ambitious requirement for an asp.net 2.0 web page that contains a table (gridview), and each row in the grid contains 6 select (dropdown) controls for data entry. The number of rows that will be displayed is dependent upon the user's search parameters, which are specified in another area of the page. Unfortunately, with the default (and even basic) search parameters specified, the grid could contain several hundred rows. I've noticed that the browser, in this case IE8, starts behaving rather erratically once I reach a large number of rows -- no documented evidence for the number of rows where this begins to be a problem. For example, trying to view the source of the page results in a message from IE stating that there was a problem with the page that forced the browser to reload it, and I never get the source. Obviously the page loads and renders rather slowly also.
I know that my solution is probably going to involve paging the gridview such that it only displays 20 or so rows per page, and I'll have to write code to handle the saving of changes in the dropdown values when the user changes pages. I can probably turn off viewstate on the gridview also. However, the question I really want to pose is this -- has anyone seen a documented rule indicating the maximum number of input controls that an HTML browser form is supposed to be able to contain? I could not find anything on the Internet after doing a search, and I suspect the answer may be whatever the browser can handle based on the machine configuration it is running on. Any rules of thumb you use?
I have a form for the user to add a Contact's details. Within this form I have fields to enter telephone, mobile, fax numbers etc.
Each have a separate textbox for country code, area code and number. Basically, what I want to do is have validation on these fields so that all or none of the textboxes are filled.
So if the user just adds a number in they are required to enter also the country code and the area code. Or if they don't enter any of the details then the validation will not kick in.
I want to generate a unique random number everytime a user submits a form. As the form is submited the data of the form should be placed in a database and a unique random number should be generated so that the user can later use this unique random number to reterieve his details from the database that refer to his unique random id. The unique random number should be atleast 9 digits long.
I have to make a login form using vb.net. The login form should either accept
Username ID or
Email ID or
Phone number
---- either of one ,and match it with the password of the corresponding record in the user table.
The user table has following column:- U_ID(varchar),mail(varchar),Phone(Number),Password(Varchar)
The form has two textfields - 1. Username
2.Password
And a submit button. If combination is correct I should be redirected to the Index page.
But I don't have to scan through all the columns of the user table to match the password.
(a)If the user enters user_id say- ID 10012 then we should be able to search only the record in the user_id column as it has alphanumeric or varchar data type and match with corresponding password.
(b)If the user enters Email id we should be able to search through the email id column as email id contains "@ and ." sign.
(c)If the user enters phone number then we should search only the phone column as it has numeric datatype.
I'm pretty new at ASP .NET but not to ASP. I've got a form I need to create where I don't know how many entries will be added. It has the following format:
"Age" "Duration" "Period of Duration" "etc..."
Last30Days
1-5 Months ago
6-11 Months ago
Age
Age
Age
etc.
So the Age column always has the first 3 options and then an unknown number of Age values that can be inserted. I've created a table that has the first four fields (Last30days, 1-5months, 6-11months, age) and I was thinking I could just order by those 4 columns for display. The problem I have is I'm not sure on how to proceed. Does anyone have any good ideas on how to handle this situation? Ideally data entry people could use the same form for both entering and displaying the data.
I am working in a school and we recently installed a new server running WinServer 2008R2. I want to be able to point people to a URL on our intranet and have them fill out a simple registration form and have this data written to a database. It would also be nice to have some data auto-populate (such as their name).
Is it overkill to set up a sharepoint server and try to do this with Access Webforms? Could I use something like dotnetnuke and find a module that works? Or how about options for writing custom forms?
I have a page with a ScriptManager / UpdatePanel. I currently need to PostBack to a https page from an http page (different ports). I also need the same session data. Currently, I copy my form to a new form, and when I postback to my new Target on a new Port, I get a crash in xmlHttp..something. I will have to post more details later.
I'm currently wondering if this is possible. And does anyone know of such a fix. I even tried to Turn off Partial Rendering and I still get crashes. I can't do this until I pull out the scriptManager / UpdatePanel.
i have created loing form and create user form. then how to apply login rights..? i have 2 types of user. admin and normal user admin can move and use all pages while normal user can acces limited pages.
I have a web form called default.aspx which has a form with user information. In addition to this, I have an iFrame on the same page that displays a page Secondary-Form.aspx that has a few additional dynamic data fields. I need to do two things.
1. I need to pass the parent form data in real time to the iFrame page to refresh its content and modify it's fields accordingly. Example: If the user submits their Vehicle Choice as Car on parent form, the form item in iFrame will display a radio button that says Honda, and if the user submits their Vehicle Choice as MotorCycle in the parent page, the iFrame will display Harley Davidson as the radio button choice
2. The submit button is on the parent page. I want both pieces of this information (from the parent page, as well as iFrame selection) to be passed to a server side ASPX page to process this information.the default.aspx and Secondary-Form.aspx files are located on different domains.
I want to show the admin pages only after logging in a form with username and password and also want to logout from the admin pages, if in the browser history select a admin page after logout it should not be shown
I am creating a Payment request form that my customers are going to fill out and submit so they get paid I would classifi it as an invoice. Does any one have any examples or point me to a good place to read about creating this type of form and the database tables to support the application?
The form will basically have some fields they will fill in for the header then in the related stuf come charge amounts with there types aka partnumbers of sorts and also the ablity to put in there own types / aka partnumbers and there amounts. I wont be housing any amounts they will supply all the information of payment amounts and types.
I have a web form where I define an array of type struct and I redirected it in the <script runat="server"> section of the second web form. But when I use that array below, in the <script type="text/javascript"> section in the html code of the same web form an error occured in the for cycle saying that the array (Array1) is undefined, and also the counter which I also defined in <script runat="server"> section.
I have this code in the <script runat="server"> section of the second web form:
public struct Point1 { public float lat; public float long1; } protected void Page_Load(object sender, EventArgs e) { //Retreive from session Point1[] Array1 = Session["s1"] as Point1[]; //Run a Foreach loop int nCnt = 0; foreach (Point1 p1 in Array1) { float x1 = p1.lat; float y1 = p1.long1; nCnt++; } } and in the <script type="text/javascript"> section I have: var for (var i = 0; i < nCnt; i++) { lineString.getCoordinates().pushLatLngAlt(Array1[i][0], Array1[i][1],0); } lineString = ge.createLineString(''); lineStringPlacemark.setGeometry(lineString);
i need a pop up form in asp.net 3.5 like by clicking a button a small pop up form should appear with some controls after entering data that form should disappear and that values should reflect on main form.
I need to develop web application. In my application  i have transaction form. Like sales invoice contains 2 tables,header table and detail table. In my web form i should have gridview, in that gridview user should enter data's and save it to the detail table.
Previously form id in child pages was aspnetform,suddenly now the id has changed to form1, now the problem is there are lots of script used with reference to id aspnetform and they are giving error. So i want to change or override the form1 name to aspnetform to make it work again