Click here to Skip to main content
15,891,184 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionimport from excel Pin
alejx4-Oct-11 7:48
alejx4-Oct-11 7:48 
GeneralRe: import from excel Pin
Paladin20004-Oct-11 8:07
Paladin20004-Oct-11 8:07 
AnswerRe: import from excel Pin
Dalek Dave6-Oct-11 22:31
professionalDalek Dave6-Oct-11 22:31 
Question[solved] sorting a subset of a datatable in a different order Pin
Armigo4-Oct-11 2:16
Armigo4-Oct-11 2:16 
AnswerRe: sorting a subset of a datatable in a different order Pin
Dave Kreskowiak4-Oct-11 3:30
mveDave Kreskowiak4-Oct-11 3:30 
QuestionRe: sorting a subset of a datatable in a different order Pin
Armigo4-Oct-11 22:52
Armigo4-Oct-11 22:52 
AnswerRe: sorting a subset of a datatable in a different order Pin
Simon_Whale4-Oct-11 23:36
Simon_Whale4-Oct-11 23:36 
AnswerRe: sorting a subset of a datatable in a different order Pin
Dave Kreskowiak5-Oct-11 4:46
mveDave Kreskowiak5-Oct-11 4:46 
Well, You'd have to build your own DataView from the data in the DataTable object, adding the records you need in the order you need them. You will have to implement your own sorting algorithm to do this.

In your example, you'd have to add records 0 through 29, then create a collection of records 30 through 40, send that to be sorted, then add those sorted records to the view, then add the remaining records.

GeneralRe: sorting a subset of a datatable in a different order Pin
Armigo10-Oct-11 2:30
Armigo10-Oct-11 2:30 
AnswerRe: sorting a subset of a datatable in a different order Pin
Luc Pattyn4-Oct-11 4:08
sitebuilderLuc Pattyn4-Oct-11 4:08 
Questionadding a reference System.Web.UI Pin
Minenhle Ndlovu3-Oct-11 3:20
Minenhle Ndlovu3-Oct-11 3:20 
AnswerRe: adding a reference System.Web.UI Pin
Dave Kreskowiak3-Oct-11 3:39
mveDave Kreskowiak3-Oct-11 3:39 
AnswerRe: adding a reference System.Web.UI Pin
Luc Pattyn3-Oct-11 4:27
sitebuilderLuc Pattyn3-Oct-11 4:27 
AnswerRe: adding a reference System.Web.UI Pin
Simon_Whale3-Oct-11 4:46
Simon_Whale3-Oct-11 4:46 
AnswerRe: adding a reference System.Web.UI Pin
Eddy Vluggen3-Oct-11 8:30
professionalEddy Vluggen3-Oct-11 8:30 
QuestionHow to print multiple reportviewer report on a single button? Pin
C#Coudou2-Oct-11 13:46
C#Coudou2-Oct-11 13:46 
QuestionHow to create my own spammer with VBscript Pin
Shubhamraj1-Oct-11 20:01
Shubhamraj1-Oct-11 20:01 
AnswerRe: How to create my own spammer with VBscript Pin
Richard MacCutchan1-Oct-11 21:29
mveRichard MacCutchan1-Oct-11 21:29 
AnswerRe: How to create my own spammer with VBscript Pin
Dalek Dave1-Oct-11 22:44
professionalDalek Dave1-Oct-11 22:44 
GeneralRe: How to create my own spammer with VBscript Pin
Sander Rossel2-Oct-11 0:16
professionalSander Rossel2-Oct-11 0:16 
GeneralRe: How to create my own spammer with VBscript Pin
Richard MacCutchan2-Oct-11 1:49
mveRichard MacCutchan2-Oct-11 1:49 
AnswerRe: How to create my own spammer with VBscript Pin
Dave Kreskowiak2-Oct-11 1:57
mveDave Kreskowiak2-Oct-11 1:57 
AnswerRe: How to create my own spammer with VBscript Pin
Bert Mitton3-Oct-11 3:10
professionalBert Mitton3-Oct-11 3:10 
QuestionPlaying with services Pin
DeDelva30-Sep-11 2:15
DeDelva30-Sep-11 2:15 
AnswerRe: Playing with services Pin
Dave Kreskowiak30-Sep-11 3:36
mveDave Kreskowiak30-Sep-11 3:36 

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.