|
Because you want to bind the names of the same field in two different tables to the same gridview at the same time, but there is a problem, because the field names are the same, an error is prompted, is there any way to change the field names of the tables in the dataset, or Two tables containing different data with the same fields are bound to the same dataset?
For example, both tables contain the two fields "ID", but the data is different. I want to generate a horizontal comparison by adding columns. That is, there are two tables with "ID" in a row. Can the name be changed? Want the data for the two "ID" columns to appear in the same row?
There is also a question, can you dynamically bind the datafield property of a column in the gridview, or can you dynamically bind a field in the dataset as required
thank you. |
|