Connecting Tech Pros Worldwide Forums | Help | Site Map

TWO REPEATERS IN ONE PAGE??????

news.microsoft.com
Guest
 
Posts: n/a
#1: Nov 19 '05
This is working perfectly.

Sub Page_Load(sender As Object, e As EventArgs)

Dim cnn As SqlConnection = New
SqlConnection("server=lwda329.servidoresdns.net;da tabase=qaf500;user=qaf500;
password=gruart")
Dim cmd As SqlDataAdapter = New SqlDataAdapter("SELECT * from
VentasWebConsultaES where IdPiso=" & Request.QueryString("Piso") & "", cnn)
Dim ds As DataSet = New DataSet()
cmd.Fill(ds)
Repeater1.DataSource = ds
Repeater1.DataBind()


End Sub


WHY THIS IS NOT WORKING????????

Sub Page_Load(sender As Object, e As EventArgs)

Dim cnn As SqlConnection = New
SqlConnection("server=lwda329.servidoresdns.net;da tabase=qaf500;user=qaf500;
password=gruart")
Dim cmd As SqlDataAdapter = New SqlDataAdapter("SELECT * from
VentasWebConsultaES where IdPiso=" & Request.QueryString("Piso") & "", cnn)
Dim cmd02 As SqlDataAdapter = New SqlDataAdapter("SELECT * from
FotosWeb where IdPiso=" & Request.QueryString("Piso") & "", cnn)
Dim ds As DataSet = New DataSet()
Dim ds02 As DataSet = New DataSet()
cmd.Fill(ds)
cmd02.Fill(ds02)
Repeater1.DataSource = ds
Repeater1.DataBind()
Repeater02.DataSource = ds02
Repeater02.DataBind()

End Sub



Joshua Flanagan
Guest
 
Posts: n/a
#2: Nov 19 '05

re: TWO REPEATERS IN ONE PAGE??????


You tell us - what makes you think it is not working?


news.microsoft.com wrote:[color=blue]
> This is working perfectly.
>
> Sub Page_Load(sender As Object, e As EventArgs)
>
> Dim cnn As SqlConnection = New
> SqlConnection("server=lwda329.servidoresdns.net;da tabase=qaf500;user=qaf500;
> password=gruart")
> Dim cmd As SqlDataAdapter = New SqlDataAdapter("SELECT * from
> VentasWebConsultaES where IdPiso=" & Request.QueryString("Piso") & "", cnn)
> Dim ds As DataSet = New DataSet()
> cmd.Fill(ds)
> Repeater1.DataSource = ds
> Repeater1.DataBind()
>
>
> End Sub
>
>
> WHY THIS IS NOT WORKING????????
>
> Sub Page_Load(sender As Object, e As EventArgs)
>
> Dim cnn As SqlConnection = New
> SqlConnection("server=lwda329.servidoresdns.net;da tabase=qaf500;user=qaf500;
> password=gruart")
> Dim cmd As SqlDataAdapter = New SqlDataAdapter("SELECT * from
> VentasWebConsultaES where IdPiso=" & Request.QueryString("Piso") & "", cnn)
> Dim cmd02 As SqlDataAdapter = New SqlDataAdapter("SELECT * from
> FotosWeb where IdPiso=" & Request.QueryString("Piso") & "", cnn)
> Dim ds As DataSet = New DataSet()
> Dim ds02 As DataSet = New DataSet()
> cmd.Fill(ds)
> cmd02.Fill(ds02)
> Repeater1.DataSource = ds
> Repeater1.DataBind()
> Repeater02.DataSource = ds02
> Repeater02.DataBind()
>
> End Sub
>
>[/color]
news.microsoft.com
Guest
 
Posts: n/a
#3: Nov 19 '05

re: TWO REPEATERS IN ONE PAGE??????


Because I have tested it several times already. Please try to help others,
not to make fun on them. Witty guy.


"Joshua Flanagan" <josh@msnews.com> escribió en el mensaje
news:OgF6lNUHFHA.2356@TK2MSFTNGP12.phx.gbl...[color=blue]
> You tell us - what makes you think it is not working?
>
>
> news.microsoft.com wrote:[color=green]
> > This is working perfectly.
> >
> > Sub Page_Load(sender As Object, e As EventArgs)
> >
> > Dim cnn As SqlConnection = New
> >[/color][/color]
SqlConnection("server=lwda329.servidoresdns.net;da tabase=qaf500;user=qaf500;[color=blue][color=green]
> > password=gruart")
> > Dim cmd As SqlDataAdapter = New SqlDataAdapter("SELECT *[/color][/color]
from[color=blue][color=green]
> > VentasWebConsultaES where IdPiso=" & Request.QueryString("Piso") & "",[/color][/color]
cnn)[color=blue][color=green]
> > Dim ds As DataSet = New DataSet()
> > cmd.Fill(ds)
> > Repeater1.DataSource = ds
> > Repeater1.DataBind()
> >
> >
> > End Sub
> >
> >
> > WHY THIS IS NOT WORKING????????
> >
> > Sub Page_Load(sender As Object, e As EventArgs)
> >
> > Dim cnn As SqlConnection = New
> >[/color][/color]
SqlConnection("server=lwda329.servidoresdns.net;da tabase=qaf500;user=qaf500;[color=blue][color=green]
> > password=gruart")
> > Dim cmd As SqlDataAdapter = New SqlDataAdapter("SELECT *[/color][/color]
from[color=blue][color=green]
> > VentasWebConsultaES where IdPiso=" & Request.QueryString("Piso") & "",[/color][/color]
cnn)[color=blue][color=green]
> > Dim cmd02 As SqlDataAdapter = New SqlDataAdapter("SELECT *[/color][/color]
from[color=blue][color=green]
> > FotosWeb where IdPiso=" & Request.QueryString("Piso") & "", cnn)
> > Dim ds As DataSet = New DataSet()
> > Dim ds02 As DataSet = New DataSet()
> > cmd.Fill(ds)
> > cmd02.Fill(ds02)
> > Repeater1.DataSource = ds
> > Repeater1.DataBind()
> > Repeater02.DataSource = ds02
> > Repeater02.DataBind()
> >
> > End Sub
> >
> >[/color][/color]


Scott Allen
Guest
 
Posts: n/a
#4: Nov 19 '05

re: TWO REPEATERS IN ONE PAGE??????


I believe Josh was trying to find out what the problem is.

Can you describe what is not working? Is there an error message?

It's tough to perform a diagnosis if we don't know what the symptoms
are.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 28 Feb 2005 13:28:03 +0100, "news.microsoft.com"
<consultas@winsolutions.es> wrote:
[color=blue]
>Because I have tested it several times already. Please try to help others,
>not to make fun on them. Witty guy.
>
>[/color]

Joshua Flanagan
Guest
 
Posts: n/a
#5: Nov 19 '05

re: TWO REPEATERS IN ONE PAGE??????


I was not trying to make fun. I really don't know what problem you are
experiencing, since you didn't tell us.
Does the page not look you expect it should? Why not?
Are you getting an error message? Give us the details.
Does the code compile? If not, what is the compiler error?

Joshua Flanagan



news.microsoft.com wrote:[color=blue]
> Because I have tested it several times already. Please try to help others,
> not to make fun on them. Witty guy.
>
>
> "Joshua Flanagan" <josh@msnews.com> escribió en el mensaje
> news:OgF6lNUHFHA.2356@TK2MSFTNGP12.phx.gbl...
>[color=green]
>>You tell us - what makes you think it is not working?
>>
>>
>>news.microsoft.com wrote:
>>[color=darkred]
>>>This is working perfectly.
>>>
>>>Sub Page_Load(sender As Object, e As EventArgs)
>>>
>>> Dim cnn As SqlConnection = New
>>>[/color][/color]
>
> SqlConnection("server=lwda329.servidoresdns.net;da tabase=qaf500;user=qaf500;
>[color=green][color=darkred]
>>>password=gruart")
>>> Dim cmd As SqlDataAdapter = New SqlDataAdapter("SELECT *[/color][/color]
>
> from
>[color=green][color=darkred]
>>>VentasWebConsultaES where IdPiso=" & Request.QueryString("Piso") & "",[/color][/color]
>
> cnn)
>[color=green][color=darkred]
>>> Dim ds As DataSet = New DataSet()
>>> cmd.Fill(ds)
>>> Repeater1.DataSource = ds
>>> Repeater1.DataBind()
>>>
>>>
>>> End Sub
>>>
>>>
>>>WHY THIS IS NOT WORKING????????
>>>
>>> Sub Page_Load(sender As Object, e As EventArgs)
>>>
>>> Dim cnn As SqlConnection = New
>>>[/color][/color]
>
> SqlConnection("server=lwda329.servidoresdns.net;da tabase=qaf500;user=qaf500;
>[color=green][color=darkred]
>>>password=gruart")
>>> Dim cmd As SqlDataAdapter = New SqlDataAdapter("SELECT *[/color][/color]
>
> from
>[color=green][color=darkred]
>>>VentasWebConsultaES where IdPiso=" & Request.QueryString("Piso") & "",[/color][/color]
>
> cnn)
>[color=green][color=darkred]
>>> Dim cmd02 As SqlDataAdapter = New SqlDataAdapter("SELECT *[/color][/color]
>
> from
>[color=green][color=darkred]
>>>FotosWeb where IdPiso=" & Request.QueryString("Piso") & "", cnn)
>>> Dim ds As DataSet = New DataSet()
>>> Dim ds02 As DataSet = New DataSet()
>>> cmd.Fill(ds)
>>> cmd02.Fill(ds02)
>>> Repeater1.DataSource = ds
>>> Repeater1.DataBind()
>>> Repeater02.DataSource = ds02
>>> Repeater02.DataBind()
>>>
>>> End Sub
>>>
>>>[/color][/color]
>
>
>[/color]
Closed Thread