Add controls into web form dynamically?# DotNet - 窗口里的风景
d*r
1 楼
I am working on an asp.net application using c#.
It queris a database and shows the query result as a line of title followed by
a table ( I used Label + DataGrid).
For example, for a Sale database, the web form shows
Date: (in a Label)
Sales: (in a DataGrid)
Now, the user wants to query more than one date and shows the result in one
web form which looks like:
Date1:
Sales1:
Date2:
Sales2:
Date3:
Sale3
...
Since I don't know how many dates the user want to query, I cannot fix the
design the of we
It queris a database and shows the query result as a line of title followed by
a table ( I used Label + DataGrid).
For example, for a Sale database, the web form shows
Date: (in a Label)
Sales: (in a DataGrid)
Now, the user wants to query more than one date and shows the result in one
web form which looks like:
Date1:
Sales1:
Date2:
Sales2:
Date3:
Sale3
...
Since I don't know how many dates the user want to query, I cannot fix the
design the of we