MCQs Test!! VB Basic Test !! Essentials of VB !! Creating User Services !! function !! Anatomy !! GK March-2019 !! DATA TYPES IN JAVA !! Classes ,Constructor ,Methods,Inheritance !! Ecology-I !! Biology 2019 !! Gk april 2019 !! Biology (living world) !! Plant anatomy !! CELL STRUCTURES AND FUNCTION !! General biology !! Human physiology !! Data structure !! Ecology-II !! GK TEST !! Reproduction in plants !! Human reproduction !! The ABC of C !! Operating system set1 !! Operating system set2 !! Gk and current affairs !! Animal kingdom !! Number system !! Animal kingdom-II !! Gk TEST-III !! Number series !! Microorganisms !! Interview question in c !! Time and Work !! Percentage !! General history !! Average !! Cells !! Locomotion and Movement !! paging !! Bacteriology !! Page replacement policy !! Secondary memory and Disk scheduling !! Introduction of Nervous System and neurons !! Plant harmones !! Transport and Mineral Nutrition in Plants !! Neurotransmitters !! Modern Indian History !! Photosynthesis in Plants !! Modern Indian History-II !! Plant respiration !! Environment & Biodiversity !! Environment & Biodiversity - II !! Algae, Bryophytes, Pteridophytes !! Area !! Cricket !! Days of the Year (India and the World) !! Plant Pathology - I !! Indian Transport System !! Plant Pathology - II !! Aptitude !! Biology !! Botany !! C language !! Computer Science !! Core Java !! Gate !! GK !! Mysql !! Operating system !! Physics !! VB-Visual Basic !! Zoology

ADO.NET

ADO.NET Projects

ADO.NET Project 1

ADO.NET Examples

Examples

Using the DataList Control
Previous Home Next

Add a DataListto a Web Form

  1. Open the UsingWebForms project from the Start page or the File menu.
  2. In the Solution Explorer, double-click the DataList.aspx file.Microsoft Visual Studio .NET opens the page in the form designer.
  3. Drag a DataList control from the Web Form tab of the Toolbox onto the form designer.Visual Studio adds a placeholder for the DataList control.
  4. Select the DataGrid, and then click left corner the bottom and select on choose data source

    Select a Data source Type and then press OK button

  5. Select New connection
  6. change data source
  7.  

  8. Select datasource
  9. Fill server Name name select r enter database name and press ok button
  10. Save the connection and press OK button
  11. Select columns from a table and press next button
  12. Click Test query for preview data and press finish button
  13. select datasource name
  14. press f5 and run the program
Previous Home Next