|
|
|
ขอวิธีเพิ่มลำดับเลขให้กับ gridview ด้วยครับผมใช้ c# |
|
|
|
|
|
|
|
ได้แล้วครับ
Code (C#)
SolidBrush b= new SolidBrush(dataGridView1.RowHeadersDefaultCellStyle.ForeColor);
e.Graphics.DrawString(((e.RowIndex + 1)).ToString(System.Globalization.CultureInfo.CurrentUICulture),
Font, b, (e.RowBounds.Location.X + 40), (e.RowBounds.Location.Y + 3),
new StringFormat(StringFormatFlags.DirectionRightToLeft));
|
|
|
|
|
Date :
2018-03-19 13:42:58 |
By :
sakkapong |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Date :
2018-03-20 17:54:33 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|