Passing data from the datagridview into the textbox is a common problem if you are a beginner in programming. So, in this tutorial, I will teach you how to display the current row into the textboxes using c#. This program is composed by adding column and rows in the datagridview programmatically and it will automatically display the data in the textbox when the datagridview cell is clicked. This is a big help for you to solve your current problem in programming and you can do it in no time. Follow the step by step guide to know how it works.