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

How can you add rows from the datatable object of dataset, How can you add ...

How can you add or remove rows from the DataTable object of DataSet? The DataRowCollection class explains the collection of rows for the DataTable object in a DataSet. The Data

Ways of parsing xml document, What are the ways of parsing XML document? ...

What are the ways of parsing XML document? The XML parser sits in between the XML document and the application who want to use the XML document. The Parser exposes a set of wel

What is the use of a global.asax file in asp.net, Question: (a) Outlin...

Question: (a) Outline four classes that allow you to work with File Streams. (b) (i) What potential problem can arise when you change items stored in an Application State

Advantages of sql 2000 over sql 7.0, What are advantages of SQL 2000 over S...

What are advantages of SQL 2000 over SQl 7.0? 1)User-Defined Functions: The User-Defined Functions (UDFs) -- one or moreTransact-SQL statements may be used to encapsulate the

State the differences between the dispose and finalize, State the differenc...

State the differences between the Dispose () and Finalize(). CLR uses the Dispose and Finalize methods to perform garbage collection of run-time objects of .NET applications.

How do i force the dispose method to be called automatically, How do I forc...

How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method? To Call the Dispose method in the Finalize method and in the Dispose

Develop a new website, I need to develop a new website. Previous site was n...

I need to develop a new website. Previous site was not good and I need better one with not only static but using also more details . Skills required: .NET, MySQL, C# Programm

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.

What is a cloud, What is a cloud? A cloud is a combination of hardware,...

What is a cloud? A cloud is a combination of hardware, storage, networks, services, and interfaces that helps in delivering computing as a service. It has generally three users

What is an identifier, What is an identifier? Identifiers are northing ...

What is an identifier? Identifiers are northing but names given to various entities uniquely identified in a program. The name of identifiers must vary in spelling or casing. F

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