0

I am use ADO.NET Entity Data Model in my desktop application.And I want show my table's datas on dataGridView.But only specified columns.

For Example ;

Columns Of My Table = (ID,Number,Phone,Location,CreateDate,CreateUser)

I want show only (Number,Phone,Location) on dataGridView.

My Record :

ID = 1
Number = 123
Phone = 078424
Location = Turkey
CreateDate = 2020-03-09
CreateUser = admin

My Data Grid will show :

Number    Phone         Location
-------   ----------    ---------
123       078424        Turkey
3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.