Click here to Skip to main content
15,911,531 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralVB2005 WPF Compilation problems Pin
Roberto Monza24-Aug-07 7:13
Roberto Monza24-Aug-07 7:13 
GeneralRe: VB2005 WPF Compilation problems Pin
kubben24-Aug-07 7:42
kubben24-Aug-07 7:42 
AnswerRe: HELP? NON RIESCO PIU' A COMPILARE Pin
Paul Conrad25-Aug-07 10:27
professionalPaul Conrad25-Aug-07 10:27 
QuestionWhat is wrong with my loop - VB.net Pin
Smokeywade24-Aug-07 3:56
Smokeywade24-Aug-07 3:56 
AnswerRe: What is wrong with my loop - VB.net Pin
Colin Angus Mackay24-Aug-07 5:02
Colin Angus Mackay24-Aug-07 5:02 
GeneralRe: What is wrong with my loop - VB.net Pin
Smokeywade24-Aug-07 7:16
Smokeywade24-Aug-07 7:16 
GeneralRe: What is wrong with my loop - VB.net Pin
Ian Shlasko24-Aug-07 7:27
Ian Shlasko24-Aug-07 7:27 
GeneralRe: What is wrong with my loop - VB.net Pin
Smokeywade24-Aug-07 8:48
Smokeywade24-Aug-07 8:48 
Thanks Ian for the Reply I've figured it out...
Ian Shlasko wrote:
What's "dc"?

DC is a datacolumn - and Expression is a class with in it. I will never ever - use datacolumn.expression again well maybe if I was using to columns in the grid it would of worked fine...

My resolution was so simple that it does not surprise me - the easier things are they harder they come


Dim cm1 As CurrencyManager = Me.BindingContext(dgOrderReport.DataSource, dgOrderReport.DataMember)<br />
            Dim dv As DataView = CType(cm1.List, DataView)<br />
            Dim row As Integer<br />
            For row = 0 To MyDataSet.Tables(0).Rows.Count - 1<br />
                If row = dv.Count Then<br />
                    Exit For<br />
                Else<br />
                    x = DateDiff("d", dgOrderReport.Item(row, 3), System.DateTime.Today)<br />
                    dgOrderReport.Item(row, 7) = x<br />
                    x = 0<br />
                    End If<br />
            Next row


Such a easy resolution - One day I will need datacolumn.expression but on that day I will forget all about it...



Thank You

QuestionUpdate data acces layer Pin
jesusnaun24-Aug-07 3:50
jesusnaun24-Aug-07 3:50 
AnswerRe: Update data acces layer Pin
Colin Angus Mackay24-Aug-07 5:10
Colin Angus Mackay24-Aug-07 5:10 
GeneralRe: Update data acces layer Pin
jesusnaun24-Aug-07 7:08
jesusnaun24-Aug-07 7:08 
GeneralRe: Update data acces layer Pin
Mark Churchill26-Aug-07 4:53
Mark Churchill26-Aug-07 4:53 
JokeRe: Update data acces layer Pin
Colin Angus Mackay26-Aug-07 5:39
Colin Angus Mackay26-Aug-07 5:39 
QuestionApplying CSS/JavaScript to a WebBrowser Control [modified] Pin
Nick Rioux24-Aug-07 2:43
Nick Rioux24-Aug-07 2:43 
AnswerRe: Applying CSS/JavaScript to a WebBrowser Control Pin
Dave Kreskowiak24-Aug-07 5:42
mveDave Kreskowiak24-Aug-07 5:42 
AnswerRe: Applying CSS/JavaScript to a WebBrowser Control Pin
Nick Rioux25-Aug-07 2:41
Nick Rioux25-Aug-07 2:41 
Questionwebbrowser Search Function Pin
Ahmad Zaidi24-Aug-07 2:32
Ahmad Zaidi24-Aug-07 2:32 
AnswerRe: webbrowser Search Function Pin
Nick Rioux24-Aug-07 2:47
Nick Rioux24-Aug-07 2:47 
QuestionMultiple Subreports [modified] Pin
Saranya B24-Aug-07 1:24
Saranya B24-Aug-07 1:24 
QuestionCannot display a control on panel in this way... Pin
BooleanTrue24-Aug-07 0:10
professionalBooleanTrue24-Aug-07 0:10 
AnswerRe: Cannot display a control on panel in this way... Pin
Dave Kreskowiak24-Aug-07 1:53
mveDave Kreskowiak24-Aug-07 1:53 
GeneralRe: Cannot display a control on panel in this way... Pin
BooleanTrue24-Aug-07 3:12
professionalBooleanTrue24-Aug-07 3:12 
GeneralRe: Cannot display a control on panel in this way... Pin
Dave Kreskowiak24-Aug-07 5:38
mveDave Kreskowiak24-Aug-07 5:38 
QuestionProblem in Mobile Incoming call detected Pin
Nimesh U23-Aug-07 23:53
Nimesh U23-Aug-07 23:53 
AnswerRe: Problem in Mobile Incoming call detected Pin
Dave Kreskowiak24-Aug-07 1:54
mveDave Kreskowiak24-Aug-07 1:54 

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.