Click here to Skip to main content
15,891,907 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralSplitter control for web form Pin
A.Muthunagai4-Apr-08 0:20
A.Muthunagai4-Apr-08 0:20 
GeneralRe: Splitter control for web form Pin
Declan Bright4-Apr-08 2:42
Declan Bright4-Apr-08 2:42 
GeneralRe: Splitter control for web form Pin
A.Muthunagai4-Apr-08 3:36
A.Muthunagai4-Apr-08 3:36 
GeneralRe: Splitter control for web form Pin
Declan Bright4-Apr-08 3:47
Declan Bright4-Apr-08 3:47 
Generalvisible column girdview Pin
AnhTin3-Apr-08 23:09
AnhTin3-Apr-08 23:09 
Questionhow to solve an unhandled exception occurred while binding datasource to the radscheduler Pin
gayatrilaxmi3-Apr-08 23:06
gayatrilaxmi3-Apr-08 23:06 
GeneralError:-There is already an open DataReader associated with this Command which must be closed first. Pin
sjs4u3-Apr-08 23:04
sjs4u3-Apr-08 23:04 
GeneralRe: Error:-There is already an open DataReader associated with this Command which must be closed first. Pin
Declan Bright3-Apr-08 23:18
Declan Bright3-Apr-08 23:18 
A DataReader should be closed when you are finished using it, to free up resources.

When you read the first row you are opening dr1 and binding to dgBindImage, that DataReader is still open and using the cmd1 object when you read the second row.

To solve the error you need to close the DataReader when you are finished with it.

Declan Bright
www.declanbright.com

GeneralRe: Error:-There is already an open DataReader associated with this Command which must be closed first. Pin
sjs4u3-Apr-08 23:46
sjs4u3-Apr-08 23:46 
GeneralRe: Error:-There is already an open DataReader associated with this Command which must be closed first. Pin
Declan Bright3-Apr-08 23:59
Declan Bright3-Apr-08 23:59 
GeneralUltrawebgrid Pin
venkat aithagoni3-Apr-08 22:55
venkat aithagoni3-Apr-08 22:55 
GeneralRe: Ultrawebgrid Pin
Declan Bright3-Apr-08 23:54
Declan Bright3-Apr-08 23:54 
GeneralRe: Ultrawebgrid Pin
venkat aithagoni4-Apr-08 0:16
venkat aithagoni4-Apr-08 0:16 
GeneralRe: Ultrawebgrid Pin
Pete O'Hanlon3-Apr-08 23:55
mvePete O'Hanlon3-Apr-08 23:55 
GeneralHP 6767 NoteBoOk sql sERVER 2005 Pin
Piyush Vardhan Singh3-Apr-08 22:29
Piyush Vardhan Singh3-Apr-08 22:29 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
Declan Bright3-Apr-08 23:21
Declan Bright3-Apr-08 23:21 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
Piyush Vardhan Singh3-Apr-08 23:43
Piyush Vardhan Singh3-Apr-08 23:43 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
Declan Bright3-Apr-08 23:45
Declan Bright3-Apr-08 23:45 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
Piyush Vardhan Singh4-Apr-08 5:46
Piyush Vardhan Singh4-Apr-08 5:46 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
Declan Bright4-Apr-08 7:36
Declan Bright4-Apr-08 7:36 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
Piyush Vardhan Singh3-Apr-08 23:49
Piyush Vardhan Singh3-Apr-08 23:49 
GeneralReally bizarre cross post. Pin
Pete O'Hanlon3-Apr-08 23:49
mvePete O'Hanlon3-Apr-08 23:49 
GeneralRe: Really bizarre cross post. Pin
Piyush Vardhan Singh3-Apr-08 23:53
Piyush Vardhan Singh3-Apr-08 23:53 
GeneralRe: Really bizarre cross post. Pin
Declan Bright4-Apr-08 0:02
Declan Bright4-Apr-08 0:02 
GeneralRe: Really bizarre cross post. Pin
Piyush Vardhan Singh4-Apr-08 0:15
Piyush Vardhan Singh4-Apr-08 0:15 

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.