Is there anyway to save what I type? Ex. Im online and I start searching things, is there anyway to go back and see a list or something of all of the things I typed?
I discribe brief idea and you'll finished it. This solution lack a Database to store the data, so you might need to create one:
'The public value Public Dt As DataTable = GetTable() Function GetTable() As DataTable Dim table As New DataTable table.Columns.Add("Text", GetType(String)) table.Columns.Add("Date", GetType(DateTime)) Return table End Function 'In form which contains textbox Private Sub TextBox1_Validated(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Validated If TextBox1.Text <> "" Then Dim Dr As DataRow = Dt.NewRow Dr.Item(0) = TextBox1.Text Dr.Item(1) = Now.ToString() Dt.Rows.Add(Dr) Dr = Nothing End If End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click FormDgv1.Show() End Sub 'FormDgv1: form contains datgridview to show history: Private Sub FormDgv1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.DataGridView1.DataSource = Dt Me.DataGridView1.Sort(DataGridView1.SelectedColumns("Date"), System.ComponentModel.ListSortDirection.Descending) End Sub
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...
Hi. so this is actually a continuation from another question of mineHere but i was advised to start a new thread as the original question was already answered.
This is the result of previous question answered :
code for the listbox - datagridview interaction
At the top of the code ...