Click here to Skip to main content
15,886,873 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionImplimentation of BindingManagerBase class Pin
rj shukla24-Aug-09 1:23
rj shukla24-Aug-09 1:23 
AnswerRe: Implimentation of BindingManagerBase class Pin
N a v a n e e t h24-Aug-09 5:22
N a v a n e e t h24-Aug-09 5:22 
QuestionUse of save in FCK editor Pin
suzzain24-Aug-09 0:57
suzzain24-Aug-09 0:57 
AnswerRe: Use of save in FCK editor Pin
N a v a n e e t h24-Aug-09 1:14
N a v a n e e t h24-Aug-09 1:14 
Question[Message Deleted] Pin
rj shukla24-Aug-09 0:35
rj shukla24-Aug-09 0:35 
AnswerRe: BindingBaseManager class in Asp.Net Pin
N a v a n e e t h24-Aug-09 1:12
N a v a n e e t h24-Aug-09 1:12 
Questionhow to connect access database on web server Pin
Dhrumil_Shukla24-Aug-09 0:10
Dhrumil_Shukla24-Aug-09 0:10 
AnswerRe: how to connect access database on web server Pin
rj shukla24-Aug-09 0:40
rj shukla24-Aug-09 0:40 
Define any web form, then you established connection with any provider after this create command for
accessing query and finaly define datareader class.
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.OleDb;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0;Data Source=c:/db1.mdb;");
con.Open();
OleDbCommand cmd = new OleDbCommand("select *from login", con);
OleDbDataReader dr = cmd.ExecuteReader();

while (dr.Read())
{
if (TextBox1.Text == dr.GetString(0))

if (TextBox2.Text == dr.GetString(1))
Response.Redirect("default2.aspx");
else
lbl.Text="check the username and password";
CheckBox1.Text = "check the username and password";
}



//con.Close();
}


protected void LinkButton1_Click(object sender, EventArgs e)
{

}
}
AnswerRe: how to connect access database on web server Pin
Abhijit Jana24-Aug-09 18:13
professionalAbhijit Jana24-Aug-09 18:13 
GeneralRe: how to connect access database on web server Pin
Dhrumil_Shukla24-Aug-09 20:58
Dhrumil_Shukla24-Aug-09 20:58 
QuestionReg: Job Scheduling - Web [modified] Pin
Jay_se23-Aug-09 23:39
Jay_se23-Aug-09 23:39 
Questionshow image Pin
ritasaumya23-Aug-09 22:53
ritasaumya23-Aug-09 22:53 
AnswerRe: show image Pin
Christian Graus23-Aug-09 23:03
protectorChristian Graus23-Aug-09 23:03 
GeneralRe: show image Pin
padmanabhan N23-Aug-09 23:15
padmanabhan N23-Aug-09 23:15 
GeneralRe: show image Pin
Christian Graus23-Aug-09 23:30
protectorChristian Graus23-Aug-09 23:30 
AnswerRe: show image Pin
r a m e s h23-Aug-09 23:44
r a m e s h23-Aug-09 23:44 
QuestionConverting string data(which contains EBCDIC, Packed decimal and Endian data) to byte array Pin
deep723-Aug-09 22:38
deep723-Aug-09 22:38 
QuestionGridview Paging using AJAX textslider showing inconsistent behaviour Pin
Inderjeet Kaur23-Aug-09 20:52
Inderjeet Kaur23-Aug-09 20:52 
Questionjava script problem Pin
Amit Patel198523-Aug-09 20:34
Amit Patel198523-Aug-09 20:34 
AnswerRe: java script problem Pin
Blue_Boy23-Aug-09 20:49
Blue_Boy23-Aug-09 20:49 
AnswerRe: java script problem Pin
Abhishek Sur23-Aug-09 21:58
professionalAbhishek Sur23-Aug-09 21:58 
QuestionHow to Access web controls inside a Static method Pin
kirti.darji23-Aug-09 20:28
kirti.darji23-Aug-09 20:28 
AnswerRe: How to Access web controls inside a Static method Pin
Amit Patel198523-Aug-09 20:39
Amit Patel198523-Aug-09 20:39 
QuestionIE 7 Focus Issue Pin
platso_58823-Aug-09 20:17
platso_58823-Aug-09 20:17 
Questionsite publish problem Pin
pampam11023-Aug-09 19:29
pampam11023-Aug-09 19:29 

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.