I meant rather what is the final non technical goal. For example is vartable
supposed to store a color object ? Is this a list of colors as the
concatenation seems to imply ? etc...
For now :
- vartable is an object (but you assign first a string to it ?)
- TDCOLOR1 is a color object
- you try to string concatenate these two objects ?
So you can't string concatenate those two objects, hthis is as if you would
try to add a string and a date. It doesn't make sense.
So you have multiple solutions such as :
vartable=TDCOLOR1 (both being Color object)
vartable &= TDCOLOR1.ToString vartable being a string and converting
TDCOLOR1 to a string (but you would store multiple colors without any
separator ?)
vartable(i)=TDCOLOR vartable being an array of colors
For now the code exceprt doesn't make clear what your intent is :
- you provide the declaration for Col1Color but it is not used in your code
- we don"t know how vartbale TDCOLOR1 are declared though it is used in your
code
- from the message you try to string concatenate a color and an object (but
it looks weird you first put ----- in vartbale etc...)
etc...
--
Patrice
"Avi" <st******************@gmail.coma écrit dans le message de news:
11*********************@79g2000cws.googlegroups.co m...
Hi Patrice,
what i m doing is.
I hav a one class file in which i had created some property and
assigning some default values to those property. in the NEW() function
OK. Again in this NEW() function i had created one dynamic table and
those property are related to that table.
in the Page Load() funtion of .aspx file i want to give some new
values to those property
now problem is that
When application starts it call first NEW( ) function in which table
with default values get generated and now in Page Laod( ) function i
want to assign new values in place of those default values. which i
cant. so is there any way to call the NEW( ) from Page_Load( )
......