Click here to Skip to main content
16,013,207 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDropdownlist problem as DataGrid Control Pin
param thaker22-Nov-06 20:07
param thaker22-Nov-06 20:07 
AnswerRe: Dropdownlist problem as DataGrid Control Pin
_AK_22-Nov-06 21:02
_AK_22-Nov-06 21:02 
QuestionHow to use google earth from my web application? Pin
Guru_yogi22-Nov-06 19:41
Guru_yogi22-Nov-06 19:41 
Questionfile copyi from one machine to another in asp.net Pin
Guru_yogi22-Nov-06 19:36
Guru_yogi22-Nov-06 19:36 
Question"placing image on webform" Pin
ravikiranreddydharmannagari22-Nov-06 19:21
ravikiranreddydharmannagari22-Nov-06 19:21 
Questionlistbox [modified] Pin
kavithapuranik22-Nov-06 19:00
kavithapuranik22-Nov-06 19:00 
Questionexcel properties Pin
yesu prakash22-Nov-06 18:08
yesu prakash22-Nov-06 18:08 
Questionasp.net database connection error Pin
gaurabmani22-Nov-06 18:02
gaurabmani22-Nov-06 18:02 
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 ??

AnswerRe: asp.net database connection error Pin
Anshuman Singh22-Nov-06 18:19
Anshuman Singh22-Nov-06 18:19 
AnswerRe: asp.net database connection error Pin
arung_7322-Nov-06 18:50
arung_7322-Nov-06 18:50 
QuestionTreeview Selection Pin
dj.rock22-Nov-06 17:52
dj.rock22-Nov-06 17:52 
AnswerRe: Treeview Selection Pin
dj.rock22-Nov-06 19:39
dj.rock22-Nov-06 19:39 
QuestionHow to store word documents in sql server using ASP.Net 2.0?? Pin
kvPriya22-Nov-06 17:42
kvPriya22-Nov-06 17:42 
AnswerRe: How to store word documents in sql server using ASP.Net 2.0?? Pin
Anshuman Singh22-Nov-06 18:23
Anshuman Singh22-Nov-06 18:23 
GeneralBut, my file size may be upto 3 MB Pin
kvPriya22-Nov-06 22:20
kvPriya22-Nov-06 22:20 
GeneralRe: But, my file size may be upto 3 MB Pin
Guffa22-Nov-06 23:30
Guffa22-Nov-06 23:30 
QuestionDataGrid Pin
Uma Kameswari22-Nov-06 17:40
Uma Kameswari22-Nov-06 17:40 
AnswerRe: DataGrid Pin
_AK_22-Nov-06 21:03
_AK_22-Nov-06 21:03 
AnswerRe: DataGrid Pin
Kapil Thakur23-Nov-06 0:52
Kapil Thakur23-Nov-06 0:52 
AnswerRe: DataGrid Pin
saravanan0523-Nov-06 6:20
saravanan0523-Nov-06 6:20 
QuestionHow can I change Form id when using form with master pages in asp.net 2.0 [modified] Pin
BalasahebK22-Nov-06 17:34
BalasahebK22-Nov-06 17:34 
Questionhow to take print out only part of a page Pin
yogita charhate22-Nov-06 17:10
yogita charhate22-Nov-06 17:10 
AnswerRe: how to take print out only part of a page Pin
ozoid27-Nov-06 6:29
ozoid27-Nov-06 6:29 
QuestionDeveloping webiste like YouTube Pin
hasanali0022-Nov-06 10:58
hasanali0022-Nov-06 10:58 
AnswerRe: Developing webiste like YouTube Pin
Rashid Javed Ansari16-Apr-09 2:54
Rashid Javed Ansari16-Apr-09 2:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.