Click here to Skip to main content
15,923,689 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help with a code I can't seem to get work Pin
John McMahon11-Jun-10 7:33
John McMahon11-Jun-10 7:33 
GeneralRe: Help with a code I can't seem to get work Pin
Wes Aday11-Jun-10 7:41
professionalWes Aday11-Jun-10 7:41 
GeneralRe: Help with a code I can't seem to get work Pin
John McMahon11-Jun-10 7:42
John McMahon11-Jun-10 7:42 
QuestionStop formatting of datagridview cell [solved] Pin
chrispowell1234511-Jun-10 1:01
chrispowell1234511-Jun-10 1:01 
AnswerRe: Stop formatting of datagridview cell Pin
Wayne Gaylard11-Jun-10 1:30
professionalWayne Gaylard11-Jun-10 1:30 
GeneralRe: Stop formatting of datagridview cell Pin
chrispowell1234511-Jun-10 3:01
chrispowell1234511-Jun-10 3:01 
GeneralRe: Stop formatting of datagridview cell Pin
Wayne Gaylard11-Jun-10 3:34
professionalWayne Gaylard11-Jun-10 3:34 
GeneralRe: Stop formatting of datagridview cell Pin
chrispowell1234511-Jun-10 5:11
chrispowell1234511-Jun-10 5:11 
hi,

thanks for that, I think it would work.....

I figured another way around it when you asked about the method i was using to get the data:

While count <= fieldnoend
                grid.Rows.Add()
                grid.Item(0, rowcount).Value = rows(rowcount)
                Try
                    grid.Item(1, rowcount).Value = drgetcusfile.GetString(count)
                    grid.Item(1, rowcount).Value = DateTime.ParseExact(grid.Item(1, rowcount).Value, "yyyy-MM-dd", Nothing).ToShortDateString()
                Catch ex As Exception
                End Try
                count += 1
                rowcount += 1
            End While


the Datareader.GetString method is what I was looking for to get the exact string on the database, so I can try to parse it into a decent looking date.

Chris
GeneralRe: Stop formatting of datagridview cell Pin
Luc Pattyn11-Jun-10 6:40
sitebuilderLuc Pattyn11-Jun-10 6:40 
GeneralRe: Stop formatting of datagridview cell Pin
Wayne Gaylard11-Jun-10 16:53
professionalWayne Gaylard11-Jun-10 16:53 
GeneralRe: Stop formatting of datagridview cell Pin
Luc Pattyn11-Jun-10 17:15
sitebuilderLuc Pattyn11-Jun-10 17:15 
GeneralRe: Stop formatting of datagridview cell Pin
chrispowell1234513-Jun-10 22:30
chrispowell1234513-Jun-10 22:30 
GeneralRe: Stop formatting of datagridview cell Pin
Wayne Gaylard14-Jun-10 20:22
professionalWayne Gaylard14-Jun-10 20:22 
AnswerRe: Stop formatting of datagridview cell Pin
ddecoy11-Jun-10 1:31
ddecoy11-Jun-10 1:31 
GeneralRe: Stop formatting of datagridview cell Pin
ddecoy11-Jun-10 1:32
ddecoy11-Jun-10 1:32 
AnswerRe: Stop formatting of datagridview cell Pin
Luc Pattyn11-Jun-10 3:40
sitebuilderLuc Pattyn11-Jun-10 3:40 
QuestionDetermining if WindowsForm is open and closing it Pin
Member 442053410-Jun-10 21:39
Member 442053410-Jun-10 21:39 
AnswerRe: Determining if WindowsForm is open and closing it Pin
freakyit10-Jun-10 22:10
freakyit10-Jun-10 22:10 
GeneralRe: Determining if WindowsForm is open and closing it Pin
Member 442053410-Jun-10 22:55
Member 442053410-Jun-10 22:55 
AnswerRe: Determining if WindowsForm is open and closing it Pin
Wayne Gaylard10-Jun-10 23:20
professionalWayne Gaylard10-Jun-10 23:20 
GeneralRe: Determining if WindowsForm is open and closing it Pin
Member 442053410-Jun-10 23:35
Member 442053410-Jun-10 23:35 
GeneralRe: Determining if WindowsForm is open and closing it Pin
Wayne Gaylard11-Jun-10 0:56
professionalWayne Gaylard11-Jun-10 0:56 
QuestionHow to use merge module for two VB6 projects Pin
Andraw Tang10-Jun-10 11:53
Andraw Tang10-Jun-10 11:53 
AnswerRe: How to use merge module for two VB6 projects Pin
Eddy Vluggen11-Jun-10 5:19
professionalEddy Vluggen11-Jun-10 5:19 
GeneralRe: How to use merge module for two VB6 projects Pin
Andraw Tang11-Jun-10 5:33
Andraw Tang11-Jun-10 5:33 

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.