Like Pheonyx mentioned, create viewModel, with some property, which will be binding to your view. When you would like to show data in textbox, just set created property to your value like :
createdProperty = dgstudents.Item(1, i).Value
and via binding it will be shown in your view.