Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

3540416641, 978-3540416647

More Books

Students also viewed these Databases questions

Question

2. What potential barriers would you encourage Samuel to avoid?

Answered: 1 week ago