Click here to Skip to main content
15,922,696 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Simple but confusing ASP .NET /javascript question Pin
Christian Graus14-Apr-08 11:19
protectorChristian Graus14-Apr-08 11:19 
GeneralRe: Simple but confusing ASP .NET /javascript question Pin
Mohammad A Gdeisat14-Apr-08 11:38
Mohammad A Gdeisat14-Apr-08 11:38 
QuestionHow To Store a File in Database Using FileUpLoad web control Pin
ArunVijay14-Apr-08 7:49
ArunVijay14-Apr-08 7:49 
AnswerRe: How To Store a File in Database Using FileUpLoad web control Pin
Mark J. Miller14-Apr-08 8:37
Mark J. Miller14-Apr-08 8:37 
QuestionDataReader throws exception Pin
jamie21cor14-Apr-08 3:35
jamie21cor14-Apr-08 3:35 
GeneralRe: DataReader throws exception Pin
Herman<T>.Instance14-Apr-08 4:04
Herman<T>.Instance14-Apr-08 4:04 
GeneralRe: DataReader throws exception Pin
jamie21cor14-Apr-08 4:20
jamie21cor14-Apr-08 4:20 
GeneralRe: DataReader throws exception Pin
Herman<T>.Instance14-Apr-08 4:32
Herman<T>.Instance14-Apr-08 4:32 
Got the Error:

You us e a DataReader object instead of a DataTable object.
The reader will give up data per row until there is no more to give.
After loading a datareader you ask 2 things
if (moSqlDataReader.HasRows)
{
WHILE (moSqlDataReader.Read())
{
// your code here
}
}

in your case it is better to do a
DataSet dSet = new DataSet();
SqlDataAdapter adapter = new SqlDataAdapter("Query", con);

adapter.SelectCommand.CommandType = CommandType.Text;
etc ..
adapter.Fill(dSet);
GeneralRe: DataReader throws exception Pin
eyeseetee14-Apr-08 4:33
eyeseetee14-Apr-08 4:33 
GeneralRe: DataReader throws exception Pin
Soumini Ramakrishnan14-Apr-08 19:35
Soumini Ramakrishnan14-Apr-08 19:35 
Generalcomplete article about Membership and Role Management for ms sql server Pin
Farhad Eft14-Apr-08 3:31
Farhad Eft14-Apr-08 3:31 
GeneralRe: complete article about Membership and Role Management for ms sql server Pin
eyeseetee14-Apr-08 4:05
eyeseetee14-Apr-08 4:05 
QuestionProblem in Logout in asp.net using C# Pin
vinay_K14-Apr-08 3:22
vinay_K14-Apr-08 3:22 
GeneralRe: Problem in Logout in asp.net using C# Pin
eyeseetee14-Apr-08 3:25
eyeseetee14-Apr-08 3:25 
GeneralRe: Problem in Logout in asp.net using C# Pin
Christian Graus14-Apr-08 4:07
protectorChristian Graus14-Apr-08 4:07 
GeneralRe: Problem in Logout in asp.net using C# Pin
Abisodun14-Apr-08 6:29
Abisodun14-Apr-08 6:29 
GeneralRegarding Logout problem in ASP.net 2.0 using C# Pin
vinay_K14-Apr-08 3:21
vinay_K14-Apr-08 3:21 
GeneralRe: Regarding Logout problem in ASP.net 2.0 using C# Pin
Christian Graus14-Apr-08 4:06
protectorChristian Graus14-Apr-08 4:06 
QuestionHow to use message box in asp.net Pin
Deepak Nigam14-Apr-08 1:16
Deepak Nigam14-Apr-08 1:16 
AnswerRe: How to use message box in asp.net Pin
Christian Graus14-Apr-08 1:22
protectorChristian Graus14-Apr-08 1:22 
GeneralRe: How to use message box in asp.net Pin
Deepak Nigam14-Apr-08 1:59
Deepak Nigam14-Apr-08 1:59 
GeneralRe: How to use message box in asp.net Pin
Christian Graus14-Apr-08 3:03
protectorChristian Graus14-Apr-08 3:03 
GeneralRe: How to use message box in asp.net Pin
Broken Bokken14-Apr-08 9:47
Broken Bokken14-Apr-08 9:47 
AnswerRe: How to use message box in asp.net Pin
ArunVijay14-Apr-08 7:44
ArunVijay14-Apr-08 7:44 
AnswerRe: How to use message box in asp.net Pin
www.Developerof.NET14-Apr-08 20:09
www.Developerof.NET14-Apr-08 20:09 

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.