Hi , when a run this code i got this error
Error Exception of type 'System.OutOfMemoryException' was thrown
what can be the problem..?...memory ..?..the code..?.what can i try to find first.....?.....thanks for you answers..
Dim MyConnection As System.Data.Odbc.OdbcConnection = New System.Data.Odbc.OdbcConnection("Driver={Progress Openedge 10.1A Driver};DSN=PROGRESS;DB=pace;UID=sysprogress;PWD=password;HOST=192.168.10.248;PORT=2580;")
Dim MyCommand As System.Data.Odbc.OdbcDataAdapter = New System.Data.Odbc.OdbcDataAdapter("SELECT PUB.tkt.inum,PUB.tkt.idate,PUB.titm.pccost,PUB.titm.pcost FROM PUB.titm INNER JOIN PUB.tkt ON PUB.TITM.SID = PUB.TKT.SID WHERE PUB.tkt.sid in (21) AND PUB.tkt.idate >= {d '2012-01-30'} AND PUB.tkt.idate <= {d '2012-01-30'} ", MyConnection)
Dim DS As DataSet = New DataSet
MyCommand.Fill(DS, "titm")
GridView1.DataSource = DS.Tables("titm").DefaultView
GridView1.DataBind()
Error Exception of type 'System.OutOfMemoryException' was thrown
what can be the problem..?...memory ..?..the code..?.what can i try to find first.....?.....thanks for you answers..
Dim MyConnection As System.Data.Odbc.OdbcConnection = New System.Data.Odbc.OdbcConnection("Driver={Progress Openedge 10.1A Driver};DSN=PROGRESS;DB=pace;UID=sysprogress;PWD=password;HOST=192.168.10.248;PORT=2580;")
Dim MyCommand As System.Data.Odbc.OdbcDataAdapter = New System.Data.Odbc.OdbcDataAdapter("SELECT PUB.tkt.inum,PUB.tkt.idate,PUB.titm.pccost,PUB.titm.pcost FROM PUB.titm INNER JOIN PUB.tkt ON PUB.TITM.SID = PUB.TKT.SID WHERE PUB.tkt.sid in (21) AND PUB.tkt.idate >= {d '2012-01-30'} AND PUB.tkt.idate <= {d '2012-01-30'} ", MyConnection)
Dim DS As DataSet = New DataSet
MyCommand.Fill(DS, "titm")
GridView1.DataSource = DS.Tables("titm").DefaultView
GridView1.DataBind()