Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
V

vandaivn

@vandaivn
About
Posts
2
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • timer!
    V vandaivn

    how to display time into the textbox! can you help me!

    C# help tutorial

  • Please Help me!!!Thanks !!!
    V vandaivn

    i just create one database it's: create table HANGHOA ( MAHANG varchar(9) not null, TENHANG nvarchar(50) not null, DVDOLUONG nvarchar(15) not null, DINHLUONG int not null, DONVI nvarchar(15) not null, MOTA nvarchar(50) null , TONKHO int null , DGBAN int null , CANDUOI int null , constraint PK_HANGHOA primary key (MAHANG) ) When i created datagrid and add TENHANG to col1 : private void CreateDataGridStyle() { this.dataGrid1.ReadOnly=true; DGStyle = new DataGridTableStyle(); DGStyle.MappingName ="HANGHOA"; col1 = new DataGridTextBoxColumn(); col1.MappingName ="TENHANG"; col1.HeaderText = "TH"; col1.Width = 90; } but now i want to create table TH with three MappingName : "HANGHOA";"DVDOLUONG";"DINHLUONG" to one. Because when i create datagrid it's have 3 column but now i want to view it's one. private void CreateDataGridStyle() { this.dataGrid1.ReadOnly=true; DGStyle = new DataGridTableStyle(); DGStyle.MappingName ="HANGHOA"+"DINHLUONG"+"DVDOLUONG"; col1 = new DataGridTextBoxColumn(); col1.MappingName ="TENHANG"; col1.HeaderText = "TH"; col1.Width = 90; } ex: table first is HANGHOA DVDOLUONG DINHLUONG abc 1 st but end is "TableMapping" abc is 1st i said may be you can't understand but may be my "ex:" be you see the problem! Thanks !!!Please Help me!

    C# help database
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups