Create dynamic table
-
Hi all.. can anyone help me..i am retrieving data from sql in a dataset, i wanna create a dynamic table to place the values in. the table must look as follows: Account Name Date AccountName UserName UserDate the first row is normal text inserted by me, the second row is retrieved from the dataset...can anyone plz assist me on this.
living life on the flip side
-
Hi all.. can anyone help me..i am retrieving data from sql in a dataset, i wanna create a dynamic table to place the values in. the table must look as follows: Account Name Date AccountName UserName UserDate the first row is normal text inserted by me, the second row is retrieved from the dataset...can anyone plz assist me on this.
living life on the flip side
-
Agweet wrote:
i wanna create a dynamic table
Why? That would be something that a stored procedure might do but not an application.
led mike
-
i am going to use the table and insert it into an email so that the user can view newly added data
living life on the flip side
Agweet wrote:
i am going to use the table and insert it into an email so that the user can view newly added data
That's not a complete enough description of your requirements for me to understand. For example: "newly added data" is an ambiguous statement. Good luck
led mike
-
Hi all.. can anyone help me..i am retrieving data from sql in a dataset, i wanna create a dynamic table to place the values in. the table must look as follows: Account Name Date AccountName UserName UserDate the first row is normal text inserted by me, the second row is retrieved from the dataset...can anyone plz assist me on this.
living life on the flip side
Agweet wrote:
Account Name Date AccountName UserName UserDate
Are you sure your table is going to have this structure? You can create a datatable object and manually insert all this into it.
"If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry
-
Hi all.. can anyone help me..i am retrieving data from sql in a dataset, i wanna create a dynamic table to place the values in. the table must look as follows: Account Name Date AccountName UserName UserDate the first row is normal text inserted by me, the second row is retrieved from the dataset...can anyone plz assist me on this.
living life on the flip side
Particularly in dataset we can't.But of ur requirement is dynamically display the data right,so you go< for Gridview control and set AutogenretedColumns=false.Then u go designing or write TemplateField in the below of <column> tag ..there is you write whatever columns field you want ok. like ex: <templatefield headertext=colName field="<%Eval(originalcolumnfield)%>"> If u know well otherwise i can't
modified on Tuesday, October 7, 2008 3:06 PM