No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
SELECT SUM(value) as total FROM table; $row['total'];
i think you need to conect it in php.. to print in new page
I think it could be help you Dim timeOrderedRows = From row in DataSet.Tables("myTable") Order By row.Field(Of Date)("Time") For Each row As DataRow In timeOrderedRows Dim Time as Date = row.Field(Of Date)("Time") Dim Label as New Label Label.text = Time.ToString() FlowLayoutPanel.Controls.Add(Label) Next
Private Sub updatedgv() Dim conn As New MySqlConnection(My.Settings.myConn) Dim da As New MySqlDataAdapter Dim ds As New DataSet Dim str1 As String = "select * from tableName" da.SelectCommand = New MySqlCommand(str1, conn) da.Fill(ds) conn.Close() ProductDataGridView.DataSource = ds.Tables(0) End Sub
The End.
chuchaykaw18