diff --git a/TestWins/.vs/ProjectEvaluation/testwins.metadata.v10.bin b/TestWins/.vs/ProjectEvaluation/testwins.metadata.v10.bin
new file mode 100644
index 0000000..0ef3ff5
Binary files /dev/null and b/TestWins/.vs/ProjectEvaluation/testwins.metadata.v10.bin differ
diff --git a/TestWins/.vs/ProjectEvaluation/testwins.projects.v10.bin b/TestWins/.vs/ProjectEvaluation/testwins.projects.v10.bin
new file mode 100644
index 0000000..9dee035
Binary files /dev/null and b/TestWins/.vs/ProjectEvaluation/testwins.projects.v10.bin differ
diff --git a/TestWins/.vs/ProjectEvaluation/testwins.strings.v10.bin b/TestWins/.vs/ProjectEvaluation/testwins.strings.v10.bin
new file mode 100644
index 0000000..3bca6ce
Binary files /dev/null and b/TestWins/.vs/ProjectEvaluation/testwins.strings.v10.bin differ
diff --git a/TestWins/.vs/TestWins/DesignTimeBuild/.dtbcache.v2 b/TestWins/.vs/TestWins/DesignTimeBuild/.dtbcache.v2
new file mode 100644
index 0000000..f542183
Binary files /dev/null and b/TestWins/.vs/TestWins/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/TestWins/.vs/TestWins/FileContentIndex/b839bf6e-4564-46de-8071-a691844ca2ab.vsidx b/TestWins/.vs/TestWins/FileContentIndex/b839bf6e-4564-46de-8071-a691844ca2ab.vsidx
new file mode 100644
index 0000000..a992adc
Binary files /dev/null and b/TestWins/.vs/TestWins/FileContentIndex/b839bf6e-4564-46de-8071-a691844ca2ab.vsidx differ
diff --git a/TestWins/.vs/TestWins/FileContentIndex/ffb1dbce-b246-41b4-b6ef-d472fac57ad4.vsidx b/TestWins/.vs/TestWins/FileContentIndex/ffb1dbce-b246-41b4-b6ef-d472fac57ad4.vsidx
new file mode 100644
index 0000000..910eed8
Binary files /dev/null and b/TestWins/.vs/TestWins/FileContentIndex/ffb1dbce-b246-41b4-b6ef-d472fac57ad4.vsidx differ
diff --git a/TestWins/.vs/TestWins/v18/.futdcache.v2 b/TestWins/.vs/TestWins/v18/.futdcache.v2
new file mode 100644
index 0000000..31511ee
Binary files /dev/null and b/TestWins/.vs/TestWins/v18/.futdcache.v2 differ
diff --git a/TestWins/.vs/TestWins/v18/.suo b/TestWins/.vs/TestWins/v18/.suo
new file mode 100644
index 0000000..0904443
Binary files /dev/null and b/TestWins/.vs/TestWins/v18/.suo differ
diff --git a/TestWins/.vs/TestWins/v18/DocumentLayout.json b/TestWins/.vs/TestWins/v18/DocumentLayout.json
new file mode 100644
index 0000000..035341a
--- /dev/null
+++ b/TestWins/.vs/TestWins/v18/DocumentLayout.json
@@ -0,0 +1,70 @@
+{
+ "Version": 1,
+ "WorkspaceRootPath": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\",
+ "Documents": [
+ {
+ "AbsoluteMoniker": "D:0:0:{BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}|TestWins.csproj|c:\\users\\lynsy\\source\\repos\\winforms-sql-connection\\testwins\\model\\connectionsql.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}|TestWins.csproj|solutionrelative:model\\connectionsql.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ },
+ {
+ "AbsoluteMoniker": "D:0:0:{BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}|TestWins.csproj|c:\\users\\lynsy\\source\\repos\\winforms-sql-connection\\testwins\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}|TestWins.csproj|solutionrelative:form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ },
+ {
+ "AbsoluteMoniker": "D:0:0:{BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}|TestWins.csproj|c:\\users\\lynsy\\source\\repos\\winforms-sql-connection\\testwins\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
+ "RelativeMoniker": "D:0:0:{BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}|TestWins.csproj|solutionrelative:form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
+ }
+ ],
+ "DocumentGroupContainers": [
+ {
+ "Orientation": 0,
+ "VerticalTabListWidth": 256,
+ "DocumentGroups": [
+ {
+ "DockedWidth": 200,
+ "SelectedChildIndex": 0,
+ "Children": [
+ {
+ "$type": "Document",
+ "DocumentIndex": 0,
+ "Title": "ConnectionSql.cs",
+ "DocumentMoniker": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\model\\ConnectionSql.cs",
+ "RelativeDocumentMoniker": "model\\ConnectionSql.cs",
+ "ToolTip": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\model\\ConnectionSql.cs",
+ "RelativeToolTip": "model\\ConnectionSql.cs",
+ "ViewState": "AgIAAAoAAAAAAAAAAAAzwAgAAAAmAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-03-29T02:14:55.393Z",
+ "EditorCaption": ""
+ },
+ {
+ "$type": "Document",
+ "DocumentIndex": 2,
+ "Title": "Form1.cs [Design]",
+ "DocumentMoniker": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\Form1.cs",
+ "RelativeDocumentMoniker": "Form1.cs",
+ "ToolTip": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\Form1.cs [Design]",
+ "RelativeToolTip": "Form1.cs [Design]",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-03-29T02:10:30.853Z",
+ "EditorCaption": " [Design]"
+ },
+ {
+ "$type": "Document",
+ "DocumentIndex": 1,
+ "Title": "Form1.cs",
+ "DocumentMoniker": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\Form1.cs",
+ "RelativeDocumentMoniker": "Form1.cs",
+ "ToolTip": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\Form1.cs",
+ "RelativeToolTip": "Form1.cs",
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAABMAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-03-29T02:08:31.126Z",
+ "EditorCaption": ""
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/TestWins/Form1.cs b/TestWins/Form1.cs
index fcefc88..c0f9e13 100644
--- a/TestWins/Form1.cs
+++ b/TestWins/Form1.cs
@@ -6,7 +6,6 @@ namespace TestWins;
public partial class Form1 : Form
{
//business
-
private readonly StudentController controller = new StudentController();
public Form1()
{
@@ -21,23 +20,45 @@ private void loadData()
private void btnAdd_Click(object sender, EventArgs e)
{
-
+ var student = new TestWins.Model.Student
+ {
+ studentId = txtStudentId.Text,
+ Name = txtName.Text,
+ age = int.Parse(txtAge.Text),
+ course = txtCourse.Text
+ };
+ controller.createStudent(student);
+ loadData();
}
private void btnUpdate_Click(object sender, EventArgs e)
{
-
+ var student = new TestWins.Model.Student
+ {
+ studentId = txtStudentId.Text,
+ Name = txtName.Text,
+ age = int.Parse(txtAge.Text),
+ course = txtCourse.Text
+ };
+ controller.update(student);
+ loadData();
}
private void btnDelete_Click(object sender, EventArgs e)
{
-
-
-
+ controller.delete(txtStudentId.Text);
+ loadData();
}
private void dataGridView1_CellClick(object sender, EventArgs e)
{
-
+ if (dataGridView1.CurrentRow != null)
+ {
+ DataGridViewRow row = dataGridView1.CurrentRow;
+ txtStudentId.Text = row.Cells[0].Value.ToString();
+ txtName.Text = row.Cells[1].Value.ToString();
+ txtAge.Text = row.Cells[2].Value.ToString();
+ txtCourse.Text = row.Cells[3].Value.ToString();
+ }
}
-}
+}
\ No newline at end of file
diff --git a/TestWins/Form1.resx b/TestWins/Form1.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/TestWins/Form1.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/TestWins/TestWins.csproj.user b/TestWins/TestWins.csproj.user
index 7814ea2..3a34caa 100644
--- a/TestWins/TestWins.csproj.user
+++ b/TestWins/TestWins.csproj.user
@@ -1,8 +1,8 @@
-
-
- Form
-
-
-
+
+
+ Form
+
+
+
\ No newline at end of file
diff --git a/TestWins/TestWins.sln b/TestWins/TestWins.sln
new file mode 100644
index 0000000..859150d
--- /dev/null
+++ b/TestWins/TestWins.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 18
+VisualStudioVersion = 18.4.11620.152 stable
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestWins", "TestWins.csproj", "{BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BC1CB1E5-1993-9331-1E7F-FDD0EEE0CF3C}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {42874CFB-6584-44BB-9FF4-63C7EB8A53E5}
+ EndGlobalSection
+EndGlobal
diff --git a/TestWins/bin/Debug/net10.0-windows/TestWins.dll b/TestWins/bin/Debug/net10.0-windows/TestWins.dll
index 5014a80..5fe5ed8 100644
Binary files a/TestWins/bin/Debug/net10.0-windows/TestWins.dll and b/TestWins/bin/Debug/net10.0-windows/TestWins.dll differ
diff --git a/TestWins/bin/Debug/net10.0-windows/TestWins.exe b/TestWins/bin/Debug/net10.0-windows/TestWins.exe
index 7353174..e44df8c 100644
Binary files a/TestWins/bin/Debug/net10.0-windows/TestWins.exe and b/TestWins/bin/Debug/net10.0-windows/TestWins.exe differ
diff --git a/TestWins/bin/Debug/net10.0-windows/TestWins.pdb b/TestWins/bin/Debug/net10.0-windows/TestWins.pdb
index 9ea84e9..ac00d1c 100644
Binary files a/TestWins/bin/Debug/net10.0-windows/TestWins.pdb and b/TestWins/bin/Debug/net10.0-windows/TestWins.pdb differ
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.AssemblyInfo.cs b/TestWins/obj/Debug/net10.0-windows/TestWins.AssemblyInfo.cs
index d494c78..d68c334 100644
--- a/TestWins/obj/Debug/net10.0-windows/TestWins.AssemblyInfo.cs
+++ b/TestWins/obj/Debug/net10.0-windows/TestWins.AssemblyInfo.cs
@@ -1,6 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -13,7 +14,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("TestWins")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c96994ba0a1020367c306f29e28a76ed38cb5931")]
[assembly: System.Reflection.AssemblyProductAttribute("TestWins")]
[assembly: System.Reflection.AssemblyTitleAttribute("TestWins")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.AssemblyInfoInputs.cache b/TestWins/obj/Debug/net10.0-windows/TestWins.AssemblyInfoInputs.cache
index 41aaa12..045d7ec 100644
--- a/TestWins/obj/Debug/net10.0-windows/TestWins.AssemblyInfoInputs.cache
+++ b/TestWins/obj/Debug/net10.0-windows/TestWins.AssemblyInfoInputs.cache
@@ -1 +1 @@
-307b151dc3731d875c703fd6d93b2b0364150598c75e98642e29670c540bf17b
+5da3b5b84f173e012b2a22f201ea71159118ac283887817c1fd9652c5a09121a
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.Form1.resources b/TestWins/obj/Debug/net10.0-windows/TestWins.Form1.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/TestWins/obj/Debug/net10.0-windows/TestWins.Form1.resources differ
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.GeneratedMSBuildEditorConfig.editorconfig b/TestWins/obj/Debug/net10.0-windows/TestWins.GeneratedMSBuildEditorConfig.editorconfig
index 85cb852..2300b53 100644
--- a/TestWins/obj/Debug/net10.0-windows/TestWins.GeneratedMSBuildEditorConfig.editorconfig
+++ b/TestWins/obj/Debug/net10.0-windows/TestWins.GeneratedMSBuildEditorConfig.editorconfig
@@ -16,7 +16,7 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = TestWins
-build_property.ProjectDir = C:\Users\jerem\Desktop\satwins\TestWins\
+build_property.ProjectDir = C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.CsWinRTUseWindowsUIXamlProjections = false
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.assets.cache b/TestWins/obj/Debug/net10.0-windows/TestWins.assets.cache
index 82e4a75..2db3d74 100644
Binary files a/TestWins/obj/Debug/net10.0-windows/TestWins.assets.cache and b/TestWins/obj/Debug/net10.0-windows/TestWins.assets.cache differ
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.AssemblyReference.cache b/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.AssemblyReference.cache
index 845d24b..b31c7da 100644
Binary files a/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.AssemblyReference.cache and b/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.AssemblyReference.cache differ
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.BuildWithSkipAnalyzers b/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.BuildWithSkipAnalyzers
new file mode 100644
index 0000000..e69de29
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.CoreCompileInputs.cache b/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.CoreCompileInputs.cache
index 593ab2f..1a6b879 100644
--- a/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.CoreCompileInputs.cache
+++ b/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-8470e09a9127a50da3cb6b88e90f892357536e876f3eb69530322f58d6cdd3ee
+79a13782bd3db15fcfcbfeefbf5a125353d75c293e29f1adf688d5c8ba117978
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.FileListAbsolute.txt b/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.FileListAbsolute.txt
index 3254704..97dd542 100644
--- a/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.FileListAbsolute.txt
+++ b/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.FileListAbsolute.txt
@@ -26,3 +26,34 @@ C:\Users\jerem\Desktop\satwins\TestWins\bin\Debug\net10.0-windows\runtimes\win-x
C:\Users\jerem\Desktop\satwins\TestWins\bin\Debug\net10.0-windows\runtimes\win-x64\native\krb5_64.dll
C:\Users\jerem\Desktop\satwins\TestWins\bin\Debug\net10.0-windows\runtimes\win-x64\native\krbcc64.dll
C:\Users\jerem\Desktop\satwins\TestWins\obj\Debug\net10.0-windows\TestWins.csproj.Up2Date
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\TestWins.exe
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\TestWins.deps.json
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\TestWins.runtimeconfig.json
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\TestWins.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\TestWins.pdb
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\BouncyCastle.Cryptography.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\Google.Protobuf.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\K4os.Compression.LZ4.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\K4os.Compression.LZ4.Streams.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\K4os.Hash.xxHash.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\MySql.Data.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\ZstdSharp.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\runtimes\win-x64\native\comerr64.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\runtimes\win-x64\native\gssapi64.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\runtimes\win-x64\native\k5sprt64.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\runtimes\win-x64\native\krb5_64.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\bin\Debug\net10.0-windows\runtimes\win-x64\native\krbcc64.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.csproj.AssemblyReference.cache
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.Form1.resources
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.csproj.GenerateResource.cache
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.GeneratedMSBuildEditorConfig.editorconfig
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.AssemblyInfoInputs.cache
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.AssemblyInfo.cs
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.csproj.CoreCompileInputs.cache
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.sourcelink.json
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.csproj.Up2Date
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\refint\TestWins.dll
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.pdb
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\TestWins.genruntimeconfig.cache
+C:\Users\Lynsy\source\repos\winforms-sql-connection\TestWins\obj\Debug\net10.0-windows\ref\TestWins.dll
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.GenerateResource.cache b/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.GenerateResource.cache
new file mode 100644
index 0000000..052230a
Binary files /dev/null and b/TestWins/obj/Debug/net10.0-windows/TestWins.csproj.GenerateResource.cache differ
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.designer.deps.json b/TestWins/obj/Debug/net10.0-windows/TestWins.designer.deps.json
new file mode 100644
index 0000000..79bdce7
--- /dev/null
+++ b/TestWins/obj/Debug/net10.0-windows/TestWins.designer.deps.json
@@ -0,0 +1,155 @@
+{
+ "runtimeTarget": {
+ "name": ".NETCoreApp,Version=v10.0",
+ "signature": ""
+ },
+ "compilationOptions": {},
+ "targets": {
+ ".NETCoreApp,Version=v10.0": {
+ "BouncyCastle.Cryptography/2.6.2": {
+ "runtime": {
+ "lib/net6.0/BouncyCastle.Cryptography.dll": {
+ "assemblyVersion": "2.0.0.0",
+ "fileVersion": "2.6.2.46322"
+ }
+ }
+ },
+ "Google.Protobuf/3.32.0": {
+ "runtime": {
+ "lib/net5.0/Google.Protobuf.dll": {
+ "assemblyVersion": "3.32.0.0",
+ "fileVersion": "3.32.0.0"
+ }
+ }
+ },
+ "K4os.Compression.LZ4/1.3.8": {
+ "runtime": {
+ "lib/net6.0/K4os.Compression.LZ4.dll": {
+ "assemblyVersion": "1.3.8.0",
+ "fileVersion": "1.3.8.0"
+ }
+ }
+ },
+ "K4os.Compression.LZ4.Streams/1.3.8": {
+ "dependencies": {
+ "K4os.Compression.LZ4": "1.3.8",
+ "K4os.Hash.xxHash": "1.0.8"
+ },
+ "runtime": {
+ "lib/net6.0/K4os.Compression.LZ4.Streams.dll": {
+ "assemblyVersion": "1.3.8.0",
+ "fileVersion": "1.3.8.0"
+ }
+ }
+ },
+ "K4os.Hash.xxHash/1.0.8": {
+ "runtime": {
+ "lib/net6.0/K4os.Hash.xxHash.dll": {
+ "assemblyVersion": "1.0.8.0",
+ "fileVersion": "1.0.8.0"
+ }
+ }
+ },
+ "MySql.Data/9.6.0": {
+ "dependencies": {
+ "BouncyCastle.Cryptography": "2.6.2",
+ "Google.Protobuf": "3.32.0",
+ "K4os.Compression.LZ4.Streams": "1.3.8",
+ "ZstdSharp.Port": "0.8.6"
+ },
+ "runtime": {
+ "lib/net10.0/MySql.Data.dll": {
+ "assemblyVersion": "9.6.0.0",
+ "fileVersion": "9.6.0.0"
+ }
+ },
+ "runtimeTargets": {
+ "runtimes/win-x64/native/comerr64.dll": {
+ "rid": "win-x64",
+ "assetType": "native",
+ "fileVersion": "4.3.0.1"
+ },
+ "runtimes/win-x64/native/gssapi64.dll": {
+ "rid": "win-x64",
+ "assetType": "native",
+ "fileVersion": "4.3.0.1"
+ },
+ "runtimes/win-x64/native/k5sprt64.dll": {
+ "rid": "win-x64",
+ "assetType": "native",
+ "fileVersion": "4.3.0.1"
+ },
+ "runtimes/win-x64/native/krb5_64.dll": {
+ "rid": "win-x64",
+ "assetType": "native",
+ "fileVersion": "4.3.0.1"
+ },
+ "runtimes/win-x64/native/krbcc64.dll": {
+ "rid": "win-x64",
+ "assetType": "native",
+ "fileVersion": "4.3.0.1"
+ }
+ }
+ },
+ "ZstdSharp.Port/0.8.6": {
+ "runtime": {
+ "lib/net9.0/ZstdSharp.dll": {
+ "assemblyVersion": "0.8.6.0",
+ "fileVersion": "0.8.6.0"
+ }
+ }
+ }
+ }
+ },
+ "libraries": {
+ "BouncyCastle.Cryptography/2.6.2": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-7oWOcvnntmMKNzDLsdxAYqApt+AjpRpP2CShjMfIa3umZ42UQMvH0tl1qAliYPNYO6vTdcGMqnRrCPmsfzTI1w==",
+ "path": "bouncycastle.cryptography/2.6.2",
+ "hashPath": "bouncycastle.cryptography.2.6.2.nupkg.sha512"
+ },
+ "Google.Protobuf/3.32.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-fsKxV5bhcvXmZi+cUo5+IxzRMBHwHeFO8G5utNa9f+Mu37kmfy8JcUVvWPt4cX7EuQWAjjHUjZqVl7nGSTRHRg==",
+ "path": "google.protobuf/3.32.0",
+ "hashPath": "google.protobuf.3.32.0.nupkg.sha512"
+ },
+ "K4os.Compression.LZ4/1.3.8": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-LhwlPa7c1zs1OV2XadMtAWdImjLIsqFJPoRcIWAadSRn0Ri1DepK65UbWLPmt4riLqx2d40xjXRk0ogpqNtK7g==",
+ "path": "k4os.compression.lz4/1.3.8",
+ "hashPath": "k4os.compression.lz4.1.3.8.nupkg.sha512"
+ },
+ "K4os.Compression.LZ4.Streams/1.3.8": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-P15qr8dZAeo9GvYbUIPEYFQ0MEJ0i5iqr37wsYeRC3la2uCldOoeCa6to0CZ1taiwxIV+Mk8NGuZi+4iWivK9w==",
+ "path": "k4os.compression.lz4.streams/1.3.8",
+ "hashPath": "k4os.compression.lz4.streams.1.3.8.nupkg.sha512"
+ },
+ "K4os.Hash.xxHash/1.0.8": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-Wp2F7BamQ2Q/7Hk834nV9vRQapgcr8kgv9Jvfm8J3D0IhDqZMMl+a2yxUq5ltJitvXvQfB8W6K4F4fCbw/P6YQ==",
+ "path": "k4os.hash.xxhash/1.0.8",
+ "hashPath": "k4os.hash.xxhash.1.0.8.nupkg.sha512"
+ },
+ "MySql.Data/9.6.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-jjCXNBxLLQHBcyYyOP4yp5jqljStH2qGFXXg3jBMdwYQk9ihpLH9BXoMyc/J3421pENBDjCf/eGi9Ow0Ib7LUA==",
+ "path": "mysql.data/9.6.0",
+ "hashPath": "mysql.data.9.6.0.nupkg.sha512"
+ },
+ "ZstdSharp.Port/0.8.6": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-iP4jVLQoQmUjMU88g1WObiNr6YKZGvh4aOXn3yOJsHqZsflwRsxZPcIBvNXgjXO3vQKSLctXGLTpcBPLnWPS8A==",
+ "path": "zstdsharp.port/0.8.6",
+ "hashPath": "zstdsharp.port.0.8.6.nupkg.sha512"
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.designer.runtimeconfig.json b/TestWins/obj/Debug/net10.0-windows/TestWins.designer.runtimeconfig.json
new file mode 100644
index 0000000..8a99de7
--- /dev/null
+++ b/TestWins/obj/Debug/net10.0-windows/TestWins.designer.runtimeconfig.json
@@ -0,0 +1,25 @@
+{
+ "runtimeOptions": {
+ "tfm": "net10.0",
+ "frameworks": [
+ {
+ "name": "Microsoft.NETCore.App",
+ "version": "10.0.0"
+ },
+ {
+ "name": "Microsoft.WindowsDesktop.App",
+ "version": "10.0.0"
+ }
+ ],
+ "additionalProbingPaths": [
+ "C:\\Users\\Lynsy\\.dotnet\\store\\|arch|\\|tfm|",
+ "C:\\Users\\Lynsy\\.nuget\\packages",
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
+ "configProperties": {
+ "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
+ "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false,
+ "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
+ }
+ }
+}
\ No newline at end of file
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.dll b/TestWins/obj/Debug/net10.0-windows/TestWins.dll
index 5014a80..5fe5ed8 100644
Binary files a/TestWins/obj/Debug/net10.0-windows/TestWins.dll and b/TestWins/obj/Debug/net10.0-windows/TestWins.dll differ
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.genruntimeconfig.cache b/TestWins/obj/Debug/net10.0-windows/TestWins.genruntimeconfig.cache
index 6cc9774..6f60a50 100644
--- a/TestWins/obj/Debug/net10.0-windows/TestWins.genruntimeconfig.cache
+++ b/TestWins/obj/Debug/net10.0-windows/TestWins.genruntimeconfig.cache
@@ -1 +1 @@
-6a5cb6df256d63a9a88e18e905a54dfac45e83bae0ad0ff706d166e0667f2fa8
+4a3a20c82cde9dddd88aa60b30f905eb0834886effbab59a660275cf43e76af0
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.pdb b/TestWins/obj/Debug/net10.0-windows/TestWins.pdb
index 9ea84e9..ac00d1c 100644
Binary files a/TestWins/obj/Debug/net10.0-windows/TestWins.pdb and b/TestWins/obj/Debug/net10.0-windows/TestWins.pdb differ
diff --git a/TestWins/obj/Debug/net10.0-windows/TestWins.sourcelink.json b/TestWins/obj/Debug/net10.0-windows/TestWins.sourcelink.json
new file mode 100644
index 0000000..9f4c8c0
--- /dev/null
+++ b/TestWins/obj/Debug/net10.0-windows/TestWins.sourcelink.json
@@ -0,0 +1 @@
+{"documents":{"C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\*":"https://raw.githubusercontent.com/lix-elle/winforms-sql-connection/c96994ba0a1020367c306f29e28a76ed38cb5931/*"}}
\ No newline at end of file
diff --git a/TestWins/obj/Debug/net10.0-windows/apphost.exe b/TestWins/obj/Debug/net10.0-windows/apphost.exe
index 7353174..e44df8c 100644
Binary files a/TestWins/obj/Debug/net10.0-windows/apphost.exe and b/TestWins/obj/Debug/net10.0-windows/apphost.exe differ
diff --git a/TestWins/obj/Debug/net10.0-windows/ref/TestWins.dll b/TestWins/obj/Debug/net10.0-windows/ref/TestWins.dll
index ec0aafe..0cc9364 100644
Binary files a/TestWins/obj/Debug/net10.0-windows/ref/TestWins.dll and b/TestWins/obj/Debug/net10.0-windows/ref/TestWins.dll differ
diff --git a/TestWins/obj/Debug/net10.0-windows/refint/TestWins.dll b/TestWins/obj/Debug/net10.0-windows/refint/TestWins.dll
index ec0aafe..0cc9364 100644
Binary files a/TestWins/obj/Debug/net10.0-windows/refint/TestWins.dll and b/TestWins/obj/Debug/net10.0-windows/refint/TestWins.dll differ
diff --git a/TestWins/obj/TestWins.csproj.nuget.dgspec.json b/TestWins/obj/TestWins.csproj.nuget.dgspec.json
index c66b90e..fd9eac4 100644
--- a/TestWins/obj/TestWins.csproj.nuget.dgspec.json
+++ b/TestWins/obj/TestWins.csproj.nuget.dgspec.json
@@ -1,23 +1,23 @@
{
"format": 1,
"restore": {
- "C:\\Users\\jerem\\Desktop\\satwins\\TestWins\\TestWins.csproj": {}
+ "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\TestWins.csproj": {}
},
"projects": {
- "C:\\Users\\jerem\\Desktop\\satwins\\TestWins\\TestWins.csproj": {
+ "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\TestWins.csproj": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "C:\\Users\\jerem\\Desktop\\satwins\\TestWins\\TestWins.csproj",
+ "projectUniqueName": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\TestWins.csproj",
"projectName": "TestWins",
- "projectPath": "C:\\Users\\jerem\\Desktop\\satwins\\TestWins\\TestWins.csproj",
- "packagesPath": "C:\\Users\\jerem\\.nuget\\packages\\",
- "outputPath": "C:\\Users\\jerem\\Desktop\\satwins\\TestWins\\obj\\",
+ "projectPath": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\TestWins.csproj",
+ "packagesPath": "C:\\Users\\Lynsy\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
- "C:\\Users\\jerem\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Users\\Lynsy\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
@@ -44,7 +44,7 @@
"auditLevel": "low",
"auditMode": "all"
},
- "SdkAnalysisLevel": "10.0.100"
+ "SdkAnalysisLevel": "10.0.200"
},
"frameworks": {
"net10.0-windows7.0": {
@@ -74,7 +74,7 @@
"privateAssets": "none"
}
},
- "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.101/PortableRuntimeIdentifierGraph.json",
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.201/PortableRuntimeIdentifierGraph.json",
"packagesToPrune": {
"Microsoft.CSharp": "(,4.7.32767]",
"Microsoft.VisualBasic": "(,10.4.32767]",
diff --git a/TestWins/obj/TestWins.csproj.nuget.g.props b/TestWins/obj/TestWins.csproj.nuget.g.props
index 6f9ae16..dd4c7bf 100644
--- a/TestWins/obj/TestWins.csproj.nuget.g.props
+++ b/TestWins/obj/TestWins.csproj.nuget.g.props
@@ -5,12 +5,12 @@
NuGet
$(MSBuildThisFileDirectory)project.assets.json
$(UserProfile)\.nuget\packages\
- C:\Users\jerem\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
+ C:\Users\Lynsy\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
PackageReference
7.0.0
-
+
\ No newline at end of file
diff --git a/TestWins/obj/project.assets.json b/TestWins/obj/project.assets.json
index 1aae0ff..f70fdd1 100644
--- a/TestWins/obj/project.assets.json
+++ b/TestWins/obj/project.assets.json
@@ -291,23 +291,23 @@
]
},
"packageFolders": {
- "C:\\Users\\jerem\\.nuget\\packages\\": {},
+ "C:\\Users\\Lynsy\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "C:\\Users\\jerem\\Desktop\\satwins\\TestWins\\TestWins.csproj",
+ "projectUniqueName": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\TestWins.csproj",
"projectName": "TestWins",
- "projectPath": "C:\\Users\\jerem\\Desktop\\satwins\\TestWins\\TestWins.csproj",
- "packagesPath": "C:\\Users\\jerem\\.nuget\\packages\\",
- "outputPath": "C:\\Users\\jerem\\Desktop\\satwins\\TestWins\\obj\\",
+ "projectPath": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\TestWins.csproj",
+ "packagesPath": "C:\\Users\\Lynsy\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
- "C:\\Users\\jerem\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Users\\Lynsy\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
@@ -334,7 +334,7 @@
"auditLevel": "low",
"auditMode": "all"
},
- "SdkAnalysisLevel": "10.0.100"
+ "SdkAnalysisLevel": "10.0.200"
},
"frameworks": {
"net10.0-windows7.0": {
@@ -364,7 +364,7 @@
"privateAssets": "none"
}
},
- "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.101/PortableRuntimeIdentifierGraph.json",
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.201/PortableRuntimeIdentifierGraph.json",
"packagesToPrune": {
"Microsoft.CSharp": "(,4.7.32767]",
"Microsoft.VisualBasic": "(,10.4.32767]",
diff --git a/TestWins/obj/project.nuget.cache b/TestWins/obj/project.nuget.cache
index 60a2a9e..fddd8ff 100644
--- a/TestWins/obj/project.nuget.cache
+++ b/TestWins/obj/project.nuget.cache
@@ -1,16 +1,16 @@
{
"version": 2,
- "dgSpecHash": "mg7sEBMN2nA=",
+ "dgSpecHash": "dDYFhJHwm/4=",
"success": true,
- "projectFilePath": "C:\\Users\\jerem\\Desktop\\satwins\\TestWins\\TestWins.csproj",
+ "projectFilePath": "C:\\Users\\Lynsy\\source\\repos\\winforms-sql-connection\\TestWins\\TestWins.csproj",
"expectedPackageFiles": [
- "C:\\Users\\jerem\\.nuget\\packages\\bouncycastle.cryptography\\2.6.2\\bouncycastle.cryptography.2.6.2.nupkg.sha512",
- "C:\\Users\\jerem\\.nuget\\packages\\google.protobuf\\3.32.0\\google.protobuf.3.32.0.nupkg.sha512",
- "C:\\Users\\jerem\\.nuget\\packages\\k4os.compression.lz4\\1.3.8\\k4os.compression.lz4.1.3.8.nupkg.sha512",
- "C:\\Users\\jerem\\.nuget\\packages\\k4os.compression.lz4.streams\\1.3.8\\k4os.compression.lz4.streams.1.3.8.nupkg.sha512",
- "C:\\Users\\jerem\\.nuget\\packages\\k4os.hash.xxhash\\1.0.8\\k4os.hash.xxhash.1.0.8.nupkg.sha512",
- "C:\\Users\\jerem\\.nuget\\packages\\mysql.data\\9.6.0\\mysql.data.9.6.0.nupkg.sha512",
- "C:\\Users\\jerem\\.nuget\\packages\\zstdsharp.port\\0.8.6\\zstdsharp.port.0.8.6.nupkg.sha512"
+ "C:\\Users\\Lynsy\\.nuget\\packages\\bouncycastle.cryptography\\2.6.2\\bouncycastle.cryptography.2.6.2.nupkg.sha512",
+ "C:\\Users\\Lynsy\\.nuget\\packages\\google.protobuf\\3.32.0\\google.protobuf.3.32.0.nupkg.sha512",
+ "C:\\Users\\Lynsy\\.nuget\\packages\\k4os.compression.lz4\\1.3.8\\k4os.compression.lz4.1.3.8.nupkg.sha512",
+ "C:\\Users\\Lynsy\\.nuget\\packages\\k4os.compression.lz4.streams\\1.3.8\\k4os.compression.lz4.streams.1.3.8.nupkg.sha512",
+ "C:\\Users\\Lynsy\\.nuget\\packages\\k4os.hash.xxhash\\1.0.8\\k4os.hash.xxhash.1.0.8.nupkg.sha512",
+ "C:\\Users\\Lynsy\\.nuget\\packages\\mysql.data\\9.6.0\\mysql.data.9.6.0.nupkg.sha512",
+ "C:\\Users\\Lynsy\\.nuget\\packages\\zstdsharp.port\\0.8.6\\zstdsharp.port.0.8.6.nupkg.sha512"
],
"logs": []
}
\ No newline at end of file
diff --git a/TestWins/repository/StudentRepository.cs b/TestWins/repository/StudentRepository.cs
index a823e74..04d1eaf 100644
--- a/TestWins/repository/StudentRepository.cs
+++ b/TestWins/repository/StudentRepository.cs
@@ -79,7 +79,9 @@ public void delete(string id)
using var cmd = new MySqlCommand(query, conn);
+ cmd.Parameters.AddWithValue("@id", id);
+
cmd.ExecuteNonQuery();
}
-}
\ No newline at end of file
+}