Click here to Skip to main content
15,890,282 members
Home / Discussions / Web Development
   

Web Development

 
QuestionWeb Service Encryption - How? Pin
mikkolaa5-Jun-07 7:45
mikkolaa5-Jun-07 7:45 
AnswerRe: Web Service Encryption - How? Pin
Not Active5-Jun-07 8:21
mentorNot Active5-Jun-07 8:21 
GeneralRe: Web Service Encryption - How? Pin
mikkolaa5-Jun-07 20:31
mikkolaa5-Jun-07 20:31 
Questiongenealogy site recommendation Pin
JimmyRopes5-Jun-07 4:21
professionalJimmyRopes5-Jun-07 4:21 
AnswerRe: genealogy site recommendation Pin
ganti.r6-Jun-07 0:29
ganti.r6-Jun-07 0:29 
GeneralRe: genealogy site recommendation Pin
JimmyRopes6-Jun-07 0:43
professionalJimmyRopes6-Jun-07 0:43 
Questionparent -child forms Pin
ra-rag4-Jun-07 11:59
ra-rag4-Jun-07 11:59 
QuestionDatabase connection Pin
matjame4-Jun-07 0:56
matjame4-Jun-07 0:56 
I developed my pages in dreamweaver, now I want to connect to my MS Access database.Anyone help with a HTLM code on how to connect.

This code shows what I want to do on this webpage.Please help with a code.I used vb.net & c# and they work but I want to use straight HTLM coding.

****************************************************************************
using System;
using System.Data;
using System.Data.ProviderBase;
using System.Data.OleDb;
using System.Configuration;
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;

public partial class _Default : System.Web.UI.Page
{
//**************************First Connection DropDownList Load******************
OleDbConnection connect = new OleDbConnection();
//string strng = @"Provider = Microsoft.Jet.Oledb.4.0; Data Source = C:\StoreKey.mdb";******uncomment this
string strng = @"Provider = Microsoft.Jet.Oledb.4.0; Data Source = C:\TelephoneList.mdb";
//OleDbDataReader datareader;

//*****************************Second Connection Datagrid population***************
//OleDbConnection connectin = new OleDbConnection();
//string strng2 = @"Provider = Microsoft.Jet.Oledb.4.0; Data Source = C:\TelephoneList.mdb";
//OleDbDataReader datareader2;

protected void Page_Load(object sender, EventArgs e)
{

}
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
// when a character is selected
// load the datagrid with values from that character
LabelMessage.Text = "";
connect.ConnectionString = strng;

//OleDbCommand command = new OleDbCommand("Select * from Extensions Where FilterByKey = '" + DropDownList1.SelectedItem + "'", connect);

OleDbDataAdapter oda = new OleDbDataAdapter("Select Name, Surname, Department, Xtension, [Alternative Extension] from Extensions Where FilterByKey = '" + DropDownList1.SelectedItem.ToString() + "'", connect);
connect.Open();
DataSet datas = new DataSet();
oda.Fill(datas, "MyTable1");
GridView1.DataSource = datas.Tables[0];
GridView1.DataBind();



}
}
:->Sniff | :^) Sniff | :^) Sniff | :^)

kagiso

AnswerRe: Repeater Binding Pin
StianSandberg3-Jun-07 23:44
StianSandberg3-Jun-07 23:44 
QuestionPHP without ODBC Pin
Socheat.Net3-Jun-07 16:54
Socheat.Net3-Jun-07 16:54 
AnswerRe: PHP without ODBC Pin
MatrixCoder4-Jun-07 21:03
MatrixCoder4-Jun-07 21:03 
GeneralRe: PHP without ODBC Pin
haggenx6-Jun-07 7:58
haggenx6-Jun-07 7:58 
QuestionHow can i execute a client side program on a website? Pin
amin_joon2-Jun-07 23:29
amin_joon2-Jun-07 23:29 
AnswerRe: How can i execute a client side program on a website? Pin
Johnny ²3-Jun-07 0:34
Johnny ²3-Jun-07 0:34 
GeneralRe: How can i execute a client side program on a website? Pin
amin_joon3-Jun-07 10:14
amin_joon3-Jun-07 10:14 
GeneralRe: How can i execute a client side program on a website? Pin
RichardGrimmer6-Jun-07 5:43
RichardGrimmer6-Jun-07 5:43 
QuestionRepeater Binding Pin
amryousef2-Jun-07 23:16
amryousef2-Jun-07 23:16 
QuestionASP.Net displaying the value Pin
hifiger20042-Jun-07 1:20
hifiger20042-Jun-07 1:20 
AnswerRe: ASP.Net displaying the value Pin
Guffa2-Jun-07 9:13
Guffa2-Jun-07 9:13 
Questionlogout Pin
jayvaishnav821-Jun-07 20:41
jayvaishnav821-Jun-07 20:41 
AnswerRe: logout Pin
badgrs3-Jun-07 22:37
badgrs3-Jun-07 22:37 
QuestionInternational Language Unicode breaks in FireFox Pin
Vasudevan Deepak Kumar1-Jun-07 19:39
Vasudevan Deepak Kumar1-Jun-07 19:39 
AnswerRe: International Language Unicode breaks in FireFox Pin
Guffa1-Jun-07 22:42
Guffa1-Jun-07 22:42 
AnswerRe: International Language Unicode breaks in FireFox Pin
Arun.Immanuel2-Jun-07 7:59
Arun.Immanuel2-Jun-07 7:59 
GeneralRe: International Language Unicode breaks in FireFox Pin
Vasudevan Deepak Kumar4-Jun-07 19:07
Vasudevan Deepak Kumar4-Jun-07 19:07 

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.