Click here to Skip to main content
15,902,784 members
Home / Discussions / Database
   

Database

 
GeneralRe: VB6 date vs SQL Server date Pin
Mike Dimmick1-Apr-04 1:03
Mike Dimmick1-Apr-04 1:03 
GeneralRe: VB6 date vs SQL Server date Pin
gpa20001-Apr-04 20:28
gpa20001-Apr-04 20:28 
GeneralRe: VB6 date vs SQL Server date Pin
Mike Dimmick2-Apr-04 1:46
Mike Dimmick2-Apr-04 1:46 
GeneralRe: VB6 date vs SQL Server date Pin
gpa20002-Apr-04 11:12
gpa20002-Apr-04 11:12 
GeneralRe: VB6 date vs SQL Server date Pin
jonathan151-Apr-04 3:12
jonathan151-Apr-04 3:12 
GeneralRe: VB6 date vs SQL Server date Pin
Jesse Evans18-Jun-04 6:31
Jesse Evans18-Jun-04 6:31 
GeneralRe: VB6 date vs SQL Server date Pin
jonathan1520-Jun-04 23:47
jonathan1520-Jun-04 23:47 
GeneralAllowCustomPaging = True, occurred problems. Pin
DotNet29-Mar-04 1:27
DotNet29-Mar-04 1:27 
Hie... I have faced this problem when I set my data grid - AllowCustomPaging to True.

Please advice as soon as possible?



Server Error in '/DNSS' Application.
------------------------------------------------------------------------------
AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID Tel when AllowPaging is set to true and the selected datasource does not implement ICollection.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID Tel when AllowPaging is set to true and the selected datasource does not implement ICollection.

Source Error:


Line 14: DbReader = dbcomm.ExecuteReader()
Line 15: Tel.DataSource = DbReader
Line 16: Tel.DataBind()
Line 17: DbReader.Close()
Line 18: DbConnection.Close()


Source File: d:\inetpub\wwwroot\DNSS\AccessDataCon\OlelDataReader.aspx Line: 16

Stack Trace:


[HttpException (0x80004005): AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID Tel when AllowPaging is set to true and the selected datasource does not implement ICollection.]
System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) +2068
System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +49
System.Web.UI.WebControls.BaseDataList.DataBind() +23
ASP.OlelDataReader_aspx.Page_Load() in d:\inetpub\wwwroot\DNSS\AccessDataCon\OlelDataReader.aspx:16
System.Web.Util.ArglessEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +10
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
GeneralHelp with Update and Merge Pin
markpirvine29-Mar-04 1:23
markpirvine29-Mar-04 1:23 
GeneralMinus equivalent in Access Pin
Meysam Mahfouzi28-Mar-04 23:07
Meysam Mahfouzi28-Mar-04 23:07 
GeneralRe: Minus equivalent in Access Pin
Mike Ellison29-Mar-04 5:46
Mike Ellison29-Mar-04 5:46 
GeneralRe: Minus equivalent in Access Pin
Meysam Mahfouzi29-Mar-04 17:14
Meysam Mahfouzi29-Mar-04 17:14 
QuestionHow Can I Insert a record between another rows? Pin
roshanak28-Mar-04 22:19
roshanak28-Mar-04 22:19 
AnswerRe: How Can I Insert a record between another rows? Pin
DiWa28-Mar-04 22:48
DiWa28-Mar-04 22:48 
Generaldate part of getdate Pin
Goodway28-Mar-04 20:34
Goodway28-Mar-04 20:34 
GeneralRe: date part of getdate Pin
M Peer28-Mar-04 20:57
M Peer28-Mar-04 20:57 
GeneralFinding a given value in a DataCol Pin
sanjaysagrawal28-Mar-04 6:11
sanjaysagrawal28-Mar-04 6:11 
GeneralRe: Finding a given value in a DataCol Pin
Mazdak28-Mar-04 7:44
Mazdak28-Mar-04 7:44 
GeneralRe: Finding a given value in a DataCol Pin
sanjaysagrawal31-Mar-04 5:02
sanjaysagrawal31-Mar-04 5:02 
GeneralInsertion Practices Pin
Biggelo28-Mar-04 2:44
sussBiggelo28-Mar-04 2:44 
GeneralRe: Insertion Practices Pin
sanjaysagrawal28-Mar-04 6:02
sanjaysagrawal28-Mar-04 6:02 
GeneralRe: Insertion Practices Pin
Anonymous28-Mar-04 13:05
Anonymous28-Mar-04 13:05 
GeneralRe: Insertion Practices Pin
Mike Dimmick1-Apr-04 1:07
Mike Dimmick1-Apr-04 1:07 
QuestionADO Vs ADO.NET in vb.net .... what to choose ? Pin
Mohan G27-Mar-04 22:15
Mohan G27-Mar-04 22:15 
AnswerRe: ADO Vs ADO.NET in vb.net .... what to choose ? Pin
Sarvesvara (BVKS) Dasa28-Mar-04 0:04
Sarvesvara (BVKS) Dasa28-Mar-04 0:04 

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.