473,320 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Repeater DataSource

I am using a Repeater control(id=Repeater1) to bind a dataset!
However, I failed to work for below Command
Dim ds as Dataset = CType(Repeater1.datasource, DataSet)

I know it can be done by using datagrid !!
So, how I can do for this..

Thank You
Nov 18 '05 #1
4 3123
have a look at this article
http://msdn.microsoft.com/library/de...classtopic.asp

--
Regards,
HD
Once a Geek.... Always a Geek
"FatboyCanteen" <an*******@discussions.microsoft.com> wrote in message
news:C9**********************************@microsof t.com...
I am using a Repeater control(id=Repeater1) to bind a dataset!
However, I failed to work for below Command
Dim ds as Dataset = CType(Repeater1.datasource, DataSet)

I know it can be done by using datagrid !!
So, how I can do for this..

Thank You

Nov 18 '05 #2
Forgot to add something.. create a dataset seperately and then set it as the
datasource for the repeater... then bind it

--
Regards,
HD
Once a Geek.... Always a Geek
"FatboyCanteen" <an*******@discussions.microsoft.com> wrote in message
news:C9**********************************@microsof t.com...
I am using a Repeater control(id=Repeater1) to bind a dataset!
However, I failed to work for below Command
Dim ds as Dataset = CType(Repeater1.datasource, DataSet)

I know it can be done by using datagrid !!
So, how I can do for this..

Thank You

Nov 18 '05 #3
You mean that
We Can not Convert Repeater DataSource to DataSet ?
Nov 18 '05 #4
a complete example on how to use repeater control to display data from sql
server
http://msdn.microsoft.com/library/de...tercontrol.asp

--
Regards,
HD
Once a Geek.... Always a Geek
"FatboyCanteen" <an*******@discussions.microsoft.com> wrote in message
news:9D**********************************@microsof t.com...
You mean that
We Can not Convert Repeater DataSource to DataSet ?

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ed Allan | last post by:
http://ejaconsulting.com/nestedrepeater/NestedRepeater.txt >-----Original Message----- >Doh! The HTML has all been rendered . . . > >Right click on this link and select 'Save target as ..' >to...
2
by: Stephen Miller | last post by:
I am using the OnItemDataBound event of Repeater control to nest a DataGrid within the Repeater. When I attempt to bind to the DataGrid using the DataSource method I get the error message "Object...
1
by: Greg Cyrus | last post by:
Hi, i have created a function to open a Databse by OLEDB and fill it into a System.Data.DataSet-Objekt by oleDBAdapter.Fill-Mehtod.. Now I want to assign this DataSet to a normal...
8
by: I am Sam | last post by:
Hi everyone, This problem is making me old. I don't want to get any older. I have a multi-nested repeater control as follows: <asp:Repeater ID="clubRep1" Runat="server">...
1
by: ratnakarp | last post by:
Hi, I have a search text box. The user enters the value in the text box and click on enter button. In code behind on button click i'm writing the code to get the values from the database and...
8
by: fernandezr | last post by:
I would like to use a user control as a template inside a repeater. Some of the fields in the control should be hidden depending on whether or not there is data. I'm still a ASP .Net newbie so the...
3
by: Brian | last post by:
Using external XML, I'm trying to build a quiz, but I can't seem to specify the DataSource for the RadioButtonList within a Repeater ItemTemplate. I've tried a number of approaches, but I haven't...
2
by: shapper | last post by:
Hello, I created a Repeater at runtime with an AccessDataSource.Everything Works fine! Now I need to use the same repeater but with a DataSource created in my VB.Net code. I created a...
4
by: Brad Baker | last post by:
I'm going a little crazy :) I'm trying to bind a repeater control to a dataset on page load using the following code: if (Request.QueryString != null) { string customerid = Request.QueryString;...
1
by: Big Charles | last post by:
I have inner Repeater2 inside Repeater1. Problem is that I can't show the data of Repeater2 properly What is shown on Screen is: Line_1 Of Repeater_2 Line_2 Of Repeater_2 Line_3 Of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.