int from = Convert.ToInt32(txtboxFrom.Text.Trim()); int to = Convert.ToInt32(txtboxTo.Text.Trim()); for (int i = from; i <= to; i++) { // this loop will runs in the range mentioned in the text box.. // u can do your print or watever u want.. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)