Click here to Skip to main content
16,011,805 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to store many datatables to a dataset in asp.net 1.1 version Pin
puthu6-Mar-07 18:58
puthu6-Mar-07 18:58 
AnswerRe: how to store many datatables to a dataset in asp.net 1.1 version Pin
Sylvester george6-Mar-07 19:11
Sylvester george6-Mar-07 19:11 
GeneralRe: how to store many datatables to a dataset in asp.net 1.1 version Pin
puthu6-Mar-07 22:14
puthu6-Mar-07 22:14 
GeneralRe: how to store many datatables to a dataset in asp.net 1.1 version Pin
Sylvester george6-Mar-07 22:52
Sylvester george6-Mar-07 22:52 
QuestionLogin Page Pin
joyalways6-Mar-07 18:25
joyalways6-Mar-07 18:25 
AnswerRe: Login Page Pin
John.L.Ponratnam6-Mar-07 19:51
John.L.Ponratnam6-Mar-07 19:51 
GeneralRe: Login Page Pin
joyalways6-Mar-07 21:59
joyalways6-Mar-07 21:59 
GeneralRe: Login Page Pin
siddisagar6-Mar-07 23:51
siddisagar6-Mar-07 23:51 
Hi Pls change connection string as per u r database then it will work
if u have any Quries then write a mail to pusnsuresh@yahoo.com...


imports system.data.sqlclient

Dim con As New SqlConnection
Dim cmd As New SqlCommand
Dim dr As SqlDataReader


con=new sqlconnection("Data source=B4-2F-128-HTB2\SQLSVR; user id=sa; password=; Database=New_Cart")
con.Open()
Try

cmd = New SqlCommand("select Pwd from Login where UserName=" & "'" & Textbox1.Text & "'", con)

dr = cmd.ExecuteReader()
If dr.Read Then
If Textbox2.Text.Trim.Equals(dr(0)) Then
Response.Redirect("Home.aspx")
Else
Label1.Visible = True
Label1.Text = "Invalid Pasword"
End If
Else
Label1.Visible = True
Label1.Text = "Invalid UserName"
End If
Catch ex As Exception
Response.Write(ex.ToString())
End Try
QuestionGetting Value in between tags Pin
N a v a n e e t h6-Mar-07 18:22
N a v a n e e t h6-Mar-07 18:22 
AnswerRe: Getting Value in between tags Pin
badgrs6-Mar-07 22:54
badgrs6-Mar-07 22:54 
QuestionMembership User Pin
AnhTin6-Mar-07 17:48
AnhTin6-Mar-07 17:48 
QuestionGetting the error : The viewstate is invalid for this page and might be corrupted Pin
anufabian6-Mar-07 17:34
anufabian6-Mar-07 17:34 
AnswerRe: Getting the error : The viewstate is invalid for this page and might be corrupted Pin
Harini N K6-Mar-07 18:08
Harini N K6-Mar-07 18:08 
GeneralRe: Getting the error : The viewstate is invalid for this page and might be corrupted Pin
anufabian6-Mar-07 20:11
anufabian6-Mar-07 20:11 
GeneralRe: Getting the error : The viewstate is invalid for this page and might be corrupted Pin
Harini N K6-Mar-07 21:06
Harini N K6-Mar-07 21:06 
GeneralRe: Getting the error : The viewstate is invalid for this page and might be corrupted Pin
anufabian6-Mar-07 21:34
anufabian6-Mar-07 21:34 
QuestionUser Based Menus.... Pin
Member 38798816-Mar-07 17:04
Member 38798816-Mar-07 17:04 
AnswerRe: User Based Menus.... Pin
Vsree6-Mar-07 18:26
Vsree6-Mar-07 18:26 
GeneralRe: User Based Menus.... Pin
Member 38798816-Mar-07 20:12
Member 38798816-Mar-07 20:12 
GeneralRe: User Based Menus.... Pin
Member 38798817-Mar-07 22:07
Member 38798817-Mar-07 22:07 
QuestionGridView .net 2.0 Vs20005 Pin
AnhTin6-Mar-07 16:23
AnhTin6-Mar-07 16:23 
QuestionCan you help me where i should put the code... Pin
blitz2bleach6-Mar-07 14:25
blitz2bleach6-Mar-07 14:25 
GeneralRe: Can you help me where i should put the code... Pin
Guffa6-Mar-07 14:46
Guffa6-Mar-07 14:46 
AnswerRe: Can you help me where i should put the code... Pin
Jasmine25016-Mar-07 15:13
Jasmine25016-Mar-07 15:13 
GeneralRe: Can you help me where i should put the code... Pin
blitz2bleach6-Mar-07 15:31
blitz2bleach6-Mar-07 15:31 

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.