tags:

views:

42

answers:

1

How to add text to a C# datagrid from a textbox using a button click

A: 

The question doesn't make any sense please mention your need so that i can give a try, if you just want to add what you have typed in textbox its very simple create a class, set its property and in gridview add a databound with datakey as class property name, and while you click on the button return the class as a list and set the datasource of the gridview to it and bind it.

Maxymus