{"id":10078,"date":"2012-10-24T01:28:44","date_gmt":"2012-10-23T21:58:44","guid":{"rendered":"http:\/\/blog.iranhostdir.ir\/?p=10078"},"modified":"2021-10-09T10:56:03","modified_gmt":"2021-10-09T07:26:03","slug":"%d8%b1%d9%88%d8%b4%d9%87%d8%a7%db%8c-%d8%a7%d9%86%d8%aa%d9%82%d8%a7%d9%84-%d9%85%d8%aa%d8%ba%db%8c%d8%b1%d9%87%d8%a7-%d9%88-%d8%af%d8%a7%d8%af%d9%87-%d9%87%d8%a7-%d8%a7%d8%b2-%db%8c%da%a9-%d8%b5%d9%81","status":"publish","type":"post","link":"https:\/\/iranhost.com\/blog\/%d8%b1%d9%88%d8%b4%d9%87%d8%a7%db%8c-%d8%a7%d9%86%d8%aa%d9%82%d8%a7%d9%84-%d9%85%d8%aa%d8%ba%db%8c%d8%b1%d9%87%d8%a7-%d9%88-%d8%af%d8%a7%d8%af%d9%87-%d9%87%d8%a7-%d8%a7%d8%b2-%db%8c%da%a9-%d8%b5%d9%81\/","title":{"rendered":"\u0631\u0648\u0634\u0647\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u0648 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0627\u0632 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0628\u0647 \u0635\u0641\u062d\u0647 \u062f\u06cc\u06af\u0631 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Database"},"content":{"rendered":"<p dir=\"RTL\">\u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0648 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u0627\u0632 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0628\u0647 \u0635\u0641\u062d\u0647 \u062f\u06cc\u06af\u0631 \u0631\u0627\u0647 \u0647\u0627\u06cc \u0645\u062a\u0639\u062f\u062f\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u062f\u0647\u06cc\u0645.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0627\u06cc\u062f \u0627\u0628\u062a\u062f\u0627 \u06cc\u06a9 \u062c\u062f\u0648\u0644 \u0628\u0627 \u0646\u0627\u0645 usertable \u062f\u0631 <a href=\"https:\/\/www.guru99.com\/introduction-to-database-sql.html\" rel=\"nofollow noopener\" target=\"_blank\">\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633<\/a> \u0628\u0627 \u0641\u06cc\u0644\u062f \u0647\u0627\u06cc Firstname , Lastname , age \u0628\u0633\u0627\u0632\u06cc\u0645. \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062c\u0647\u062a \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u06cc\u06a9 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u062f\u0631 sql server \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645.\u0628\u0631\u0627\u06cc \u06a9\u0633\u0628 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062f\u0631 \u062d\u0648\u0632\u0647 <a href=\"https:\/\/iranhost.com\/blog\/%DA%86%D9%8A%D8%B3%D8%AA-%D8%9F-microsoft-sql-server\/\">Microsoft SQL Server \u0686\u06cc\u0633\u062a<\/a> \u0628\u0647 \u0634\u0645\u0627 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc \u0634\u0648\u062f \u0645\u0642\u0627\u0644\u0647 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0645\u0627 \u0631\u0627 \u0645\u0637\u0627\u0644\u0639\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n<p style=\"text-align: left;\">create table usertable<\/p>\n<p style=\"text-align: left;\">(<\/p>\n<p style=\"text-align: left;\">UserId varchar(100),<\/p>\n<p style=\"text-align: left;\">FirstName varchar(50),<\/p>\n<p style=\"text-align: left;\">LastName varchar(30),<\/p>\n<p style=\"text-align: left;\">Age varchar(30)<\/p>\n<p style=\"text-align: left;\">)<\/p>\n<p dir=\"RTL\">\u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0647\u06cc\u0686 \u0645\u0642\u062f\u0627\u0631\u06cc \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Edit \u06a9\u0631\u062f\u0646 \u062c\u062f\u0648\u0644 \u062f\u0631 \u0641\u06cc\u0644\u062f \u0647\u0627\u06cc \u0622\u0646 \u0642\u0631\u0627\u0631 \u0646\u062f\u0647\u06cc\u062f.<\/p>\n<p dir=\"RTL\">\u0627\u06a9\u0646\u0648\u0646 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0641\u06cc\u0644\u062f \u0647\u0627\u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u062f\u0631 \u062c\u062f\u0648\u0644 \u0648\u0627\u0631\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645(\u0628\u0647 \u06cc\u0627\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0631\u0627 \u0627\u0632 \u06a9\u0646\u062a\u0631\u0644\u0631 \u0647\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc \u06af\u0631\u0641\u062a\u0647 \u0648 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0622\u0646\u0647\u0627 \u0631\u0627 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0645\u06cc\u06a9\u0646\u06cc\u0645).<\/p>\n<p dir=\"RTL\">[irp posts=&#8221;8606&#8243; name=&#8221;\u0645\u0639\u0631\u0641\u06cc \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0647\u0627\u06cc \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u062d\u062c\u0645 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647&#8221;]\n<p style=\"text-align: right;\">\u0646\u06a9\u062a\u0647: \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u0627 \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0633\u0627\u062f\u06af\u06cc \u0648 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062d\u062c\u0645 \u0632\u06cc\u0627\u062f \u0645\u0642\u0627\u0644\u0647 \u0646\u0633\u0628\u062a \u0628\u0647 \u0627\u06cc\u062c\u0627\u062f Textbox \u0648 \u062f\u06cc\u06af\u0631 \u06a9\u0646\u062a\u0631\u0644\u0631\u0647\u0627 \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0646\u0645\u06cc\u067e\u0631\u062f\u0627\u0632\u06cc\u0645.<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">insert into usertable values(5, &#8216;rohatash&#8217;,&#8217;Kumar&#8217;,&#8217;23&#8217;)<\/p>\n<p style=\"text-align: left;\">go<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">insert into usertable values(3, &#8216;monu&#8217;,&#8217;rathor&#8217;,&#8217;20&#8217;)<\/p>\n<p style=\"text-align: left;\">go<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">insert into usertable values(4, &#8216;rahul&#8217;,&#8217;sharma&#8217;,&#8217;24&#8217;)<\/p>\n<p style=\"text-align: left;\">go<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">insert into usertable values(8, &#8216;ram&#8217;,&#8217;singh&#8217;,&#8217;26&#8217;)<\/p>\n<p dir=\"RTL\">\u0627\u06a9\u0646\u0648\u0646 \u0628\u0631\u0627\u06cc \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0627\u0632 \u0627\u0646\u062c\u0627\u0645 \u0635\u062d\u06cc\u062d \u06a9\u0627\u0631 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 select \u0645\u0642\u0627\u062f\u06cc\u0631 \u062c\u062f\u0648\u0644 usertable \u0631\u0627 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0645\u06cc\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062e\u0631\u0648\u062c\u06cc \u0622\u0646 \u0628\u0647 \u0635\u0648\u0631\u062a \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0645\u06cc\u0628\u0627\u0634\u062f.<\/p>\n<p dir=\"ltr\">select * from usertable;<\/p>\n<p dir=\"RTL\">\u062d\u0627\u0644\u0627 \u0628\u0627\u06cc\u062f \u06f2\u0635\u0641\u062d\u0647 \u06cc asp.net \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u00a0 \u0627\u0632 \u06cc\u06a9\u06cc \u0628\u0647 \u062f\u06cc\u06af\u0631\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645.<\/p>\n<p dir=\"RTL\">[irp posts=&#8221;4268&#8243; name=&#8221;asp.net \u0686\u06cc\u0633\u062a \u0648 \u0647\u0645\u0647 \u0686\u06cc\u0632 \u062f\u0631\u0628\u0627\u0631\u0647 \u06a9\u0627\u0631\u0628\u0631\u062f \u0622\u0646&#8221;]\n<p dir=\"RTL\">\u062f\u0631 visual studio.net \u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647 asp.net \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645 \u0648 \u062f\u0631 \u0635\u0641\u062d\u0647 Default1.aspx \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0648\u0627\u0631\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645:<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">&lt;div&gt;<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">&lt;a href=&#8221;showdetail.aspx?userid=5&#8243; title=&#8221;Show records where userId is 5&#8243;&gt;Show records where userId is 5&lt;\/a&gt;<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">&lt;p&gt;&lt;asp:HyperLink ID=&#8221;hyper1&#8243; runat=&#8221;server&#8221; Text=&#8221;Show Record where userID is 4&#8243;&gt; &lt;\/asp:HyperLink&gt; &lt;\/p&gt;<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">&lt;\/div&gt;<\/p>\n<p dir=\"RTL\">\u0633\u067e\u0633 \u062f\u0631 default1.aspx.cs \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0648\u0627\u0631\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645.<\/p>\n<p dir=\"ltr\">Protected Sub Page_Load(ByVal sender As Object, ByVal eAs System.EventArgs)Handles Me.Load<\/p>\n<p dir=\"ltr\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0If Not IsPostBack Then<\/p>\n<p dir=\"ltr\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 hyper1.NavigateUrl = &#8220;showdetail.aspx?userid=4&amp;com=show&#8221;<\/p>\n<p dir=\"ltr\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0End If<\/p>\n<p dir=\"ltr\">\u00a0\u00a0\u00a0End Sub<\/p>\n<p dir=\"RTL\">\u062d\u0627\u0644 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u06cc \u062f\u06cc\u06af\u0631 \u0628\u0627 \u0646\u0627\u0645 showdetail.aspx \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645 \u0648 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0622\u0646 \u0642\u0631\u0627\u0631 \u0645\u06cc\u062f\u0647\u06cc\u0645:<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0 &lt;div&gt;<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0&lt;asp:DetailsView ID=&#8221;DetailsView1&#8243; runat=&#8221;server&#8221; EnableViewState=&#8221;False&#8221;<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Width=&#8221;146px&#8221;&gt;<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/asp:DetailsView&gt;<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0&lt;\/div&gt;<\/p>\n<p dir=\"RTL\">\u0627\u06a9\u0646\u0648\u0646 \u062f\u0631 code segment \u0635\u0641\u062d\u0647 \u06cc showdetail.aspx.cs \u062f\u0631 \u0631\u0648\u06cc\u062f\u0627\u062f page_load \u0642\u0637\u0639\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u062c\u0647\u062a \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ado.net \u0627\u0632 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647\u060c \u0648\u0627\u0631\u062f \u0645\u06cc\u06a9\u0646\u06cc\u0645.<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">Protected Sub Page_Load(ByVal sender As Object, ByVal eAs System.EventArgs)Handles Me.Load<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0If Not IsPostBack Then<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0If Not String.IsNullOrWhiteSpace(Request.QueryString(&#8220;userid&#8221;))Then<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Dim userId As Integer = 0<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Integer.TryParse(Request.QueryString(&#8220;userid&#8221;), userId)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0If Not userId.Equals(0) Then<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 GetData(userId)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0End If<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0End If<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Dim command As String = Request.QueryString(&#8220;com&#8221;)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0End If<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0End Sub<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0Private Sub GetData(ByVal userIdAs Integer)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Dim table As New DataTable()<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Dim conn As New SqlConnection(&#8220;Data Source=.;uid=sa;pwd=Password$2;database=master&#8221;)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0If True Then<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Dim sql As String = &#8220;SELECT userId, FirstName, LastName, Age FROM usertable WHERE userId = @userId ORDER By userId&#8221;<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Using cmd As New SqlCommand(sql, conn)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Dim ad As New SqlDataAdapter(cmd)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0If True Then<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Dim prm As New SqlParameter(&#8220;@userId&#8221;,SqlDbType.Int)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 prm.Value = userId<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 cmd.Parameters.Add(prm)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ad.Fill(table)<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0End If<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0End Using<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0End If<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DetailsView1.DataSource = table<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DetailsView1.DataBind()<\/p>\n<p dir=\"ltr\" style=\"text-align: left;\">\u00a0\u00a0\u00a0End Sub<\/p>\n<p dir=\"RTL\">\u0627\u06a9\u0646\u0648\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0627\u062c\u0631\u0627 \u0648 \u062a\u0633\u062a \u0645\u06cc\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0628\u0627 \u0635\u0641\u062d\u0647 \u0627\u06cc \u0647\u0645\u0627\u0646\u0646\u062f \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0645\u0648\u0627\u062c\u0647 \u0634\u0648\u06cc\u062f.<\/p>\n<p dir=\"RTL\">\u0627\u06a9\u0646\u0648\u0646 \u0628\u0631 \u0631\u0648\u06cc \u0644\u06cc\u0646\u06a9 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0635\u0641\u062d\u0647 default.aspx \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u0647 \u0635\u0641\u062d\u0647 showdetail.aspx \u0628\u0627 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0634\u062f\u0647 \u0648 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0647\u062f\u0627\u06cc\u062a \u0634\u0648\u06cc\u062f.<\/p>\n<p dir=\"RTL\">\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0648 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u0627\u0632 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0628\u0647 \u0635\u0641\u062d\u0647 \u062f\u06cc\u06af\u0631 \u0631\u0627\u0647 \u0647\u0627\u06cc \u0645\u062a\u0639\u062f\u062f\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u062f\u0647\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0627\u06cc\u062f \u0627\u0628\u062a\u062f\u0627 \u06cc\u06a9 \u062c\u062f\u0648\u0644 \u0628\u0627 \u0646\u0627\u0645 usertable \u062f\u0631 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0628\u0627 \u0641\u06cc\u0644\u062f \u0647\u0627\u06cc Firstname , Lastname , age \u0628\u0633\u0627\u0632\u06cc\u0645. \u0628\u0647 \u0647\u0645\u06cc\u0646 &hellip;<\/p>\n","protected":false},"author":64,"featured_media":10082,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96],"tags":[],"class_list":["post-10078","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/posts\/10078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/users\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/comments?post=10078"}],"version-history":[{"count":0,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/posts\/10078\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/media?parent=10078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/categories?post=10078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/tags?post=10078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}