datalist, datagrid or repeater

in, visual studio 2005 provides you with 3 controls to view data from a source.. all three controls are populated by using a datasource (which can be a database, xml, odbc sources..) by using the databind() method.

1. repeater is the basic of all the three

2. datagrid is easy to use. u can connect to a datasource and view a display in just 2 lines of code.. but there are limitations on specifying the display of the DataGrid’s data

3. datalist is the most flexible.. u can specify a header, footer, seperator, edititem and alternatingitem templates.. u can also specify the layout (vertical or horizontal) and the number of columns.. really cool..



Filed under All, C#

4 responses to “datalist, datagrid or repeater

  1. pradeep

    Hey, I just found ur blog while browsing…n..I found ur name beno mathew..Boy!doesn’t that sound familiar..Is this the same beno mathew frm mtsss,kerala.Dude do u remeber me..hey u’ve got awesome blogging going on mahn…keep it up!!!

  2. Google is the best search engine

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s