Click here to Skip to main content
15,887,683 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Deploying 1.1 app on 1.0 framework Pin
Charlie Williams13-Nov-04 14:27
Charlie Williams13-Nov-04 14:27 
GeneralClipboard Pin
Matthias Glemser13-Nov-04 4:38
Matthias Glemser13-Nov-04 4:38 
GeneralRe: Clipboard Pin
Matthias Glemser15-Nov-04 8:17
Matthias Glemser15-Nov-04 8:17 
GeneralCOM+ : exporting to type library(com+ to com) Pin
Sendilkumar.M11-Nov-04 23:30
Sendilkumar.M11-Nov-04 23:30 
GeneralRe: COM+ : exporting to type library(com+ to com) Pin
CodeWell17-Nov-04 20:16
CodeWell17-Nov-04 20:16 
GeneralBinding Collection to DataGrid Pin
Derec Roofie11-Nov-04 1:24
Derec Roofie11-Nov-04 1:24 
GeneralRe: Binding Collection to DataGrid Pin
Steven Campbell11-Nov-04 15:01
Steven Campbell11-Nov-04 15:01 
GeneralRe: Binding Collection to DataGrid Pin
satya chhikara22-Nov-04 23:30
satya chhikara22-Nov-04 23:30 
Try this sub method using own datagrid name

Private Sub DataGrid2_SortCommand(ByVal source As System.Object, ByVal e As System.Web.UI.WebControls.DataGridSortCommandEventArgs)

Dim dataGrid As DataGrid = source
Dim strSort = dataGrid.Attributes("SortExpression")
Dim strASC = dataGrid.Attributes("SortASC")
dataGrid.Attributes("SortExpression") = e.SortExpression
dataGrid.Attributes("SortASC") = "Yes"
If e.SortExpression = strSort Then
If strASC = "Yes" Then
dataGrid.Attributes("SortASC") = "No"
Else
dataGrid.Attributes("SortASC") = "Yes"
End If
End If
Dim dt As DataTable = getData()
Dim dv As DataView = New DataView(dt)
dv.Sort = dataGrid.Attributes("SortExpression")
If dataGrid.Attributes("SortASC") = "No" Then
dv.Sort &= " DESC"
End If
dataGrid.CurrentPageIndex = 0
dataGrid.DataSource = dv
dataGrid.DataBind()

End Sub
QuestionHow to determine parent class Pin
Derec Roofie11-Nov-04 1:17
Derec Roofie11-Nov-04 1:17 
AnswerRe: How to determine parent class Pin
Colin Angus Mackay12-Nov-04 9:39
Colin Angus Mackay12-Nov-04 9:39 
QuestionHow to we add C++ code to .NET Application? Pin
pubududilena10-Nov-04 22:00
pubududilena10-Nov-04 22:00 
QuestionMDAC needed? Pin
the last free name10-Nov-04 21:38
the last free name10-Nov-04 21:38 
AnswerRe: MDAC needed? Pin
Steven Campbell11-Nov-04 15:07
Steven Campbell11-Nov-04 15:07 
GeneralAnyone want to help start a movement... Pin
Member 9610-Nov-04 12:15
Member 9610-Nov-04 12:15 
GeneralRe: Anyone want to help start a movement... Pin
Steven Campbell11-Nov-04 15:08
Steven Campbell11-Nov-04 15:08 
GeneralRe: Anyone want to help start a movement... Pin
Member 9611-Nov-04 16:44
Member 9611-Nov-04 16:44 
GeneralXML Serialization Pin
colin mcadam10-Nov-04 8:33
colin mcadam10-Nov-04 8:33 
General[Flags()] and Property window Pin
Palladino10-Nov-04 8:03
Palladino10-Nov-04 8:03 
GeneralSecurity problem Pin
fridtjof10-Nov-04 8:02
fridtjof10-Nov-04 8:02 
GeneralThreading(Monitor) Problem Pin
waiwai0910-Nov-04 3:20
waiwai0910-Nov-04 3:20 
Generalproblem in subdomin configuration using IIS Pin
memohsin19-Nov-04 23:24
memohsin19-Nov-04 23:24 
GeneralCode Converter from "C++" to "C#" Pin
Ahmed Kamal Aly9-Nov-04 22:33
Ahmed Kamal Aly9-Nov-04 22:33 
GeneralRe: Code Converter from "C++" to "C#" Pin
tom_dx10-Nov-04 12:40
tom_dx10-Nov-04 12:40 
Generalnew to .net MFC question Pin
Anonymous9-Nov-04 16:51
Anonymous9-Nov-04 16:51 
GeneralRe: new to .net MFC question Pin
tom_dx10-Nov-04 12:46
tom_dx10-Nov-04 12:46 

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.