I have made one function for a auto generate gridview.
ex: like Register table in field Id,Name,Address than first of all i have select table then select field and then visible toolbox like dropdrown in tools like lable,textbox,combobox
then click on submit button
redirect in webform.
you select Id opposite lable
and name opposite textbox
then enter the data in lable and textbox
then click button submit.
i have auto generate gridview in id ,name field and you have enter data in form.
please give function for this question...
Tadit DashPosted Jul 12, 2014, 3:04 PM
Just build a DataTable with the help of data you are talking about and then assign that to the DataSource property of GridView. Then call DataBind method of GridView.
Done !!!