Browse by Tags

Related Posts

  • PostBackUrl and "Insert"

    When a user submits data in a form, I want to tell the user that the information has been saved to the database. But when I use the PostBackUrl="~/success.aspx", the data is not written. However, it works without the PostBackUrl. For example: <asp:Button ID="InsertButton1" runat...
    Posted to Web Forms (Forum) by steldingc on 07-09-2007, 12:00 AM
    Filed under: PostBack, postback data expiration, postback event handling, postBackback postbackurl, postbackurl, 2.0, asp .net 2.0, ASP.NET, data entry insert auto, Database, .aspx.vb, form, ASP.NET 2.0
  • [Inserting data from form]How to change value of TextBox before inserting it into database by FormParameter?

    How to change value of TextBox before inserting it into database by FormParameter? Here is test script. I would like to create script which add "ok" to value of TextBox with ID="name_pl" and then insert it to database using FromParameter. For example, when I write "let"...
    Posted to Access Databases and AccessDataSource Control (Forum) by szmitek on 07-03-2007, 12:00 AM
    Filed under: Odbc, stored procedure, textbox, values, AccessDataSource INSERT problem, c#, data access, database, date, formparameter, mdb, Access Database, form
  • There's always an easier way.

    Hello All, Right now I am getting ready to write an onSubmit handler. In the event handler, I would like to write a function that: - validate some information in a text box Should be 'RO' + 6 numbers(ex. RO152465) - builds a SQL query based on checkboxes selected and then the values that are in the drop...
    Posted to Web Forms (Forum) by dohertyk on 04-24-2007, 12:00 AM
    Filed under: radio button, SQLDataSource, TextBox, Valdiation Controls, Validators, vb.net, View, visual studio, <%@ Page Language="VB" %>, "Asynchronous Operation", .net, 2.0, asp, ASP.NET, ASP.NET 2.0 Ajax Control Toolkit Ajax Tab Control, ASP.NET 2.0 VB.NET, ASP.NET 2.0 webform, aspx, Beginner, codebehind, CustomValidator, Database, DataGrid, DropDownList, dropDownList radiobuttonlist, event, event handlin, event validation, events, Webforms, IIS, validation, form, SQL SERVER, submit, validate, validation Controls, ASP.NET 2.0, ASP.NET 2.0 IIS, Button Event OnClick
  • problem with retrieving/displaying data based on form input

    Hi, I've developed a form which accesses a database through a data layer and sends parameters based on the form input. I have written the following code which works by checking if the textbox is empty and passing a null value as a string to the search parameter in the query, of which there are five:...
    Posted to Data Presentation Controls (Forum) by tomosap on 02-22-2007, 12:00 AM
    Filed under: Null, parameter, problem, querystring, records, rows, search, sql, sqldatasource, string, table adapter, textbox, Updateparameters, VB, access database, ADO.NET, ASP.net 2.0 GridView InsertParameters ControlParameter PropertyName, data, data access layer, database, databinding, datasource, If Statement, method, SELECT, FORM, GridView, label, GridView asp.net
  • setting empty text box input on form to null parameter for sql

    Hi, I'm pretty new to ASP.NET and VB, but I'm working on a project which is essentially a staff directory. Using VS 2005, I've setup a basic grid view which connects to an object which connects via a data layer to a SQL database with Name, Surname, Email, Extension No and Department fields. I have it...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by tomosap on 02-19-2007, 12:00 AM
    Filed under: mysql, Null, rows, specific record, sql, sqldatasource, string, table adapter, textbox, VB, data access layer, database, datatagrid navigarion paging style, dataview, If Statement, SELECT, FORM
  • How to display data in Uppercase in some Datagrid columns?

    In some of the columns on my datagrid the data are displayed in mixed cases; some data are "all Caps" (all upper case letters), some are in "Title Case" format (Capitalized frist letter followed by lower case letters), while other are in lower case (this is the way they are stored...
    Posted to Web Forms (Forum) by sg2000 on 10-22-2006, 12:00 AM
    Filed under: c#, form, ASP.NET 1.x, Database
  • ASP.NEW Web Drop Down List flicker effect

    I have 4 different dropdown lists (DDL's) on my Web form that are linked together. When you select a value on the first DDL, the other 3 DDL's will change values according to the selected value on the first DDL; when you select a value on the second DDL, the other 2 DDL's will change values...
    Posted to Web Forms (Forum) by sg2000 on 10-20-2006, 12:00 AM
    Filed under: asp.NET 2.0 C#, DropDownList, form, DataBind DataBinding, ASP.NET 1.x, Database, create web form
  • Text Box Does Not Update New Values

    When I load the page, it takes the values from the DB and puts them into the fields, but when I change the text box values and submit the page, the values submitted are actually the old values, not the changed values. How can I keep the new values and pass them to the query? Here's my code: [CODE...
    Posted to Web Forms (Forum) by ephemeral on 07-22-2009, 12:00 AM
    Filed under: form, Database, controls, text box
  • Persisting form fields to dB

    Hi, I have forms and I am crrently using Session to save the data. But I want to save every field that user enters into a db. Is there any existing feature in asp.net that I can use. The user should be able to come to any form ( using next/ previous buttons) and change any value ( this change should...
    Posted to Data Access and ObjectDataSource Control (Forum) by aneasytorememberid on 10-20-2009, 12:00 AM
    Filed under: State management, database, form
Page 1 of 1 (9 items)