locked
Txtbox input to access database RRS feed

  • Question

  • User-1282072105 posted

    Hello everyone,

    i need ot make a project for school in c# asp.net web site,

    i need to connect an txtbox that the input there will be added to me (already ready) access database.

    i remember the Teacher saying somthing about first use the "gridview" and connect it to the databse, but then i dont remember that to do in the code to connect it, and now some one is tellnig me to not use it like it and use a "Wizard link" to the databse... im going crazy here

    what is the simplest way to make this connection ?

    Saturday, January 12, 2013 6:21 AM

Answers

  • User3866881 posted

    what is the simplest way to make this connection ?

    Hi,

    Just drag and drop a GridView onto the WebForm, and then choose an AccessDataSource to bind to an Access file as its DataSource and then it will show all of the data contents from the table.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, January 14, 2013 1:15 AM

All replies

  • User1027872733 posted

    http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/sqldatasource.aspx

    Saturday, January 12, 2013 6:26 AM
  • User-1716253493 posted
    use net 3.5 and use accessdatasource
    Saturday, January 12, 2013 6:35 AM
  • User3866881 posted

    what is the simplest way to make this connection ?

    Hi,

    Just drag and drop a GridView onto the WebForm, and then choose an AccessDataSource to bind to an Access file as its DataSource and then it will show all of the data contents from the table.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, January 14, 2013 1:15 AM