Scrolling Rows in Database(forms)
Hello C++ X perts!
http://www.cplusplus.com/forum/thread.cgi?w=new&i=854
im working on project where i want to write my own code to scroll a database.
so im followed a tutorial.
so the tutorial says to create and int named Maxrows =0;
and assign the amount of rows in table to that interger like this
MaxRows = this.lsappDataSet11.Tables["Clients"].Rows.Count;
so i did that but when i usw this message box
MessageBox.Show(MaxRows.ToString());
the results is still 0 since it doesnt count the rows as it should.
Also i was hoping if someone could point me to a better way of doing what i am trying to accomplish that would allow this to better work in a class.
thank you
Topic archived. No new replies allowed.