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 difference between namespace and assembly, What is Difference betwe...

What is Difference between NameSpace and Assembly? Following are the differences among namespace and assembly: Assembly is physical grouping of logical units, Namespace, log

Define assembly-types of assembly, Assembly: 1) Assembly is a unit of d...

Assembly: 1) Assembly is a unit of deployment such as EXE or a DLL. 2) An assembly consists one or more files (dlls, exe's, html files etc.),& represents a group of resources,

Bcp utility in sql server, What is BCP utility in SQL SERVER? The Bulk ...

What is BCP utility in SQL SERVER? The Bulk Copy Program (BCP) is a command line utility by which you can import & export large amounts of data in and out of the SQL SERVER dat

Black box testing & white box testing, What is black box testing & White bo...

What is black box testing & White box testing? The Black box testing is also termed as functional testing. It ignores how the internal functionality of a system works & depends

Xml text reader, What is XML Text Reader? The "XmlTextReader" class hel...

What is XML Text Reader? The "XmlTextReader" class helps to give fast access to streams of XML data in a forward-only and read-only manner. The XMLTextReader also checks if the

Grid view, to design a grid view and edit and delete the data

to design a grid view and edit and delete the data

C#, . write a program for displaying the total no of characters, words and ...

. write a program for displaying the total no of characters, words and sentences in a given file

Show the structure of the global.asax file, Question: (a) Write extrac...

Question: (a) Write extract codes to show the structure of the Global.asax file. (b) Outline four classes that allow you to work with File Streams. (c) When working with

List advantages of binding data to controls, Question: (a) List three ...

Question: (a) List three advantages of binding data to controls. (b) The Repeater control uses templates to control formatting. Define the five types of templates supporte

Can we post view state in another application?, You can post back to any of...

You can post back to any of the page and pages in other application, too. But if you are posting pages to other application, the PreviousPage property will return null. This is an

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