Is there a special setting I'm missing to retrieve all rows in the datawindow control, The sqlselect statment pulls 105 from Microsoft SQL Server. But When I run the datawindow through debug it returns 1 row. Please help!
![]() |
0 |
![]() |
Check RowCount after Retrieve. Yossi Dallal <jfinnell> wrote in message news:42b1b05f.467f.1681692777@sybase.com... > Is there a special setting I'm missing to retrieve all rows > in the datawindow control, The sqlselect statment pulls 105 > from Microsoft SQL Server. But When I run the datawindow > through debug it returns 1 row. Please help!
![]() |
0 |
![]() |
I check the rowcount and it returns 1, the datawindow designer and sql server return 105 rows > Check RowCount after Retrieve. > > Yossi Dallal > > > > <jfinnell> wrote in message > > news:42b1b05f.467f.1681692777@sybase.com... Is there a > > special setting I'm missing to retrieve all rows in the > > datawindow control, The sqlselect statment pulls 105 > > from Microsoft SQL Server. But When I run the datawindow > through debug it returns 1 row. Please help! > >
![]() |
0 |
![]() |
Ok, Check the SQL syntax with dw_1.GetSqlSelect() to verify that you use the expected Datawindow object. Don't suspect that it is because of the debug environment. Yossi Dallal <jfinnell> wrote in message news:42b242c6.2a96.1681692777@sybase.com... >I check the rowcount and it returns 1, the datawindow > designer and sql server return 105 rows > >> Check RowCount after Retrieve. >> >> Yossi Dallal >> >> >> >> <jfinnell> wrote in message >> > news:42b1b05f.467f.1681692777@sybase.com... Is there a >> > special setting I'm missing to retrieve all rows in the >> > datawindow control, The sqlselect statment pulls 105 >> > from Microsoft SQL Server. But When I run the datawindow >> through debug it returns 1 row. Please help! >> >>
![]() |
0 |
![]() |
The dw_1.GetSqlSelect returns the proper select, while in debug I copied what it returned to SQL Server and it returned 105 rows. I also created a windows form app. Added a regular datawindow there and it returned all rows.......... I still just get 1 row, and rowcount =1 when I bring it through the web app with a web datawindow...... Julie > Ok, Check the SQL syntax with dw_1.GetSqlSelect() to > verify that you use the expected Datawindow object. > Don't suspect that it is because of the debug environment. > > Yossi Dallal > > > <jfinnell> wrote in message > news:42b242c6.2a96.1681692777@sybase.com... >I check the > > rowcount and it returns 1, the datawindow designer and > sql server return 105 rows > > >> Check RowCount after Retrieve. > >> > >> Yossi Dallal > >> > >> > >> > >> <jfinnell> wrote in message > >> > news:42b1b05f.467f.1681692777@sybase.com... Is there > a >> > special setting I'm missing to retrieve all rows in > the >> > datawindow control, The sqlselect statment pulls > 105 >> > from Microsoft SQL Server. But When I run the > datawindow >> through debug it returns 1 row. Please > help! >> > >> > >
![]() |
0 |
![]() |
PMJI. By any chance do you have a filter on the datawindow? If that's not it, how many rows do you get when you preview the datawindow in the Datawindow Designer? (I wasn't clear on whether you tested this particular datawindow with winforms, or a different one.) Just trying to determine if the datawindow itself is ok. Pat <jfinnell> wrote in message news:42b32030.56e4.1681692777@sybase.com... > The dw_1.GetSqlSelect returns the proper select, while in > debug I copied what it returned to SQL Server and it > returned 105 rows. I also created a windows form app. > Added a regular datawindow there and it returned all > rows.......... I still just get 1 row, and rowcount =1 when > I bring it through the web app with a web datawindow...... > Julie > > >> Ok, Check the SQL syntax with dw_1.GetSqlSelect() to >> verify that you use the expected Datawindow object. >> Don't suspect that it is because of the debug environment. >> >> Yossi Dallal >> >> >> <jfinnell> wrote in message >> news:42b242c6.2a96.1681692777@sybase.com... >I check the >> > rowcount and it returns 1, the datawindow designer and >> sql server return 105 rows > >> >> Check RowCount after Retrieve. >> >> >> >> Yossi Dallal >> >> >> >> >> >> >> >> <jfinnell> wrote in message >> >> > news:42b1b05f.467f.1681692777@sybase.com... Is there >> a >> > special setting I'm missing to retrieve all rows in >> the >> > datawindow control, The sqlselect statment pulls >> 105 >> > from Microsoft SQL Server. But When I run the >> datawindow >> through debug it returns 1 row. Please >> help! >> >> >> >> >>
![]() |
0 |
![]() |
Hi, I have tested through datawindow designer, windows forms, Microsoft sql server all come back with 105 rows. The webform with the webdatawindow control returns 1 record Thanks, any ideas. Julie > PMJI. By any chance do you have a filter on the > datawindow? If that's not it, how many rows do you get > when you preview the datawindow in the Datawindow > Designer? (I wasn't clear on whether you tested this > particular datawindow with winforms, or a different one.) > Just trying to determine if the datawindow itself is ok. > > Pat > > <jfinnell> wrote in message > > news:42b32030.56e4.1681692777@sybase.com... The > > dw_1.GetSqlSelect returns the proper select, while in > > debug I copied what it returned to SQL Server and it > > returned 105 rows. I also created a windows form app. > > Added a regular datawindow there and it returned all > rows.......... I still just get 1 row, and rowcount =1 > > when I bring it through the web app with a web > > datawindow...... Julie > > > > > >> Ok, Check the SQL syntax with dw_1.GetSqlSelect() to > >> verify that you use the expected Datawindow object. > >> Don't suspect that it is because of the debug > environment. >> > >> Yossi Dallal > >> > >> > >> <jfinnell> wrote in message > >> news:42b242c6.2a96.1681692777@sybase.com... >I check > the >> > rowcount and it returns 1, the datawindow > designer and >> sql server return 105 rows > > >> >> Check RowCount after Retrieve. > >> >> > >> >> Yossi Dallal > >> >> > >> >> > >> >> > >> >> <jfinnell> wrote in message > >> >> > news:42b1b05f.467f.1681692777@sybase.com... Is > there >> a >> > special setting I'm missing to retrieve > all rows in >> the >> > datawindow control, The sqlselect > statment pulls >> 105 >> > from Microsoft SQL Server. But > When I run the >> datawindow >> through debug it returns 1 > row. Please >> help! >> > >> >> > >> > >> > >
![]() |
0 |
![]() |
Check the RowsPerPage property on the Web DataWindow control in Visual Studio, or the Rows Per Page property on the Web Generation tab for the DataWindow in the DataWindow Designer. It sounds like it is set to one. It should be 0 if you want all rows. Regards, Dave Fish Sybase DataWindow .NET Webcast Series Register today at: http://response.sybase.com/forms/DWNETTechnicalWebcastSeries Download an evaluation version of DataWindow .NET 1.5 Today!: www.sybase.com/datawindow.net DataWindow.NET code examples available on CodeXchange: http://datawindownet.codexchange.sybase.com Vote for DataWindow .NET! http://sys-con.com/dotnet/readerschoice2004/ On 17 Jun 2005 14:39:47 -0700, jfinnell wrote: >Hi, >I have tested through datawindow designer, windows forms, >Microsoft sql server all come back with 105 rows. The >webform with the webdatawindow control returns 1 record >Thanks, any ideas. >Julie >> PMJI. By any chance do you have a filter on the >> datawindow? If that's not it, how many rows do you get >> when you preview the datawindow in the Datawindow >> Designer? (I wasn't clear on whether you tested this >> particular datawindow with winforms, or a different one.) >> Just trying to determine if the datawindow itself is ok. >> >> Pat >> >> <jfinnell> wrote in message >> > news:42b32030.56e4.1681692777@sybase.com... The >> > dw_1.GetSqlSelect returns the proper select, while in >> > debug I copied what it returned to SQL Server and it >> > returned 105 rows. I also created a windows form app. >> > Added a regular datawindow there and it returned all >> rows.......... I still just get 1 row, and rowcount =1 >> > when I bring it through the web app with a web >> > datawindow...... Julie >> > >> > >> >> Ok, Check the SQL syntax with dw_1.GetSqlSelect() to >> >> verify that you use the expected Datawindow object. >> >> Don't suspect that it is because of the debug >> environment. >> >> >> Yossi Dallal >> >> >> >> >> >> <jfinnell> wrote in message >> >> news:42b242c6.2a96.1681692777@sybase.com... >I check >> the >> > rowcount and it returns 1, the datawindow >> designer and >> sql server return 105 rows > >> >> >> Check RowCount after Retrieve. >> >> >> >> >> >> Yossi Dallal >> >> >> >> >> >> >> >> >> >> >> >> <jfinnell> wrote in message >> >> >> > news:42b1b05f.467f.1681692777@sybase.com... Is >> there >> a >> > special setting I'm missing to retrieve >> all rows in >> the >> > datawindow control, The sqlselect >> statment pulls >> 105 >> > from Microsoft SQL Server. But >> When I run the >> datawindow >> through debug it returns 1 >> row. Please >> help! >> >> >> >> >> >> >> >> >> >>
![]() |
0 |
![]() |
Rows per page is set to 0 in both places. Would the connection string have anything to do with it.... ConnectString='DSN=mmgdsn;UID=sa;PWD=',RPCReBind=1,DisableBind=1 ,PBUseProcOwner='Yes' thanks for the help! Julie > Check the RowsPerPage property on the Web DataWindow > control in Visual Studio, or the Rows Per Page property on > the Web Generation tab for the DataWindow in the > DataWindow Designer. It sounds like it is set to one. It > should be 0 if you want all rows. > > Regards, > Dave Fish > Sybase > > DataWindow .NET Webcast Series > Register today at: > http://response.sybase.com/forms/DWNETTechnicalWebcastSeries > > Download an evaluation version of DataWindow .NET 1.5 > Today!: www.sybase.com/datawindow.net > > DataWindow.NET code examples available on CodeXchange: > http://datawindownet.codexchange.sybase.com > > Vote for DataWindow .NET! > http://sys-con.com/dotnet/readerschoice2004/ > > On 17 Jun 2005 14:39:47 -0700, jfinnell wrote: > > >Hi, > >I have tested through datawindow designer, windows forms, > >Microsoft sql server all come back with 105 rows. The > >webform with the webdatawindow control returns 1 record > >Thanks, any ideas. > >Julie > >> PMJI. By any chance do you have a filter on the > >> datawindow? If that's not it, how many rows do you > get >> when you preview the datawindow in the Datawindow > >> Designer? (I wasn't clear on whether you tested this > >> particular datawindow with winforms, or a different > one.) >> Just trying to determine if the datawindow > itself is ok. >> > >> Pat > >> > >> <jfinnell> wrote in message > >> > news:42b32030.56e4.1681692777@sybase.com... The > >> > dw_1.GetSqlSelect returns the proper select, while in > >> > debug I copied what it returned to SQL Server and it > >> > returned 105 rows. I also created a windows form > app. >> > Added a regular datawindow there and it returned > all >> rows.......... I still just get 1 row, and > rowcount =1 >> > when I bring it through the web app with > a web >> > datawindow...... Julie > >> > > >> > > >> >> Ok, Check the SQL syntax with dw_1.GetSqlSelect() > to >> >> verify that you use the expected Datawindow > object. >> >> Don't suspect that it is because of the > debug >> environment. >> > >> >> Yossi Dallal > >> >> > >> >> > >> >> <jfinnell> wrote in message > >> >> news:42b242c6.2a96.1681692777@sybase.com... >I check > >> the >> > rowcount and it returns 1, the datawindow > >> designer and >> sql server return 105 rows > > >> >> >> Check RowCount after Retrieve. > >> >> >> > >> >> >> Yossi Dallal > >> >> >> > >> >> >> > >> >> >> > >> >> >> <jfinnell> wrote in message > >> >> >> > news:42b1b05f.467f.1681692777@sybase.com... Is > >> there >> a >> > special setting I'm missing to retrieve > >> all rows in >> the >> > datawindow control, The > sqlselect >> statment pulls >> 105 >> > from Microsoft SQL > Server. But >> When I run the >> datawindow >> through > debug it returns 1 >> row. Please >> help! >> > >> >> >> > >> >> > >> >> > >> > >> >
![]() |
0 |
![]() |
Rowperpage = 0 in both places. Would the connection string be an issue? ConnectString='DSN=mmgdsn;UID=sa;PWD=',RPCReBind=1,DisableBind=1 ,PBUseProcOwner='Yes' thanks for the help Julie > Check the RowsPerPage property on the Web DataWindow > control in Visual Studio, or the Rows Per Page property on > the Web Generation tab for the DataWindow in the > DataWindow Designer. It sounds like it is set to one. It > should be 0 if you want all rows. > > Regards, > Dave Fish > Sybase > > DataWindow .NET Webcast Series > Register today at: > http://response.sybase.com/forms/DWNETTechnicalWebcastSeries > > Download an evaluation version of DataWindow .NET 1.5 > Today!: www.sybase.com/datawindow.net > > DataWindow.NET code examples available on CodeXchange: > http://datawindownet.codexchange.sybase.com > > Vote for DataWindow .NET! > http://sys-con.com/dotnet/readerschoice2004/ > > On 17 Jun 2005 14:39:47 -0700, jfinnell wrote: > > >Hi, > >I have tested through datawindow designer, windows forms, > >Microsoft sql server all come back with 105 rows. The > >webform with the webdatawindow control returns 1 record > >Thanks, any ideas. > >Julie > >> PMJI. By any chance do you have a filter on the > >> datawindow? If that's not it, how many rows do you > get >> when you preview the datawindow in the Datawindow > >> Designer? (I wasn't clear on whether you tested this > >> particular datawindow with winforms, or a different > one.) >> Just trying to determine if the datawindow > itself is ok. >> > >> Pat > >> > >> <jfinnell> wrote in message > >> > news:42b32030.56e4.1681692777@sybase.com... The > >> > dw_1.GetSqlSelect returns the proper select, while in > >> > debug I copied what it returned to SQL Server and it > >> > returned 105 rows. I also created a windows form > app. >> > Added a regular datawindow there and it returned > all >> rows.......... I still just get 1 row, and > rowcount =1 >> > when I bring it through the web app with > a web >> > datawindow...... Julie > >> > > >> > > >> >> Ok, Check the SQL syntax with dw_1.GetSqlSelect() > to >> >> verify that you use the expected Datawindow > object. >> >> Don't suspect that it is because of the > debug >> environment. >> > >> >> Yossi Dallal > >> >> > >> >> > >> >> <jfinnell> wrote in message > >> >> news:42b242c6.2a96.1681692777@sybase.com... >I check > >> the >> > rowcount and it returns 1, the datawindow > >> designer and >> sql server return 105 rows > > >> >> >> Check RowCount after Retrieve. > >> >> >> > >> >> >> Yossi Dallal > >> >> >> > >> >> >> > >> >> >> > >> >> >> <jfinnell> wrote in message > >> >> >> > news:42b1b05f.467f.1681692777@sybase.com... Is > >> there >> a >> > special setting I'm missing to retrieve > >> all rows in >> the >> > datawindow control, The > sqlselect >> statment pulls >> 105 >> > from Microsoft SQL > Server. But >> When I run the >> datawindow >> through > debug it returns 1 >> row. Please >> help! >> > >> >> >> > >> >> > >> >> > >> > >> >
![]() |
0 |
![]() |
From the connection string I learn that you are using ODBC with DataSourceName(DSN)= mmgdsn. In your previous mail you are writing: "... Microsoft sql server all come back with 105 rows". It seems like you are running same SQL Select but on different Databases. Yossi Dallal <jfinnell> wrote in message news:42b3b608.5a51.1681692777@sybase.com... > Rowperpage = 0 in both places. Would the connection string > be an issue? > ConnectString='DSN=mmgdsn;UID=sa;PWD=',RPCReBind=1,DisableBind=1 > ,PBUseProcOwner='Yes' > thanks for the help > Julie > >> Check the RowsPerPage property on the Web DataWindow >> control in Visual Studio, or the Rows Per Page property on >> the Web Generation tab for the DataWindow in the >> DataWindow Designer. It sounds like it is set to one. It >> should be 0 if you want all rows. >> >> Regards, >> Dave Fish >> Sybase >> >> DataWindow .NET Webcast Series >> Register today at: >> > http://response.sybase.com/forms/DWNETTechnicalWebcastSeries >> >> Download an evaluation version of DataWindow .NET 1.5 >> Today!: www.sybase.com/datawindow.net >> >> DataWindow.NET code examples available on CodeXchange: >> http://datawindownet.codexchange.sybase.com >> >> Vote for DataWindow .NET! >> http://sys-con.com/dotnet/readerschoice2004/ >> >> On 17 Jun 2005 14:39:47 -0700, jfinnell wrote: >> >> >Hi, >> >I have tested through datawindow designer, windows forms, >> >Microsoft sql server all come back with 105 rows. The >> >webform with the webdatawindow control returns 1 record >> >Thanks, any ideas. >> >Julie >> >> PMJI. By any chance do you have a filter on the >> >> datawindow? If that's not it, how many rows do you >> get >> when you preview the datawindow in the Datawindow >> >> Designer? (I wasn't clear on whether you tested this >> >> particular datawindow with winforms, or a different >> one.) >> Just trying to determine if the datawindow >> itself is ok. >> >> >> Pat >> >> >> >> <jfinnell> wrote in message >> >> > news:42b32030.56e4.1681692777@sybase.com... The >> >> > dw_1.GetSqlSelect returns the proper select, while in >> >> > debug I copied what it returned to SQL Server and it >> >> > returned 105 rows. I also created a windows form >> app. >> > Added a regular datawindow there and it returned >> all >> rows.......... I still just get 1 row, and >> rowcount =1 >> > when I bring it through the web app with >> a web >> > datawindow...... Julie >> >> > >> >> > >> >> >> Ok, Check the SQL syntax with dw_1.GetSqlSelect() >> to >> >> verify that you use the expected Datawindow >> object. >> >> Don't suspect that it is because of the >> debug >> environment. >> >> >> >> Yossi Dallal >> >> >> >> >> >> >> >> >> <jfinnell> wrote in message >> >> >> news:42b242c6.2a96.1681692777@sybase.com... >I check >> >> the >> > rowcount and it returns 1, the datawindow >> >> designer and >> sql server return 105 rows > >> >> >> >> Check RowCount after Retrieve. >> >> >> >> >> >> >> >> Yossi Dallal >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> <jfinnell> wrote in message >> >> >> >> > news:42b1b05f.467f.1681692777@sybase.com... Is >> >> there >> a >> > special setting I'm missing to retrieve >> >> all rows in >> the >> > datawindow control, The >> sqlselect >> statment pulls >> 105 >> > from Microsoft SQL >> Server. But >> When I run the >> datawindow >> through >> debug it returns 1 >> row. Please >> help! >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>
![]() |
0 |
![]() |
I'm using SQL SERVER and use ODBC, to go in. I followed the example in the documentation. I'll try going through the sqlclient. From the connection string I learn that you are using ODBC > with DataSourceName(DSN)= mmgdsn. > In your previous mail you are writing: "... Microsoft sql > server all come back with 105 rows". > It seems like you are running same SQL Select but on > different Databases. > > Yossi Dallal > > > <jfinnell> wrote in message > > news:42b3b608.5a51.1681692777@sybase.com... Rowperpage = > > 0 in both places. Would the connection string be an > > issue? ConnectString='DSN=mmgdsn;UID=sa;PWD=' > > ,RPCReBind=1,DisableBind=1 ,PBUseProcOwner='Yes' > > thanks for the help > > Julie > > > >> Check the RowsPerPage property on the Web DataWindow > >> control in Visual Studio, or the Rows Per Page property > on >> the Web Generation tab for the DataWindow in the > >> DataWindow Designer. It sounds like it is set to one. > It >> should be 0 if you want all rows. > >> > >> Regards, > >> Dave Fish > >> Sybase > >> > >> DataWindow .NET Webcast Series > >> Register today at: > >> > > > http://response.sybase.com/forms/DWNETTechnicalWebcastSeries > >> > >> Download an evaluation version of DataWindow .NET 1.5 > >> Today!: www.sybase.com/datawindow.net > >> > >> DataWindow.NET code examples available on CodeXchange: > >> http://datawindownet.codexchange.sybase.com > >> > >> Vote for DataWindow .NET! > >> http://sys-con.com/dotnet/readerschoice2004/ > >> > >> On 17 Jun 2005 14:39:47 -0700, jfinnell wrote: > >> > >> >Hi, > >> >I have tested through datawindow designer, windows > forms, >> >Microsoft sql server all come back with 105 > rows. The >> >webform with the webdatawindow control > returns 1 record >> >Thanks, any ideas. > >> >Julie > >> >> PMJI. By any chance do you have a filter on the > >> >> datawindow? If that's not it, how many rows do you > >> get >> when you preview the datawindow in the > Datawindow >> >> Designer? (I wasn't clear on whether you > tested this >> >> particular datawindow with winforms, or > a different >> one.) >> Just trying to determine if the > datawindow >> itself is ok. >> > >> >> Pat > >> >> > >> >> <jfinnell> wrote in message > >> >> > news:42b32030.56e4.1681692777@sybase.com... The > >> >> > dw_1.GetSqlSelect returns the proper select, while > in >> >> > debug I copied what it returned to SQL Server > and it >> >> > returned 105 rows. I also created a > windows form >> app. >> > Added a regular datawindow there > and it returned >> all >> rows.......... I still just get > 1 row, and >> rowcount =1 >> > when I bring it through the > web app with >> a web >> > datawindow...... Julie > >> >> > > >> >> > > >> >> >> Ok, Check the SQL syntax with > dw_1.GetSqlSelect() >> to >> >> verify that you use the > expected Datawindow >> object. >> >> Don't suspect that it > is because of the >> debug >> environment. >> > >> >> >> Yossi Dallal > >> >> >> > >> >> >> > >> >> >> <jfinnell> wrote in message > >> >> >> news:42b242c6.2a96.1681692777@sybase.com... >I > check >> >> the >> > rowcount and it returns 1, the > datawindow >> >> designer and >> sql server return 105 > rows > >> >> >> >> Check RowCount after Retrieve. > >> >> >> >> > >> >> >> >> Yossi Dallal > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> <jfinnell> wrote in message > >> >> >> >> > news:42b1b05f.467f.1681692777@sybase.com... > Is >> >> there >> a >> > special setting I'm missing to > retrieve >> >> all rows in >> the >> > datawindow control, > The >> sqlselect >> statment pulls >> 105 >> > from > Microsoft SQL >> Server. But >> When I run the >> > datawindow >> through >> debug it returns 1 >> row. > Please >> help! >> >> >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > >> > >
![]() |
0 |
![]() |