Question
Programming language is C# .Only C # can be used ,no other language. Exercise 2: Read Data 1. Create a windows form and add a
Programming language is C# .Only C # can be used ,no other language.
Exercise 2: Read Data 1. Create a windows form and add a button and multiline text box to display student data lines (properly formatted using string.Format function) e.g. Roll Number: 1 Name: Ali Class: BSCS Address: Islamabad Gender: Male 2. Make use of SqlCOnnection, SqlCommand and DataReader to read data from table created in exercise 1 and display data lines in scrollable multiline text box. a. Query and display all records in multiline text box b. Create a text box and take roll number as input and use as parameter to form up select query. Format (using String.Format) and display result in message box.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started