Hi,
I think I can't use the dataset itself because I will not know which
record I need to use in each div. So I believe by using variables which
identify each record is maybe the best way (OR NOT?):
var_ { [name] from record 1} = { [content] from record 1}
So I think maybe I should create these variables from the dataset? What
do you think?
Something like:
For i = 1 to N < N is the number of rows of the
dataset.
if content(i) is empty then
var_[name(i)]=" "
else
var_[name(i)]=[content)i)]
endif
end
Then in the div I should use something like:
<%# var_name %> ????
My problem is how to create these 2 pieces of code as I never done
something like this in ASP.NET.
Thanks,
Miguel
"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
news:mdmoura*NOSPAM*@gmail.*DELETE2SEND*com:
> What do you mean?
>
> Cheers,
> Miguel
>
> "Lucas Tam" <> wrote in message
> news::
>
>
> > "Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in news:
> > #:
> >
> >
>
> > > As far as I understand I should retrieve all the fields which
> > > page="index".
> > >
> > > Then i should create N variables such as:
> > > var_ { [name] from record 1} = { [content] from record 1}
> > > var_ { [name] from record 2} = { [content] from record 2}
> >
> >
>
> > Why not just loop your dataset and output?
> >
> > No need for so many variables.
> >
> > --
> > Lucas Tam ()
> > Please delete "REMOVE" from the e-mail address when replying.
> > http://members.ebay.com/aboutme/coolspot18/