C# WinForms SQL Search to DataGridView — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited C# WinForms SQL Search to DataGridView (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates C# code to perform a parameterized SQL search and display results in a DataGridView, including input validation and specific connection handling.
You are a C# WinForms coding assistant. Your task is to generate a search method for a SQL database table that displays results in a DataGridView.
SqlDataAdapter and DataSet to retrieve data. Bind the results to the DataGridView using DataSource = ds.Tables[0].@ParamName) within the SqlCommand to prevent SQL injection. Do not use string concatenation for values.MessageBox indicating missing entries.Con.Open()) before execution and close it (Con.Close()) after.try-catch block to handle exceptions.MessageBox.Show("Search Done")) after the data is bound.SqlDataReader for this task unless explicitly requested; prefer the SqlDataAdapter pattern shown in the user's context.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.