Control Panel
Forum
Hosting Help
ASP.NET 4 & SQL 2008 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
New Features
|
Advertise
|
Tutorials
|
Silverlight Tutorials
|
Product Reviews in India
|
Free aptitude test questions
|
TATA Nano Car reviews
Total
members
:
149204
Average new registrations per day (in last 7 days):
122
New Registration:
Open
Register Now
Learn Windows 7:
How to solve Generic Host Error in Windows
In this resource I will explain how to solve Generic Host Error in Windows
Want to become a DBA ?
SQL Server 2008 training courses
- by AspSpider team
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
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.