No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
i have a form which once a button is clicked opens a new form via showdialog(). i want to send data from this new form back to the original form but am new to programming and have become very confused with the parent child relationships of forms. How would i … |
|
i have read many forums relating to getting the value of the selected row from the gridview and setting it to a textbox, however i cannot copy the code to my project. the code i have frequently seen is: [CODE] string selectedItem = MyGridView.SelectedRow.Cells[1].Text; textboxItem.Text = selectedItem; [/CODE] However in … |
|
i'm attempting to use a select statement which retrieves products 'LIKE' textbox.text. However, i am given an error and cannot find a solution private void buttonSearch_Click(object sender, EventArgs e) { if (radioButtonCustomerID.Checked == true) { try { sqlConnectionNW.Open(); sqlDataAdapterSearch.SelectCommand = "SELECT * FROM Customers WHERE (CustomerID LIKE'" + textBoxSearch.Text + … |