CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Good WEB DB sample...

    Does anyone have a link to a really good generic ASP.NET sample for accessing an arbitrary database. Basically my goals are:

    1) Text box for connection string
    2) Text box for query string

    Once these two are provided the "code-behind" should open the connection, execute the query and display the results in an editable grid.

    The "hard-coded" material should make no assumptions about the data. It is safe to assume that every table has a primary key...

    A simple connection would indicate the provider (typical Jet 4.0) and a wild card select <select * from [tablename];>. The user should then have full editing capability (including add and delete)

    I am specifically looking for a solution that can be implemented as a .NET web page (ASP.NET).

    Thanks in advance.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868
    You might look thru the 101 - Samples MS has put out on the VB homepage: http://msdn.microsoft.com/vbasic/dow...es/default.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured