I have a datagridview that is filled as follows:
I'd like to have some checkboxes to determine what rows are visible based on criteria set for certain fields. Any suggestions are greatly appreciated.Code:Private Sub cmdExecuteSproc(ByVal SO_Number As String, ByVal Prev_SO_Number As String) Dim spSteps As New SqlCommand("sproc_shop_order_get_recipe1", cnPMSQL) spSteps.Parameters.AddWithValue("@int_shop_order", SO_Number) spSteps.Parameters.AddWithValue("@int_prev_so", Prev_SO_Number) spSteps.CommandType = CommandType.StoredProcedure Dim StepsAdapter As SqlDataAdapter = New SqlDataAdapter(spSteps) tblSteps.Clear() StepsAdapter.Fill(tblSteps) End Sub 'cmdExecuteSproc()




Reply With Quote