I Got some data from database with the following command:
string SearchSql = string.Format("SELECT ACCOUNT, PASSWORD, TOTALIP, FINISHDATE FROM tbl_LOL_ACCOUNT JOIN tbl_LOL_REGION ON tbl_LOL_ACCOUNT.RegionID = tbl_LOL_REGION.ID WHERE REGIONSHORT = '{0}' AND MAXIP = '{1}' LIMIT {2}", regionComboBox.SelectedItem, IPComboBox.SelectedItem), amountTxt.Text);
It gets accounts as many as the amountTxt.Text value. (LIMIT {2})
That's not a problem, after getting these data, I entered them to my data grid view, as you can see in the picture:
All of that are good! The problem is here: I want to when i click the same button which send request of SQL command to get the next rows after these ones! Logically, when i try to use the same command, it returns the same result! What about getting next to them?
If there are some strings need to be add to the command will be good, if not, then I hope someone can help me with a way to perform that!
Thanks!