Advertise with us
Control Panel
Forum
Hosting Help
ASP.NET 4.5 & SQL 2012 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
Upgrade
|
Advertise
|
Tutorials
|
Home
»
Resources
»
Repeater
ASP.NET
ADO.NET
Web Services
Remoting
Visual Studio 2005
Error Bank
Interview Questions
Tips & Tricks
XML
HTML
Jscript/Javascript
IIS
Windows
General
Submit Resource or code snippet
... and get
surprise gifts
Win Digital camera, ASP.NET Books, Free softwares!!
Repeater
03 Jan, 2010
Author:
Saurav Bose
NSEC
Summary
Repeater
.NET Classes used :
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.OleDb;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
try
{
OleDbConnection con = new OleDbConnection(provider=msdaora;user id=scott;password=tiger;data source=orcl);
OleDbDataAdapter da = new OleDbDataAdapter(select * from studentimg, con);
DataSet ds = new DataSet();
da.Fill(ds, stu);
Repeater1.DataSource = ds.Tables[stu];
Repeater1.DataBind();
DataList1.DataSource=ds.Tables[stu];
DataList1.DataBind();
}
catch (Exception EX)
{ }
}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect(default2.aspx);
}
}
Feedbacks about this page from members:
- No Feedbacks yet !! -
Submit Feedback
View All Feedbacks
Total
members
:
250710
Average new registrations per day (in last 7 days):
7
New Registration:
Open
Register Now
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.