Click here to Skip to main content
16,008,075 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Display Values in an Excel Worksheet Pin
Dave Kreskowiak10-Jan-06 6:48
mveDave Kreskowiak10-Jan-06 6:48 
GeneralRe: Display Values in an Excel Worksheet Pin
directred10-Jan-06 22:43
directred10-Jan-06 22:43 
GeneralRe: Display Values in an Excel Worksheet Pin
directred10-Jan-06 23:48
directred10-Jan-06 23:48 
GeneralRe: Display Values in an Excel Worksheet Pin
Dave Kreskowiak11-Jan-06 1:14
mveDave Kreskowiak11-Jan-06 1:14 
GeneralRe: Display Values in an Excel Worksheet Pin
directred11-Jan-06 1:30
directred11-Jan-06 1:30 
QuestionNo sorting in DataGrid Pin
dptalt10-Jan-06 4:57
dptalt10-Jan-06 4:57 
AnswerRe: No sorting in DataGrid Pin
Dave Kreskowiak10-Jan-06 6:37
mveDave Kreskowiak10-Jan-06 6:37 
GeneralRe: No sorting in DataGrid Pin
dptalt12-Jan-06 2:33
dptalt12-Jan-06 2:33 
The datagrid is bound to a dataview. Turning off sorting at the datagrid does not work. Turning it off at the tablestyle does. Below is the requested sample code.

Me.DataGrid1.DataSource = DataTableOrdersDetail.DefaultView
'Me.DataGrid1.AllowSorting = False

Dim grdTableStyle1 As New DataGridTableStyle
grdTableStyle1.AllowSorting = False

With grdTableStyle1
.MappingName = "DataTableOrdersDetail"
.RowHeadersVisible = False

With .GridColumnStyles
.Add(New DataGridTextBoxColumn)
With .Item(0)
.MappingName = "QuantityOrdered"
.HeaderText = "Ordered"
.Width = 55
.NullText = ""
End With


-- modified at 8:35 Thursday 12th January, 2006
A question with the above code: If the datagrid datasource is connected to a dataview shouldn't column 0 mappingname use the dataview also? It does not work if I try it.
QuestionPopulating a Database from a Dataset Pin
Ria7710-Jan-06 4:14
Ria7710-Jan-06 4:14 
AnswerRe: Populating a Database from a Dataset Pin
Dave Kreskowiak10-Jan-06 6:35
mveDave Kreskowiak10-Jan-06 6:35 
GeneralRe: Populating a Database from a Dataset Pin
Ria7710-Jan-06 8:38
Ria7710-Jan-06 8:38 
GeneralRe: Populating a Database from a Dataset Pin
Dave Kreskowiak10-Jan-06 9:04
mveDave Kreskowiak10-Jan-06 9:04 
Questionhow can implement DTS pakage in vb.net Pin
parvinder sehrawat10-Jan-06 1:53
parvinder sehrawat10-Jan-06 1:53 
AnswerRe: how can implement DTS pakage in vb.net Pin
Dave Kreskowiak10-Jan-06 5:08
mveDave Kreskowiak10-Jan-06 5:08 
GeneralRe: how can implement DTS pakage in vb.net Pin
parvinder sehrawat10-Jan-06 20:45
parvinder sehrawat10-Jan-06 20:45 
GeneralRe: how can implement DTS pakage in vb.net Pin
Dave Kreskowiak11-Jan-06 1:13
mveDave Kreskowiak11-Jan-06 1:13 
QuestionPassing long from ASP to C# method Pin
sauravg2810-Jan-06 0:28
sauravg2810-Jan-06 0:28 
AnswerRe: Passing long from ASP to C# method Pin
Guffa10-Jan-06 1:20
Guffa10-Jan-06 1:20 
AnswerRe: Passing long from ASP to C# method Pin
Dave Kreskowiak10-Jan-06 5:04
mveDave Kreskowiak10-Jan-06 5:04 
Questionglobal variable Pin
mayhem_rules10-Jan-06 0:20
mayhem_rules10-Jan-06 0:20 
AnswerRe: global variable Pin
abhinish10-Jan-06 1:07
abhinish10-Jan-06 1:07 
GeneralRe: global variable Pin
mayhem_rules10-Jan-06 1:23
mayhem_rules10-Jan-06 1:23 
GeneralRe: global variable Pin
jonathan1510-Jan-06 1:34
jonathan1510-Jan-06 1:34 
GeneralRe: global variable Pin
mayhem_rules10-Jan-06 17:59
mayhem_rules10-Jan-06 17:59 
QuestionVB.NET To perform HTTP FORM POST Pin
spankys139-Jan-06 23:23
spankys139-Jan-06 23:23 

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.