Hi friends
Can anybody tell me where to use datagrid and where to use datalist. Or
explain Different between DataGrid and DataList.
Regards,
Alex
Karl Seguin - 20 Jul 2005 12:50 GMT
Alex:
Have you tried a google search? There are some pretty useful results:
http://msdn.microsoft.com/msdnmag/issues/01/12/asp/
http://www.kdkeys.net/forums/482/ShowPost.aspx
Karl

Signature
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
> Hi friends
> Can anybody tell me where to use datagrid and where to use datalist. Or
> explain Different between DataGrid and DataList.
> Regards,
> Alex
Eliyahu Goldin - 20 Jul 2005 12:59 GMT
Alex,
A datalist works with templates only. A datagrid can have bound columns,
columns with buttons etc. It can be easier to start with in the beginning,
when you don't have html and javascript skills, since you don't need to
prepare any templates. Datagrid also offers you have sorting and paging
features. It suits well for typical database-related tasks. You can use
templates in datagrid too.
Datalist is the only control that lets you arrange items horizontally.
Eliyahu
> Hi friends
> Can anybody tell me where to use datagrid and where to use datalist. Or
> explain Different between DataGrid and DataList.
> Regards,
> Alex