Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
G

gaurabmani

@gaurabmani
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • asp.net database connection error
    G gaurabmani

    I have problen connecting to the access database through asp.net, this is the page load code i have already set the connection strings through the design views... private void Page_Load(object sender, System.EventArgs e) { oleDbConnection1.Open(); oleDbDataAdapter1.SelectCommand.CommandText="select country from players"; dataReader=oleDbDataAdapter1.SelectCommand.Execute Reader(); while(dataReader.Read()) { nameList.Items.Add(dataReader.GetString(0)); oleDbConnection1.Close(); } } i got an error c:\inetpub\wwwroot\dropdown_database\WebForm1.aspx .cs(32): The name 'dataReader' does not exist in the class or namespace 'dropdown_database.WebForm1' c:\inetpub\wwwroot\dropdown_database\WebForm1.aspx .cs(33): The type or namespace name 'dataReader' could not be found (are you missing a using directive or an assembly reference?) what it means and how i can overcome this problem ??

    ASP.NET help csharp asp-net database design
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups