Gridview’e kodla veri doldurma.

Arif Ceylan/ Ocak 19, 2012/ VS 2010 Asp.net C#-Access Veri Tabanı/ 0 comments

OleDbConnection db_baglanti = new OleDbConnection(“Provider=Microsoft.Jet.OLEDB.4.0;Data Source=” + Server.MapPath(“~/App_Data/vt.mdb”));

db_baglanti.Open();
OleDbCommand db_komut = new OleDbCommand();
db_komut.CommandText = “select * from duyurular”;
db_komut.Connection = db_baglanti;
OleDbDataReader dr = db_komut.ExecuteReader();
GridView1.DataSource = dr;
GridView1.DataBind();


Gelen arama terimleri:

  • gridview doldurma
  • asp net gridview doldurma
  • c# gridview doldurma
  • c# grid doldurma
Share this Post

Leave a Comment

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*