Click here to Skip to main content
16,004,924 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: transparency on IE Pin
Vasudevan Deepak Kumar25-Jun-07 5:28
Vasudevan Deepak Kumar25-Jun-07 5:28 
AnswerRe: transparency on IE Pin
Shog925-Jun-07 6:58
sitebuilderShog925-Jun-07 6:58 
QuestionStylesheet Problem in IE 7 Pin
Sachin Pimpale25-Jun-07 3:35
Sachin Pimpale25-Jun-07 3:35 
AnswerRe: Stylesheet Problem in IE 7 Pin
Vasudevan Deepak Kumar25-Jun-07 5:27
Vasudevan Deepak Kumar25-Jun-07 5:27 
QuestionImage caching, IE7 problem! Pin
ErikZ25-Jun-07 3:05
ErikZ25-Jun-07 3:05 
AnswerRe: Image caching, IE7 problem! Pin
Vasudevan Deepak Kumar25-Jun-07 5:26
Vasudevan Deepak Kumar25-Jun-07 5:26 
GeneralRe: Image caching, IE7 problem! Pin
ErikZ25-Jun-07 22:46
ErikZ25-Jun-07 22:46 
QuestionCode problems [modified] Pin
matjame25-Jun-07 2:37
matjame25-Jun-07 2:37 
Hi guys.
I have managed to get some code for a for database connection.
Now, it runs well with no errors but doesnt display any values.Can anyone check and tell me where I went wrong.Its simply suppose to show values during run mode.

<%@ Import Namespace="System.Data.OleDb" %>
<%@LANGUAGE="VBSCRIPT" runat="Server" CODEPAGE="1252"%>

sub Page_Load
dim dbconn,sql,dbcomm,dbread
dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;data source=" & server.mappath("/db/NWIND.mdb"))
dbconn.Open()
sql="SELECT * FROM Customers"
dbcomm=New OleDbCommand(sql,dbconn)
dbread=dbcomm.ExecuteReader()
Customers.DataSource=dbread
Customers.DataBind()
dbread.Close()
dbconn.Close()
end sub






<title>Companyname





<asp:datalist
id="customers"
runat="server"
cellpadding="2"
cellspacing="2"
borderstyle="inset"
backcolor="#e8e8e8"
width="100%"
headerstyle-font-name="verdana"
headerstyle-font-size="12pt"
headerstyle-horizontalalign="center"
headerstyle-font-bold="true"
itemstyle-backcolor="#778899"
itemstyle-forecolor="#ffffff"
footerstyle-font-size="9pt"
footerstyle-font-italic="true">

<headertemplate>
Customers Table


<itemtemplate>
<%#Container.DataItem("Company Name")%> in
<%#Container.DataItem("Address")%>, <%#Container.DataItem("City")%>


<footertemplate>
Source: Northwind Database




 


 








Please help guys


-- modified at 8:52 Monday 25th June, 2007

kagiso

AnswerRe: Code problems Pin
PrakashBhaskar25-Jun-07 2:44
PrakashBhaskar25-Jun-07 2:44 
GeneralRe: Code problems Pin
matjame25-Jun-07 2:51
matjame25-Jun-07 2:51 
GeneralRe: Code problems Pin
PrakashBhaskar25-Jun-07 3:02
PrakashBhaskar25-Jun-07 3:02 
GeneralRe: Code problems Pin
matjame25-Jun-07 3:06
matjame25-Jun-07 3:06 
GeneralRe: Code problems Pin
PrakashBhaskar25-Jun-07 3:10
PrakashBhaskar25-Jun-07 3:10 
GeneralRe: Code problems Pin
matjame25-Jun-07 3:12
matjame25-Jun-07 3:12 
GeneralRe: Code problems Pin
matjame25-Jun-07 3:23
matjame25-Jun-07 3:23 
GeneralRe: Code problems Pin
Guffa25-Jun-07 6:03
Guffa25-Jun-07 6:03 
Questionuse of popup celander in asp Pin
Haresh Boghani24-Jun-07 22:13
Haresh Boghani24-Jun-07 22:13 
AnswerRe: use of popup celander in asp Pin
Panchal Hardik25-Jun-07 2:36
Panchal Hardik25-Jun-07 2:36 
GeneralRe: use of popup celander in asp Pin
Haresh Boghani25-Jun-07 5:22
Haresh Boghani25-Jun-07 5:22 
AnswerRe: use of popup celander in asp Pin
Vasudevan Deepak Kumar25-Jun-07 5:07
Vasudevan Deepak Kumar25-Jun-07 5:07 
QuestionMarquee restarting before it ends Pin
tonymathewt24-Jun-07 21:44
professionaltonymathewt24-Jun-07 21:44 
AnswerRe: Marquee restarting before it ends Pin
Vasudevan Deepak Kumar25-Jun-07 5:30
Vasudevan Deepak Kumar25-Jun-07 5:30 
GeneralRe: Marquee restarting before it ends Pin
tonymathewt27-Jun-07 17:34
professionaltonymathewt27-Jun-07 17:34 
Questionhello Pin
Ali el24-Jun-07 1:13
Ali el24-Jun-07 1:13 
AnswerRe: hello Pin
Sathesh Sakthivel24-Jun-07 1:55
Sathesh Sakthivel24-Jun-07 1:55 

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.