locked
insert data in textbox RRS feed

  • Question

  • User723040374 posted

    hello,

    i am using microsoft visual web express.

    how can i add data from a access database into textboxes (ea. field 1 must fill up textbox1 etc...).

    i want this to be done automaticly when the users goes to this .aspx page.

     thank you.

     

    Tuesday, November 25, 2008 6:41 AM

Answers

  • User1746709538 posted

    you could do many things, but if you are talking about a VB 6.0 like page where you keep the controls and "DataBind" them...You can use Formview

    See

     http://aspnet.4guysfromrolla.com/articles/050207-1.aspx

    for more explanation.

    Other controls like gridview, repeater and detailsview are also options

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 25, 2008 8:32 AM

All replies

  • User1746709538 posted

    you could do many things, but if you are talking about a VB 6.0 like page where you keep the controls and "DataBind" them...You can use Formview

    See

     http://aspnet.4guysfromrolla.com/articles/050207-1.aspx

    for more explanation.

    Other controls like gridview, repeater and detailsview are also options

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 25, 2008 8:32 AM
  • User585649674 posted

    Use a connection string, establish a connection for access DB u have to use OLEDB. Write a query to retrun d data, populate d returned result in textbox.

    Tuesday, November 25, 2008 8:46 AM
  • User-821857111 posted

    Have a read up on some tutorials: http://www.maconstateit.net/tutorials/ASPNET20/default.htm

     

     

    Tuesday, November 25, 2008 2:59 PM