Click here to Skip to main content
15,909,737 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Picture Box Control Pin
Christian Graus2-Jan-07 15:56
protectorChristian Graus2-Jan-07 15:56 
Questionntgraph in Access Pin
bakerjw2-Jan-07 6:04
bakerjw2-Jan-07 6:04 
Questionhow to change data source and keep queries Pin
Eric Georgiades2-Jan-07 4:53
Eric Georgiades2-Jan-07 4:53 
Questionhow can i use LineGetCountry() TAPI function in my Visual Basic project Pin
hihsh2-Jan-07 4:44
hihsh2-Jan-07 4:44 
AnswerRe: how can i use LineGetCountry() TAPI function in my Visual Basic project Pin
Dave Kreskowiak2-Jan-07 5:43
mveDave Kreskowiak2-Jan-07 5:43 
QuestionI need a source code that view installed applications and run them. Pin
MjRazzaghi2-Jan-07 4:33
MjRazzaghi2-Jan-07 4:33 
AnswerRe: I need a source code that view installed applications and run them. Pin
Dave Kreskowiak2-Jan-07 5:38
mveDave Kreskowiak2-Jan-07 5:38 
QuestionDatagrid format Pin
SilentBob1012-Jan-07 4:26
SilentBob1012-Jan-07 4:26 
I have the following code that fills a DataGrid

<small>
Dim strSQLCustomerTotals As String = "SELECT OrderID, OrderTotal, Ordered_On FROM OrderTotals WHERE CustomerID=" & intCustomerId
Dim strSQLCustomerOrders As String = "SELECT * FROM Orders WHERE CustomerID=" & intCustomerId
Dim dsCustomerTotals As New DataSet
Dim daCustomerTotals As New OleDbDataAdapter(strSQLCustomerTotals, dbConn)
Dim daCustomerOrders As New OleDbDataAdapter(strSQLCustomerOrders, dbConn)

daCustomerTotals.Fill(dsCustomerTotals, "OrderTotals")
daCustomerOrders.Fill(dsCustomerTotals, "Orders")

Dim dataRelations As New DataRelation("Orders", _
        dsCustomerTotals.Tables("OrderTotals").Columns("OrderID"), _
        dsCustomerTotals.Tables("Orders").Columns("OrderID"))

dsCustomerTotals.Relations.Add(dataRelations)
            
dgCustomerTotals.DataSource = dsCustomerTotals.Tables("OrderTotals")
</small>


The column Ordered_On in the (ms access) database is a timestamp and has the format dd/MM/yyyy HH:mm:ss.
When the DataGrid is filled it only shows dd/MM/yyyy.
How do I show the full timestamp in dd/MM/yyyy HH:mm:ss format in the DataGrid?
AnswerRe: Datagrid format Pin
Dave Kreskowiak2-Jan-07 5:37
mveDave Kreskowiak2-Jan-07 5:37 
QuestionVB2005 documentation generator Pin
Marc Soleda2-Jan-07 4:12
Marc Soleda2-Jan-07 4:12 
AnswerRe: VB2005 documentation generator Pin
Martin.Smith3-Jan-07 23:52
Martin.Smith3-Jan-07 23:52 
GeneralRe: VB2005 documentation generator Pin
Marc Soleda4-Jan-07 3:13
Marc Soleda4-Jan-07 3:13 
QuestionComparing pixels of an image Pin
Zaegra2-Jan-07 1:15
Zaegra2-Jan-07 1:15 
AnswerRe: Comparing pixels of an image Pin
roo4262-Jan-07 14:39
roo4262-Jan-07 14:39 
GeneralRe: Comparing pixels of an image Pin
Zaegra2-Jan-07 20:43
Zaegra2-Jan-07 20:43 
GeneralRe: Comparing pixels of an image Pin
roo4263-Jan-07 15:05
roo4263-Jan-07 15:05 
Questioncustom controls Pin
math072-Jan-07 1:10
math072-Jan-07 1:10 
AnswerRe: custom controls Pin
Dave Kreskowiak2-Jan-07 5:30
mveDave Kreskowiak2-Jan-07 5:30 
QuestionArray Conversion vb 6 syntax not working with .net Pin
AnailizeR2-Jan-07 0:28
AnailizeR2-Jan-07 0:28 
AnswerRe: Array Conversion vb 6 syntax not working with .net Pin
Martin.Smith2-Jan-07 1:25
Martin.Smith2-Jan-07 1:25 
AnswerRe: Array Conversion vb 6 syntax not working with .net Pin
Dave Kreskowiak2-Jan-07 5:25
mveDave Kreskowiak2-Jan-07 5:25 
AnswerRe: how to create custom controls Pin
Christian Graus2-Jan-07 0:03
protectorChristian Graus2-Jan-07 0:03 
QuestionForm Autosize Pin
WestSideRailways1-Jan-07 21:06
WestSideRailways1-Jan-07 21:06 
AnswerRe: Form Autosize Pin
MatrixCoder1-Jan-07 21:38
MatrixCoder1-Jan-07 21:38 
GeneralRe: Form Autosize Pin
Dave Kreskowiak2-Jan-07 5:22
mveDave Kreskowiak2-Jan-07 5:22 

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.