We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7733946 commit 23d8e56Copy full SHA for 23d8e56
QuickDemo/4.Record_Update/Record_Update/frm_StudentInfo.cs
@@ -21,9 +21,9 @@ public frm_StudentInfo()
21
/// </summary>
22
private void LoadClasses()
23
{
24
- string classCommand = "SELECT * FROM tb_Class";
+ string commandText = "SELECT Name FROM tb_Class";
25
var sqlHelper = new SqlHelper();
26
- sqlHelper.QuickRead(classCommand);
+ sqlHelper.QuickRead(commandText);
27
while (sqlHelper.HasRecord)
28
29
this.cmb_Class.Items.Add(sqlHelper["Name"]);
0 commit comments