본문 바로가기 메뉴 바로가기

그레고리로그

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

그레고리로그

검색하기 폼
  • 분류 전체보기 (51)
    • flutter (6)
    • AndroidStudio (1)
    • DataBase (4)
      • Mysql (4)
    • BCI (0)
    • Unity (2)
    • 웹 서비스 개발 (3)
    • C++ (21)
      • Baekjoon (15)
    • JavaScript (1)
    • Software Engineering (2)
    • Spring (1)
    • Winform (2)
    • 메모 (0)
  • 방명록

DataSource (1)
c# multiple column select query (winform, devexpress, gridControl, mySQL)

T_Item 테이블을 다 가져오고 싶은 경우 List items = context.T_Item.ToList; gridControl.DataSource = items; T_Item 테이블에서 한 Column 만 가져오고 싶은 경우 List items = context.T_Item.ToList; gridControl.DataSource = items.Select(i => i.Name); T_Item 테이블에서 특정 몇개의 Column 만 가져오고 싶은 경우 List items = context.T_Item.ToList; gridControl.DataSource = items.Select(i => new {i.Id, i.Name, i.Prise});

Winform 2022. 7. 7. 12:25
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • select
  • DevExpress
  • Flutter
  • 트리
  • =
  • 컨셉때문에킹받으셨나요..죄송합니다..제가 봐도 킹받네요
  • 우분투
  • DataSource
  • 버추얼박스
  • Unity
  • VS Code
  • 해마코딩
  • multiple Column
  • Query
  • GIT
  • VirtualBox
  • Mac
  • Tree
  • ubuntu
  • QO
  • Winform
  • Unity vs code
  • flutterdoctor
  • ()
  • apt-get
  • gridContorl
  • mac unity vscode autocomplete
  • apt
  • mac Unity vscode 자동완성
  • androidstudio
more
«   2026/04   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바