web from designer inline whiledataread from dbase show dr1, DOT NET Programming

Assignment Help:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="onurty.aspx.cs" Inherits="JOIN_PROJEM.onurty" %>




https://www.w3.org/1999/xhtml">
runat="server">







<% while dr1.read() { %>





<% } %>
Ürün Adi : <%=dr1("urunadi");%> <%=dr1("urunlinki");%>








---------------


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.IO;
using System.Text;
using System.Drawing;
using System.Data.Common;
using System.Data.OleDb;
namespace JOIN_PROJEM
{
public partial class onurty : System.Web.UI.Page
{

protected void Page_Load(object sender, EventArgs e)
{

OleDbConnection connection = new OleDbConnection(ConfigurationManager.ConnectionStrings["constr"].ToString());


string query = "select * from urunler";
OleDbCommand dr1= new OleDbCommand(query, connection);
dr1.ExecuteReader();
}
}
}


web designer tarafinda loop cevirmek istiyorum dr1 e hata aliyorum vs15 kullaniyorum loop repeter GRIDVIEW BULILDINGSTRING APPEND VS KULLANMMAMALI KISACA ASP NETTE MVC GIBI OLMASINI ISTIYORUM HOCAM

KODUN dr1 does not exist context diyor bu kodun behind ve web form kismi nasil olmali butun ornekler istemedigim comentler uzerine yani yukarida kilere gore loopu vs 15 yapamadim

Related Discussions:- web from designer inline whiledataread from dbase show dr1

What is garbage collection, What is garbage collection? Explain the di...

What is garbage collection? Explain the difference among garbage collections in .NET 4.0 and earlier versions. Garbage collection stops memory leaks during execution of pro

Dataset object, What is Dataset object ? The DataSet gives the basis fo...

What is Dataset object ? The DataSet gives the basis for the disconnected storage and manipulation of the relational data. We fill it from the  data store, work with it while d

Different types of caching using in asp.net, What are different types of ca...

What are different types of caching using in ASP.NET? You can use 2 types of output caching to cache information which is to be transmitted to and displayed in a Web browser:

What are the authentication methods in .net, What are the authentication me...

What are the authentication methods in .NET? 1.Windows authentication 2.Forms authentication 3.Passport authentication 4.None/custom authentication

Reference counting in com, What is Reference counting in COM? The Refer...

What is Reference counting in COM? The Reference counting is a memory management method used to count the number of times an object has a pointer referring to it. The very firs

Finding largest array element - c# program, Finding Largest Array Element -...

Finding Largest Array Element - C# Program I am unable to make out the Largest Array Element in C# language. Can anyone suggest me any example for this.

Common code, How do I write common code for different dot net framework dat...

How do I write common code for different dot net framework data providers?

What are windows services, What are Windows services? Windows services,...

What are Windows services? Windows services, previously called as NT services, are applications that are installed on the system as system services. In other words, Windows ser

Develop a alphabates and numbers generators screen, how we can display a a...

how we can display a alphabets by identifies an image and if its different than show someother alpbabets.

Dar (decision analysis and resolution), What is DAR (Decision Analysis and ...

What is DAR (Decision Analysis and Resolution)? The Decision Analysis and Resolution is to analyze possible decisions using a formal evaluation process that identifies alternat

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd