use DataRepeater in CSharp

  • Thread starter Thread starter muhamad
  • Start date Start date
M

muhamad

Hi,
How can I use the DataRepeater in CSharp , this control exists in VB6 ,i
never used it .
I want to insert into the DataRepeater TextBoxs that will show all the time
data from the database .
Does anyone have an example or direction ?
 
Hi Muhamad
DataRepeater is not a listed control in c# , but you can get its
functionality using data grids , you can bind a grid to your data source
,and make one if its columns as textbox. Checkout these source code
examples of using grid control in C#
http://www.codeproject.com/cs/miscctrl/#Grid+controls
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Hi,

There is not a DataRepeater in .net, you have a Repeater though. I don;t
really know what the old one did, but with Repeater you use a template of
how a rows should looks like and it repeate it on each item binded.
if you need some extra functionality you should use DataGrid.

One final point, the above is for being used on a web app, in the desktop
there is nothing like a Repeater, you can use either a ListView in details
mode or a DataGrid.


Cheers,
 
Back
Top