Question
Write a program to display the use of multiple columns in datagrid?

Answers

The DataGrid that is used contains the provision to have multiple columns to contain the data in an easy and ordered way. 
Every column in the multiple columns is having different property of the objects and having collection of items. 
The objects are named according to the properties given from get/set properties and the public data field in this case can’t be created. 

The program that shows the creation of multiple columns in DataGrid is as follows:
public struct MyData{public string name { set; get; }public int age { set; get; }}dataGrid1.Items.Add(new MyData(){name="John",age=25});dataGrid1.Items.Add(new MyData(){name = "Jill",age = 29 });   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Which receive, heavy rainfall in the months of October and November-
  • Q Water hardness determined by?
  • Q What are the different documents supported in WPF
  • Q White House,the residence of the President of the USA is located at
  • Q How to fix the bug of partial displaying of output files? - Gnuplot Programming
  • Q In c++ object of the class is also called?
  • Q Are you familiar with a messaging system i.e. MQ ? What is a QueueManager ? Why do you think the Queue is so important in banking world ?
  • Q How can candidates get specific military jobs that they're interested in?
  • Q Currency attributes?
  • Q How can you apply a DTD to an XML document?
  • Q Tell me after the production of electricity, why do we increase the voltage before sending it to the grid?