Persists Asp Upload Serial ASP.NET Codebehind?
ASP.NET Codebehind? - persists asp upload serial
I changed my code to asp.net code behind. I use a CMS database. Before when I read the entire code on a page that can display data from CMS \\ \\ \\ \\ \\ \\ \\ \\ u0026lt,% = mydata%> - What should be used in the code behind?
(Code-behind bleow)
Sub Page_Load (ByVal sender As Object, e As EventArgs)
Mydata As String
(SO QueryValue = Request.QueryString "ID")
If (IsNumeric (QueryValue)) Then
Search As String = "Select the page date pages WHERE id =" & QueryValue & ";"
Myconn As New SqlConnection ( "Data Source = localhost; Initial Catalog = catalog; User ID = user, password = password; Persist Security Info = True; packet size = 4096")
SO myCmd As SqlCommand query = new SqlCommand ( "myConn)
myConn.Open ()
) MyCmd.ExecuteReader As SqlDataReader myReader = (
While reader.Read ()
Mydata = (myReader ( "Page Date"). ToString)
End
0 comments:
Post a Comment