Click here to Skip to main content
15,922,533 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Gridview Pin
ca8msm21-Mar-07 1:07
ca8msm21-Mar-07 1:07 
QuestionPopUp window at Desired Location Pin
varun_khanna1721-Mar-07 0:11
varun_khanna1721-Mar-07 0:11 
AnswerRe: PopUp window at Desired Location Pin
Tirthadip21-Mar-07 0:20
Tirthadip21-Mar-07 0:20 
QuestionIISstate log Pin
Ajay R Ojha21-Mar-07 0:10
Ajay R Ojha21-Mar-07 0:10 
Questionbug wit the standard provider??? Pin
neodeaths20-Mar-07 23:57
neodeaths20-Mar-07 23:57 
AnswerRe: bug wit the standard provider??? Pin
szukuro21-Mar-07 0:06
szukuro21-Mar-07 0:06 
GeneralRe: bug wit the standard provider??? Pin
neodeaths21-Mar-07 15:47
neodeaths21-Mar-07 15:47 
Questioncould any convert this to asp.net c#? Pin
neodeaths20-Mar-07 22:42
neodeaths20-Mar-07 22:42 
could anyone roughly convert the below code into c# i am trying to learn thx


Dim strSQL, strConn As String
Dim dbcon As New OleDbConnection

intlevel = 0

strConn = "Provider=Microsoft.Jet.OLEDB.4.0;"
strConn += "Data Source=Computer Store.mdb;User ID=Admin; Password=;"
dbcon.ConnectionString = strConn

strSQL = "Select * from Employee where EmployeeID ='" & txtusername.Text.Trim & "' and EmpPassword ='" & txtpassword.Text.Trim & "'"

Dim cmdselectcommand As New OleDb.OleDbCommand(strSQL, dbcon)
dbcon.Open()

Dim dtlogin As OleDbDataReader = cmdselectcommand.ExecuteReader
If (dtlogin.Read() = True) Then
MsgBox("Login OK")
Dim main As New form1
intlevel = CType(dtlogin.Item("EmpPrivilege"), Integer)
main.Show()
Me.Close()
Else
MsgBox("Login Fail")
Me.txtpassword.Text = ""
Me.txtusername.Text = ""
Me.txtusername.Focus()
End If

dtlogin.Close()
dbcon.Close()
AnswerRe: could any convert this to asp.net c#? Pin
N a v a n e e t h20-Mar-07 22:57
N a v a n e e t h20-Mar-07 22:57 
GeneralRe: could any convert this to asp.net c#? Pin
neodeaths20-Mar-07 23:34
neodeaths20-Mar-07 23:34 
AnswerRe: could any convert this to asp.net c#? Pin
varshavmane20-Mar-07 23:46
varshavmane20-Mar-07 23:46 
AnswerRe: could any convert this to asp.net c#? Pin
Dave Doknjas21-Mar-07 15:00
Dave Doknjas21-Mar-07 15:00 
Questiondatabinding to button control Pin
kallileo20-Mar-07 22:41
kallileo20-Mar-07 22:41 
AnswerRe: databinding to button control Pin
N a v a n e e t h20-Mar-07 23:04
N a v a n e e t h20-Mar-07 23:04 
GeneralRe: databinding to button control Pin
kallileo20-Mar-07 23:21
kallileo20-Mar-07 23:21 
QuestionAuthentication Pin
nclauder20-Mar-07 22:40
nclauder20-Mar-07 22:40 
AnswerRe: Authentication Pin
N a v a n e e t h20-Mar-07 23:05
N a v a n e e t h20-Mar-07 23:05 
GeneralRe: Authentication Pin
nclauder21-Mar-07 1:50
nclauder21-Mar-07 1:50 
Questionsql server error Pin
saravanan0520-Mar-07 22:23
saravanan0520-Mar-07 22:23 
AnswerRe: sql server error Pin
Guffa20-Mar-07 22:36
Guffa20-Mar-07 22:36 
AnswerRe: sql server error Pin
N a v a n e e t h20-Mar-07 22:58
N a v a n e e t h20-Mar-07 22:58 
Questionhow to move folder and files from a folder tree in ASP.NET Pin
rajnish_haldiya20-Mar-07 21:58
rajnish_haldiya20-Mar-07 21:58 
Questionaddress of button Pin
vengaqua20-Mar-07 21:17
vengaqua20-Mar-07 21:17 
AnswerRe: address of button Pin
N a v a n e e t h20-Mar-07 23:02
N a v a n e e t h20-Mar-07 23:02 
GeneralRe: address of button Pin
vengaqua21-Mar-07 2:46
vengaqua21-Mar-07 2:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.