Click here to Skip to main content
15,904,339 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Printing Multiple documents Pin
Thangavel26-May-04 4:41
Thangavel26-May-04 4:41 
GeneralRe: Printing Multiple documents Pin
Dave Kreskowiak26-May-04 5:05
mveDave Kreskowiak26-May-04 5:05 
GeneralRe: Printing Multiple documents Pin
Thangavel26-May-04 19:07
Thangavel26-May-04 19:07 
GeneralRe: Printing Multiple documents Pin
Dave Kreskowiak27-May-04 2:44
mveDave Kreskowiak27-May-04 2:44 
GeneralRe: Printing Multiple documents Pin
Thangavel28-May-04 23:24
Thangavel28-May-04 23:24 
GeneralRe: Printing Multiple documents Pin
Dave Kreskowiak29-May-04 14:16
mveDave Kreskowiak29-May-04 14:16 
GeneralDataGridTableStyle Pin
joypreeti26-May-04 3:28
joypreeti26-May-04 3:28 
GeneralRe: DataGridTableStyle Pin
Werner Vos26-May-04 22:10
Werner Vos26-May-04 22:10 
Here is some code I used in one of my projects and it worked quite fine. Hope it helps...


Private Sub setDGProperties()

dgDetails.TableStyles.Clear()

Dim dgts As New DataGridTableStyle
dgts.MappingName = "TransDetails"
dgts.AlternatingBackColor = Color.LightGray

Dim prod As New DataGridTextBoxColumn
prod.MappingName = "ProductID"
prod.HeaderText = "ProductID"
dgts.GridColumnStyles.Add(prod)

Dim cname As New DataGridTextBoxColumn
cname.MappingName = "ProductName"
cname.HeaderText = "Product Name"
cname.Width = 120
dgts.GridColumnStyles.Add(cname)

Dim quan As New DataGridTextBoxColumn
quan.MappingName = "Quantity"
quan.HeaderText = "Quantity"
dgts.GridColumnStyles.Add(quan)

Dim price As New DataGridTextBoxColumn
price.MappingName = "TPrice"
price.HeaderText = "Price"
price.Format = "C"
dgts.GridColumnStyles.Add(price)

dgDetails.TableStyles.Add(dgts)

End Sub

GeneralRemote Events... Pin
waffleman26-May-04 2:48
waffleman26-May-04 2:48 
GeneralRe: Remote Events... Pin
Dave Kreskowiak26-May-04 3:47
mveDave Kreskowiak26-May-04 3:47 
GeneralRe: Remote Events... Pin
waffleman27-May-04 8:15
waffleman27-May-04 8:15 
GeneralRe: Remote Events... Pin
Dave Kreskowiak27-May-04 9:40
mveDave Kreskowiak27-May-04 9:40 
GeneralRe: Remote Events... Pin
waffleman1-Jun-04 3:13
waffleman1-Jun-04 3:13 
Generalmessanger password Pin
ahmad_yossef25-May-04 23:29
ahmad_yossef25-May-04 23:29 
GeneralRe: messanger password Pin
Dave Kreskowiak26-May-04 0:45
mveDave Kreskowiak26-May-04 0:45 
GeneralRe: messanger password Pin
Aaron Eldreth26-May-04 4:03
Aaron Eldreth26-May-04 4:03 
Generalit's possible....... Pin
Night_Soul25-May-04 22:55
Night_Soul25-May-04 22:55 
GeneralRe: it's possible....... Pin
Dave Kreskowiak26-May-04 0:43
mveDave Kreskowiak26-May-04 0:43 
GeneralRe: it's possible....... Pin
Anonymous26-May-04 4:18
Anonymous26-May-04 4:18 
GeneralRe: it's possible....... Pin
Dave Kreskowiak26-May-04 4:22
mveDave Kreskowiak26-May-04 4:22 
Generalhelp running project Pin
GaryKoh25-May-04 17:13
GaryKoh25-May-04 17:13 
GeneralRe: help running project Pin
Nick Seng25-May-04 18:45
Nick Seng25-May-04 18:45 
GeneralRe: help running project Pin
GaryKoh25-May-04 19:25
GaryKoh25-May-04 19:25 
GeneralRe: help running project Pin
Nick Seng25-May-04 19:48
Nick Seng25-May-04 19:48 
GeneralRe: help running project Pin
ps1k027-May-04 2:35
ps1k027-May-04 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.