Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.
Dim con As New System.Data.OleDb.OleDbConnection Dim myCommand As New System.Data.OleDb.OleDbCommand Dim myPath As String Dim MaxId As Integer myPath = Server.MapPath("hayat.mdb") con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data source=" & myPath & ";" myCommand.CommandText = "select MAX(empid) from empdetails" myCommand.Connection = con Try con.Open() MaxId = myCommand.ExecuteScalar() lbllastid.Text = "The last Emp. ID stored is : " & MaxId.ToString Catch err As Exception lblmsg.Text = err.Message Finally con.Close() End Try
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.