From b1a0ac0cfb4472348a679c6fccd4ffd1134aedfa Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Thu, 17 Feb 2022 15:31:34 +0200 Subject: [PATCH] feat: add practice projects --- Practice/AntrasWeb/AntrasWeb.csproj | 130 ++++++++++++ Practice/AntrasWeb/Forma1.aspx | 35 ++++ Practice/AntrasWeb/Forma1.aspx.cs | 27 +++ Practice/AntrasWeb/Forma1.aspx.designer.cs | 105 ++++++++++ Practice/AntrasWeb/Properties/AssemblyInfo.cs | 35 ++++ Practice/AntrasWeb/Web.Debug.config | 30 +++ Practice/AntrasWeb/Web.Release.config | 31 +++ Practice/AntrasWeb/Web.config | 14 ++ Practice/AntrasWeb/packages.config | 4 + Practice/DuomWeb/App_Data/Prekes.txt | 7 + Practice/DuomWeb/App_Data/Prekes.xml | 10 + Practice/DuomWeb/DuomWeb.csproj | 133 ++++++++++++ Practice/DuomWeb/Forma1.aspx | 41 ++++ Practice/DuomWeb/Forma1.aspx.cs | 48 +++++ Practice/DuomWeb/Forma1.aspx.designer.cs | 71 +++++++ Practice/DuomWeb/Properties/AssemblyInfo.cs | 35 ++++ Practice/DuomWeb/Web.Debug.config | 30 +++ Practice/DuomWeb/Web.Release.config | 31 +++ Practice/DuomWeb/Web.config | 18 ++ Practice/DuomWeb/packages.config | 4 + Practice/PirmasWeb/Forma1.aspx | 18 ++ Practice/PirmasWeb/Forma1.aspx.cs | 23 ++ Practice/PirmasWeb/Forma1.aspx.designer.cs | 51 +++++ Practice/PirmasWeb/PirmasWeb.csproj | 130 ++++++++++++ Practice/PirmasWeb/Properties/AssemblyInfo.cs | 35 ++++ Practice/PirmasWeb/Web.config | 18 ++ Practice/PirmasWeb/packages.config | 4 + Practice/Practice.sln | 49 +++++ Practice/SesijaWeb/Forma1.aspx | 27 +++ Practice/SesijaWeb/Forma1.aspx.cs | 37 ++++ Practice/SesijaWeb/Forma1.aspx.designer.cs | 69 ++++++ Practice/SesijaWeb/Properties/AssemblyInfo.cs | 35 ++++ Practice/SesijaWeb/SesijaWeb.csproj | 130 ++++++++++++ Practice/SesijaWeb/Web.Debug.config | 30 +++ Practice/SesijaWeb/Web.Release.config | 31 +++ Practice/SesijaWeb/Web.config | 26 +++ Practice/SesijaWeb/packages.config | 4 + Practice/ValidWeb/App_Data/kalbos.xml | 9 + Practice/ValidWeb/Forma1.aspx | 50 +++++ Practice/ValidWeb/Forma1.aspx.cs | 74 +++++++ Practice/ValidWeb/Forma1.aspx.designer.cs | 197 ++++++++++++++++++ Practice/ValidWeb/Properties/AssemblyInfo.cs | 35 ++++ Practice/ValidWeb/ValidWeb.csproj | 133 ++++++++++++ Practice/ValidWeb/Web.Debug.config | 30 +++ Practice/ValidWeb/Web.Release.config | 31 +++ Practice/ValidWeb/Web.config | 21 ++ Practice/ValidWeb/packages.config | 4 + global.json | 5 - report.toml | 19 ++ 49 files changed, 2159 insertions(+), 5 deletions(-) create mode 100644 Practice/AntrasWeb/AntrasWeb.csproj create mode 100644 Practice/AntrasWeb/Forma1.aspx create mode 100644 Practice/AntrasWeb/Forma1.aspx.cs create mode 100644 Practice/AntrasWeb/Forma1.aspx.designer.cs create mode 100644 Practice/AntrasWeb/Properties/AssemblyInfo.cs create mode 100644 Practice/AntrasWeb/Web.Debug.config create mode 100644 Practice/AntrasWeb/Web.Release.config create mode 100644 Practice/AntrasWeb/Web.config create mode 100644 Practice/AntrasWeb/packages.config create mode 100644 Practice/DuomWeb/App_Data/Prekes.txt create mode 100644 Practice/DuomWeb/App_Data/Prekes.xml create mode 100644 Practice/DuomWeb/DuomWeb.csproj create mode 100644 Practice/DuomWeb/Forma1.aspx create mode 100644 Practice/DuomWeb/Forma1.aspx.cs create mode 100644 Practice/DuomWeb/Forma1.aspx.designer.cs create mode 100644 Practice/DuomWeb/Properties/AssemblyInfo.cs create mode 100644 Practice/DuomWeb/Web.Debug.config create mode 100644 Practice/DuomWeb/Web.Release.config create mode 100644 Practice/DuomWeb/Web.config create mode 100644 Practice/DuomWeb/packages.config create mode 100644 Practice/PirmasWeb/Forma1.aspx create mode 100644 Practice/PirmasWeb/Forma1.aspx.cs create mode 100644 Practice/PirmasWeb/Forma1.aspx.designer.cs create mode 100644 Practice/PirmasWeb/PirmasWeb.csproj create mode 100644 Practice/PirmasWeb/Properties/AssemblyInfo.cs create mode 100644 Practice/PirmasWeb/Web.config create mode 100644 Practice/PirmasWeb/packages.config create mode 100644 Practice/Practice.sln create mode 100644 Practice/SesijaWeb/Forma1.aspx create mode 100644 Practice/SesijaWeb/Forma1.aspx.cs create mode 100644 Practice/SesijaWeb/Forma1.aspx.designer.cs create mode 100644 Practice/SesijaWeb/Properties/AssemblyInfo.cs create mode 100644 Practice/SesijaWeb/SesijaWeb.csproj create mode 100644 Practice/SesijaWeb/Web.Debug.config create mode 100644 Practice/SesijaWeb/Web.Release.config create mode 100644 Practice/SesijaWeb/Web.config create mode 100644 Practice/SesijaWeb/packages.config create mode 100644 Practice/ValidWeb/App_Data/kalbos.xml create mode 100644 Practice/ValidWeb/Forma1.aspx create mode 100644 Practice/ValidWeb/Forma1.aspx.cs create mode 100644 Practice/ValidWeb/Forma1.aspx.designer.cs create mode 100644 Practice/ValidWeb/Properties/AssemblyInfo.cs create mode 100644 Practice/ValidWeb/ValidWeb.csproj create mode 100644 Practice/ValidWeb/Web.Debug.config create mode 100644 Practice/ValidWeb/Web.Release.config create mode 100644 Practice/ValidWeb/Web.config create mode 100644 Practice/ValidWeb/packages.config delete mode 100644 global.json create mode 100644 report.toml diff --git a/Practice/AntrasWeb/AntrasWeb.csproj b/Practice/AntrasWeb/AntrasWeb.csproj new file mode 100644 index 0000000..18d2c20 --- /dev/null +++ b/Practice/AntrasWeb/AntrasWeb.csproj @@ -0,0 +1,130 @@ + + + + + Debug + AnyCPU + + + 2.0 + {F4C3C487-D1DE-403F-8D1F-F13F5D948ABA} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + AntrasWeb + AntrasWeb + v4.8 + true + + + + + + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + + + Forma1.aspx + ASPXCodeBehind + + + Forma1.aspx + + + + + + + Web.config + + + Web.config + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 59818 + / + http://localhost:59818/ + False + False + + + False + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/Practice/AntrasWeb/Forma1.aspx b/Practice/AntrasWeb/Forma1.aspx new file mode 100644 index 0000000..4978825 --- /dev/null +++ b/Practice/AntrasWeb/Forma1.aspx @@ -0,0 +1,35 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Forma1.aspx.cs" Inherits="AntrasWeb.Forma1" %> + + + + + + + + +
+ +
+ 0 +
+ + +
+ 0 +
+ + +
+ 0 +
+ + +
+ 0 +
+ +
+ + + + diff --git a/Practice/AntrasWeb/Forma1.aspx.cs b/Practice/AntrasWeb/Forma1.aspx.cs new file mode 100644 index 0000000..364a239 --- /dev/null +++ b/Practice/AntrasWeb/Forma1.aspx.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace AntrasWeb +{ + public partial class Forma1 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + protected void Button1_Click(object sender, EventArgs e) + { + double H = double.Parse(TextBox1.Text, CultureInfo.InvariantCulture); + double R = double.Parse(TextBox2.Text, CultureInfo.InvariantCulture); + double r = double.Parse(TextBox3.Text, CultureInfo.InvariantCulture); + double V = (1.0 / 3) * Math.PI * H * (R * R + R * r + r * r); + TextBox4.Text = V.ToString(); + } + } +} diff --git a/Practice/AntrasWeb/Forma1.aspx.designer.cs b/Practice/AntrasWeb/Forma1.aspx.designer.cs new file mode 100644 index 0000000..3f67143 --- /dev/null +++ b/Practice/AntrasWeb/Forma1.aspx.designer.cs @@ -0,0 +1,105 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace AntrasWeb { + + + public partial class Forma1 { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// Label1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// TextBox1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox1; + + /// + /// Label2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label2; + + /// + /// TextBox2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox2; + + /// + /// Label3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label3; + + /// + /// TextBox3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox3; + + /// + /// Label4 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label4; + + /// + /// TextBox4 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox4; + + /// + /// Button1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button1; + } +} diff --git a/Practice/AntrasWeb/Properties/AssemblyInfo.cs b/Practice/AntrasWeb/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..804f69d --- /dev/null +++ b/Practice/AntrasWeb/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("AntrasWeb")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("AntrasWeb")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f4c3c487-d1de-403f-8d1f-f13f5d948aba")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Practice/AntrasWeb/Web.Debug.config b/Practice/AntrasWeb/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/Practice/AntrasWeb/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Practice/AntrasWeb/Web.Release.config b/Practice/AntrasWeb/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/Practice/AntrasWeb/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Practice/AntrasWeb/Web.config b/Practice/AntrasWeb/Web.config new file mode 100644 index 0000000..9f38313 --- /dev/null +++ b/Practice/AntrasWeb/Web.config @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/Practice/AntrasWeb/packages.config b/Practice/AntrasWeb/packages.config new file mode 100644 index 0000000..aa30a70 --- /dev/null +++ b/Practice/AntrasWeb/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Practice/DuomWeb/App_Data/Prekes.txt b/Practice/DuomWeb/App_Data/Prekes.txt new file mode 100644 index 0000000..caf3413 --- /dev/null +++ b/Practice/DuomWeb/App_Data/Prekes.txt @@ -0,0 +1,7 @@ +Pieštukas 0.1 +Trintukas 0.1 +A4-popierius 2.31 +Rašikliai 0.45 +Tušas 1.57 +Spalvotas-popierius 3.22 +Guašas 2.90 \ No newline at end of file diff --git a/Practice/DuomWeb/App_Data/Prekes.xml b/Practice/DuomWeb/App_Data/Prekes.xml new file mode 100644 index 0000000..3ad0546 --- /dev/null +++ b/Practice/DuomWeb/App_Data/Prekes.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Practice/DuomWeb/DuomWeb.csproj b/Practice/DuomWeb/DuomWeb.csproj new file mode 100644 index 0000000..15b3b12 --- /dev/null +++ b/Practice/DuomWeb/DuomWeb.csproj @@ -0,0 +1,133 @@ + + + + + Debug + AnyCPU + + + 2.0 + {D6792FCA-E162-4FBD-AEBB-4754F6EAC521} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + DuomWeb + DuomWeb + v4.7.2 + true + + + + + + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + + + + + Forma1.aspx + ASPXCodeBehind + + + Forma1.aspx + + + + + + + Web.config + + + Web.config + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 61030 + / + http://localhost:44312/ + False + False + + + False + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/Practice/DuomWeb/Forma1.aspx b/Practice/DuomWeb/Forma1.aspx new file mode 100644 index 0000000..e054d87 --- /dev/null +++ b/Practice/DuomWeb/Forma1.aspx @@ -0,0 +1,41 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Forma1.aspx.cs" Inherits="DuomWeb.Forma1" %> + + + + + + + + +
+
+ +
+
+ + +
+ +
+ + + + + + + + + + + + + + + + +
+ +
+
+ + diff --git a/Practice/DuomWeb/Forma1.aspx.cs b/Practice/DuomWeb/Forma1.aspx.cs new file mode 100644 index 0000000..11a944e --- /dev/null +++ b/Practice/DuomWeb/Forma1.aspx.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace DuomWeb +{ + public partial class Forma1 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + TableRow row = new TableRow(); + + TableCell title = new TableCell(); + title.Text = "Pavadinimas"; + row.Cells.Add(title); + + TableCell price = new TableCell(); + price.Text = "Kaina, Eur"; + row.Cells.Add(price); + + Table1.Rows.Add(row); + } + + protected void Button1_Click(object sender, EventArgs e) + { + string[] allLines = File.ReadAllLines(Server.MapPath("App_Data/Prekes.txt")); + foreach (string line in allLines) + { + string[] parts = line.Split(' '); + TableRow row = new TableRow(); + + TableCell title = new TableCell(); + title.Text = parts[0]; + row.Cells.Add(title); + + TableCell price = new TableCell(); + price.Text = parts[1]; + row.Cells.Add(price); + + Table1.Rows.Add(row); + } + } + } +} \ No newline at end of file diff --git a/Practice/DuomWeb/Forma1.aspx.designer.cs b/Practice/DuomWeb/Forma1.aspx.designer.cs new file mode 100644 index 0000000..162d678 --- /dev/null +++ b/Practice/DuomWeb/Forma1.aspx.designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace DuomWeb +{ + + + public partial class Forma1 + { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// Label1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// Table1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Table Table1; + + /// + /// XmlDataSource1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1; + + /// + /// GridView1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView GridView1; + + /// + /// Button1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button1; + } +} diff --git a/Practice/DuomWeb/Properties/AssemblyInfo.cs b/Practice/DuomWeb/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..501bdd4 --- /dev/null +++ b/Practice/DuomWeb/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("DuomWeb")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("DuomWeb")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d6792fca-e162-4fbd-aebb-4754f6eac521")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Practice/DuomWeb/Web.Debug.config b/Practice/DuomWeb/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/Practice/DuomWeb/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Practice/DuomWeb/Web.Release.config b/Practice/DuomWeb/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/Practice/DuomWeb/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Practice/DuomWeb/Web.config b/Practice/DuomWeb/Web.config new file mode 100644 index 0000000..2d1c85e --- /dev/null +++ b/Practice/DuomWeb/Web.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Practice/DuomWeb/packages.config b/Practice/DuomWeb/packages.config new file mode 100644 index 0000000..55d586f --- /dev/null +++ b/Practice/DuomWeb/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Practice/PirmasWeb/Forma1.aspx b/Practice/PirmasWeb/Forma1.aspx new file mode 100644 index 0000000..4929e28 --- /dev/null +++ b/Practice/PirmasWeb/Forma1.aspx @@ -0,0 +1,18 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Forma1.aspx.cs" Inherits="PirmasWeb.Forma1" %> + + + + + + Pirmas puslapis + + +
+ +
+ +
+ + + + diff --git a/Practice/PirmasWeb/Forma1.aspx.cs b/Practice/PirmasWeb/Forma1.aspx.cs new file mode 100644 index 0000000..04af45f --- /dev/null +++ b/Practice/PirmasWeb/Forma1.aspx.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace PirmasWeb +{ + public partial class Forma1 : Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + protected void Button1_Click(object sender, EventArgs e) + { + Label1.Text = "Labas " + TextBox1.Text + "!"; + TextBox1.Visible = false; + } + } +} diff --git a/Practice/PirmasWeb/Forma1.aspx.designer.cs b/Practice/PirmasWeb/Forma1.aspx.designer.cs new file mode 100644 index 0000000..5dabe08 --- /dev/null +++ b/Practice/PirmasWeb/Forma1.aspx.designer.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace PirmasWeb { + + + public partial class Forma1 { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// Label1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// TextBox1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox1; + + /// + /// Button1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button1; + } +} diff --git a/Practice/PirmasWeb/PirmasWeb.csproj b/Practice/PirmasWeb/PirmasWeb.csproj new file mode 100644 index 0000000..0e4da6a --- /dev/null +++ b/Practice/PirmasWeb/PirmasWeb.csproj @@ -0,0 +1,130 @@ + + + + + Debug + AnyCPU + + + 2.0 + {D9A44DBE-527B-4751-8B52-B261B6AE9F58} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + PirmasWeb + PirmasWeb + v4.8 + true + + + + + + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + + + Forma1.aspx + ASPXCodeBehind + + + Forma1.aspx + + + + + + + Web.config + + + Web.config + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 59739 + / + http://localhost:59739/ + False + False + + + False + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/Practice/PirmasWeb/Properties/AssemblyInfo.cs b/Practice/PirmasWeb/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..50d2751 --- /dev/null +++ b/Practice/PirmasWeb/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("PirmasWeb")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("PirmasWeb")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d9a44dbe-527b-4751-8b52-b261b6ae9f58")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Practice/PirmasWeb/Web.config b/Practice/PirmasWeb/Web.config new file mode 100644 index 0000000..e8d3f1d --- /dev/null +++ b/Practice/PirmasWeb/Web.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + diff --git a/Practice/PirmasWeb/packages.config b/Practice/PirmasWeb/packages.config new file mode 100644 index 0000000..aa30a70 --- /dev/null +++ b/Practice/PirmasWeb/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Practice/Practice.sln b/Practice/Practice.sln new file mode 100644 index 0000000..4d30a32 --- /dev/null +++ b/Practice/Practice.sln @@ -0,0 +1,49 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.1.32210.238 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PirmasWeb", "PirmasWeb\PirmasWeb.csproj", "{D9A44DBE-527B-4751-8B52-B261B6AE9F58}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AntrasWeb", "AntrasWeb\AntrasWeb.csproj", "{F4C3C487-D1DE-403F-8D1F-F13F5D948ABA}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SesijaWeb", "SesijaWeb\SesijaWeb.csproj", "{886C183A-7181-4FE1-91F1-7F5B36F87888}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ValidWeb", "ValidWeb\ValidWeb.csproj", "{DBE32990-3DED-4A6D-A9FA-6B987ACF192C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DuomWeb", "DuomWeb\DuomWeb.csproj", "{D6792FCA-E162-4FBD-AEBB-4754F6EAC521}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D9A44DBE-527B-4751-8B52-B261B6AE9F58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D9A44DBE-527B-4751-8B52-B261B6AE9F58}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D9A44DBE-527B-4751-8B52-B261B6AE9F58}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D9A44DBE-527B-4751-8B52-B261B6AE9F58}.Release|Any CPU.Build.0 = Release|Any CPU + {F4C3C487-D1DE-403F-8D1F-F13F5D948ABA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4C3C487-D1DE-403F-8D1F-F13F5D948ABA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4C3C487-D1DE-403F-8D1F-F13F5D948ABA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4C3C487-D1DE-403F-8D1F-F13F5D948ABA}.Release|Any CPU.Build.0 = Release|Any CPU + {886C183A-7181-4FE1-91F1-7F5B36F87888}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {886C183A-7181-4FE1-91F1-7F5B36F87888}.Debug|Any CPU.Build.0 = Debug|Any CPU + {886C183A-7181-4FE1-91F1-7F5B36F87888}.Release|Any CPU.ActiveCfg = Release|Any CPU + {886C183A-7181-4FE1-91F1-7F5B36F87888}.Release|Any CPU.Build.0 = Release|Any CPU + {DBE32990-3DED-4A6D-A9FA-6B987ACF192C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DBE32990-3DED-4A6D-A9FA-6B987ACF192C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DBE32990-3DED-4A6D-A9FA-6B987ACF192C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DBE32990-3DED-4A6D-A9FA-6B987ACF192C}.Release|Any CPU.Build.0 = Release|Any CPU + {D6792FCA-E162-4FBD-AEBB-4754F6EAC521}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D6792FCA-E162-4FBD-AEBB-4754F6EAC521}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D6792FCA-E162-4FBD-AEBB-4754F6EAC521}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D6792FCA-E162-4FBD-AEBB-4754F6EAC521}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {165740BA-A7EC-408B-B3E1-1C0E120177C5} + EndGlobalSection +EndGlobal diff --git a/Practice/SesijaWeb/Forma1.aspx b/Practice/SesijaWeb/Forma1.aspx new file mode 100644 index 0000000..d78bcb5 --- /dev/null +++ b/Practice/SesijaWeb/Forma1.aspx @@ -0,0 +1,27 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Forma1.aspx.cs" Inherits="SesijaWeb.Forma1" %> + + + + + + + + +
+ + +
+ + +

+ + +

+ +
+ + + + + + diff --git a/Practice/SesijaWeb/Forma1.aspx.cs b/Practice/SesijaWeb/Forma1.aspx.cs new file mode 100644 index 0000000..85f5dc3 --- /dev/null +++ b/Practice/SesijaWeb/Forma1.aspx.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace SesijaWeb +{ + public partial class Forma1 : System.Web.UI.Page + { + private String storedText; + + protected void Page_Load(object sender, EventArgs e) + { + storedText = (string)Session["text1"]; + InsertRecord(storedText); + } + + protected void Button1_Click(object sender, EventArgs e) + { + storedText = TextBox1.Text; + InsertRecord(storedText); + + Session["text1"] = storedText; + } + + private void InsertRecord(string tekstas) + { + TableCell cell = new TableCell(); + cell.Text = tekstas; + TableRow row = new TableRow(); + row.Cells.Add(cell); + Table1.Rows.Add(row); + } + } +} \ No newline at end of file diff --git a/Practice/SesijaWeb/Forma1.aspx.designer.cs b/Practice/SesijaWeb/Forma1.aspx.designer.cs new file mode 100644 index 0000000..5e0f5d8 --- /dev/null +++ b/Practice/SesijaWeb/Forma1.aspx.designer.cs @@ -0,0 +1,69 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace SesijaWeb { + + + public partial class Forma1 { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// Label1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// TextBox1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox1; + + /// + /// Button1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button1; + + /// + /// Label2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label2; + + /// + /// Table1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Table Table1; + } +} diff --git a/Practice/SesijaWeb/Properties/AssemblyInfo.cs b/Practice/SesijaWeb/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..76f0144 --- /dev/null +++ b/Practice/SesijaWeb/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("SesijaWeb")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SesijaWeb")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("886c183a-7181-4fe1-91f1-7f5b36f87888")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Practice/SesijaWeb/SesijaWeb.csproj b/Practice/SesijaWeb/SesijaWeb.csproj new file mode 100644 index 0000000..7307920 --- /dev/null +++ b/Practice/SesijaWeb/SesijaWeb.csproj @@ -0,0 +1,130 @@ + + + + + Debug + AnyCPU + + + 2.0 + {886C183A-7181-4FE1-91F1-7F5B36F87888} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + SesijaWeb + SesijaWeb + v4.8 + true + + + + + + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + + + Forma1.aspx + ASPXCodeBehind + + + Forma1.aspx + + + + + + + Web.config + + + Web.config + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 50638 + / + http://localhost:50638/ + False + False + + + False + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/Practice/SesijaWeb/Web.Debug.config b/Practice/SesijaWeb/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/Practice/SesijaWeb/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Practice/SesijaWeb/Web.Release.config b/Practice/SesijaWeb/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/Practice/SesijaWeb/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Practice/SesijaWeb/Web.config b/Practice/SesijaWeb/Web.config new file mode 100644 index 0000000..d95e638 --- /dev/null +++ b/Practice/SesijaWeb/Web.config @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + diff --git a/Practice/SesijaWeb/packages.config b/Practice/SesijaWeb/packages.config new file mode 100644 index 0000000..aa30a70 --- /dev/null +++ b/Practice/SesijaWeb/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Practice/ValidWeb/App_Data/kalbos.xml b/Practice/ValidWeb/App_Data/kalbos.xml new file mode 100644 index 0000000..3a927da --- /dev/null +++ b/Practice/ValidWeb/App_Data/kalbos.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Practice/ValidWeb/Forma1.aspx b/Practice/ValidWeb/Forma1.aspx new file mode 100644 index 0000000..7652ff8 --- /dev/null +++ b/Practice/ValidWeb/Forma1.aspx @@ -0,0 +1,50 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Forma1.aspx.cs" Inherits="ValidWeb.Forma1" %> + + + + + + + + +
+ +
+ +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + + +
+
+ +
+ + + +
+ +
+
+ + + + + + diff --git a/Practice/ValidWeb/Forma1.aspx.cs b/Practice/ValidWeb/Forma1.aspx.cs new file mode 100644 index 0000000..1f22c44 --- /dev/null +++ b/Practice/ValidWeb/Forma1.aspx.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace ValidWeb +{ + public partial class Forma1 : System.Web.UI.Page + { + + protected void Page_Load(object sender, EventArgs e) + { + if (DropDownList1.Items.Count == 0) + { + DropDownList1.Items.Add("-"); + for (int i = 14; i <= 25; i++) + { + DropDownList1.Items.Add(i.ToString()); + } + } + + TableRow header = new TableRow(); + + header.Cells.Add(new TableCell { Text = "Vardas" }); + header.Cells.Add(new TableCell { Text = "Pavardė" }); + header.Cells.Add(new TableCell { Text = "Mokykla" }); + header.Cells.Add(new TableCell { Text = "Amžius" }); + header.Cells.Add(new TableCell { Text = "Programavimo kalba" }); + + Table1.Rows.Add(header); + + if (Session["users"] != null) + { + string[] users = ((string)Session["users"]).Split(';'); + foreach (string user in users) + { + string[] parts = user.Split('|'); + AddUserToTable(parts[0], parts[1], parts[2], parts[3], parts[4]); + } + } + } + + protected void Button1_Click(object sender, EventArgs e) + { + string name = TextBox1.Text; + string surname = TextBox2.Text; + string school = TextBox3.Text; + string age = DropDownList1.Text; + string language = CheckBoxList1.sele; + string user = String.Join("|", name, surname, school, age, language); + if (Session["users"] == null) { + Session["users"] = user; + } else { + Session["users"] += ";" + user; + } + AddUserToTable(name, surname, school, age, language); + } + + void AddUserToTable(string name, string surname, string school, string age, string language) + { + TableRow row = new TableRow(); + + row.Cells.Add(new TableCell { Text = name }); + row.Cells.Add(new TableCell { Text = surname }); + row.Cells.Add(new TableCell { Text = school }); + row.Cells.Add(new TableCell { Text = age }); + row.Cells.Add(new TableCell { Text = language }); + + Table1.Rows.Add(row); + } + } +} diff --git a/Practice/ValidWeb/Forma1.aspx.designer.cs b/Practice/ValidWeb/Forma1.aspx.designer.cs new file mode 100644 index 0000000..7c1a3ff --- /dev/null +++ b/Practice/ValidWeb/Forma1.aspx.designer.cs @@ -0,0 +1,197 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace ValidWeb +{ + + + public partial class Forma1 + { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// Label5 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label5; + + /// + /// ValidationSummary1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary1; + + /// + /// Label1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// TextBox1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox1; + + /// + /// RequiredFieldValidator1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; + + /// + /// Label6 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label6; + + /// + /// TextBox2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox2; + + /// + /// RequiredFieldValidator2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator2; + + /// + /// Label7 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label7; + + /// + /// TextBox3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox TextBox3; + + /// + /// RequiredFieldValidator3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator3; + + /// + /// Label2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label2; + + /// + /// DropDownList1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList DropDownList1; + + /// + /// RangeValidator1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RangeValidator RangeValidator1; + + /// + /// Label3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label3; + + /// + /// CheckBoxList1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBoxList CheckBoxList1; + + /// + /// Kalbos control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.XmlDataSource Kalbos; + + /// + /// Button1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button1; + + /// + /// Table1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Table Table1; + } +} diff --git a/Practice/ValidWeb/Properties/AssemblyInfo.cs b/Practice/ValidWeb/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c51bb74 --- /dev/null +++ b/Practice/ValidWeb/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("ValidWeb")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ValidWeb")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("dbe32990-3ded-4a6d-a9fa-6b987acf192c")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Practice/ValidWeb/ValidWeb.csproj b/Practice/ValidWeb/ValidWeb.csproj new file mode 100644 index 0000000..0805414 --- /dev/null +++ b/Practice/ValidWeb/ValidWeb.csproj @@ -0,0 +1,133 @@ + + + + + Debug + AnyCPU + + + 2.0 + {DBE32990-3DED-4A6D-A9FA-6B987ACF192C} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + ValidWeb + ValidWeb + v4.8 + true + + + + + + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + Designer + + + + + Forma1.aspx + ASPXCodeBehind + + + Forma1.aspx + + + + + + + Web.config + + + Web.config + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 59887 + / + http://localhost:59887/ + False + False + + + False + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/Practice/ValidWeb/Web.Debug.config b/Practice/ValidWeb/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/Practice/ValidWeb/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Practice/ValidWeb/Web.Release.config b/Practice/ValidWeb/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/Practice/ValidWeb/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Practice/ValidWeb/Web.config b/Practice/ValidWeb/Web.config new file mode 100644 index 0000000..3adb345 --- /dev/null +++ b/Practice/ValidWeb/Web.config @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + diff --git a/Practice/ValidWeb/packages.config b/Practice/ValidWeb/packages.config new file mode 100644 index 0000000..aa30a70 --- /dev/null +++ b/Practice/ValidWeb/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/global.json b/global.json deleted file mode 100644 index 4aa91ae..0000000 --- a/global.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "sdk": { - "version": "3.0.103" - } -} diff --git a/report.toml b/report.toml new file mode 100644 index 0000000..bb9a447 --- /dev/null +++ b/report.toml @@ -0,0 +1,19 @@ +title = "Objektinis programavimas 2 (P175B123)" + +student = { name = "Studento Roko Puzono IF-1/1", gender = "male" } +lecturer = { name = "lekt. Simonavičius Kęstutis", gender = "male" } + +[[sections]] +title = "Rekursija (L1)" + +[[sections]] +title = "Dinaminis atminties valdymas (L2)" + +[[sections]] +title = "Bendrinės klasės ir testavimas (L3)" + +[[sections]] +title = "Polimorfizmas ir išimčių valdymas (L4)" + +[[sections]] +title = "Deklaratyvusis programavimas (L5)"