Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click SqlDataSource1.SelectCommand = "SELECT COUNT(*) AS Result, username, password " & _ " FROM Tabela1 " & _ " GROUP BY username, password " & _ " HAVING (COUNT(*) = 1) " & _ " AND username = '" & TextBox1.Text & "'" & _ " And password = '" & TextBox2.Text & "'" SqlDataSource1.DataBind() If GridView1.Rows.Count < 1 Then Label1.Text = "user not found it" Else Label1.Text = "user found it" End If End Sub
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.