Which index you want to find? Explain in detail.
As Pgmer asked you, you will have to specify about what index is all about!?
I am developing an application in which there are are multiple users. for showing every detail of perticular user index is needed. And how to show this detail.
Can you explain what you want? Which kind of application it is? And where ur saving the iindex? What is this index is all about?
Below is my code for login page I would like to show login user detail on home.
For login my code works properly but does not show currently login user show following error "NO data exists for column/row".
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Login.Click RetrieveUserPass() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Login.Click RetrieveUserPass() End Sub ' User id and password checking function Public Sub RetrieveUserPass() Try Dim dbConn As OleDbConnection Dim dbCommand As New OleDbCommand Dim conn As New OleDbConnection dbConn = New OleDbConnection(cnSettings()) dbCommand.CommandText = "SELECT * FROM [table1] Where User_id = '" & user_id.Text & "' And [password] = '" & password.Text & "'" dbCommand.Connection = dbConn dbConn.Open() Dim dbDR As OleDb.OleDbDataReader = dbCommand.ExecuteReader 'Condition fail If Not dbDR.HasRows Then Login_fail.Show() Login_fail.user_id.Clear() Login_fail.Password.Clear() Login_fail.user_id.Focus() Me.Hide() Else 'Condiion true Home.Show() Me.Hide() Home.Label2.Text = dbDR("user_no") End If dbConn.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical, "Error") End Try End Sub
Edited 3 Years Ago by happygeek: fixed formatting
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"
Here is the sample output that I ...
Hello All ...
Iam Getting An Error With try to excecute the stored procedure .
I have Have Sql database , the stored procedure like so :
USE [MPRS] GO /****** Object: StoredProcedure [dbo].[Search_Licenses_By_Number] Script Date: 26-Nov-16 8:06:52 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE ...
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...