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

Converting rs. to paisa - c# program, Converting Rs. to Paisa - C# Program ...

Converting Rs. to Paisa - C# Program Need the code of C# Program for Converting Rs. to Paisa.

Describe how a user control is declared in an asp.net page, Question: (...

Question: (a) One problem encountered when designing web applications is that HTTP is a "stateless" protocol. Explain two general approaches to solve the statelessness problem

What are the different implementations of linq, What are the different impl...

What are the different implementations of LINQ? The different implementations of LINQ are: LINQ to SQL - Refers to a component of.NET Framework version 3.5 that provides a

Different types of replication supported by sql server, What are the differ...

What are the different types of replication supported by SQL SERVER? There are 3  types of replication supported by SQL SERVER which are shown below:- 1) Snapshot Replicati

Data hiding and encryption would be done on images, Data hiding and encrypt...

Data hiding and encryption would be done on images. Both these process should have a data hiding key and an encryption key correspondingly. Another user should be able to decrypt t

What is .net framework, C# Programming 1. What is .Net Framework? 2....

C# Programming 1. What is .Net Framework? 2. Write short notes on constructors and destructors. 3. Explain boxing and unboxing with examples. 4. What is a mixed mode a

Management, read a file which has emp.no,name,age as per fields/you want to...

read a file which has emp.no,name,age as per fields/you want to calculate no.of employess whose age more than50

Namespace-difference between namespace & assembly, NameSpace Namespace co...

NameSpace Namespace consists of 2  main basic functionality :- NameSpace Logically types group , ex. System.Web.UI logically groups our UI related features. In Object O

Finding maximum & minimum numbers - c# program, Finding Maximum & Minimum N...

Finding Maximum & Minimum Numbers - C# Program I am facing some problems in the code for Finding Maximum & Minimum Numbers. Can anybody suggest me the proper code for it.

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