Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'Title'

Posted on 2010-11-24
4
779 Views
Last Modified: 2012-05-10
I am getting follwing error in my web browser

DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'Title'
0
Comment
Question by:Hersh
  • 2
4 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 34205114
In your code, you probably have a line like:

        ...  drv.Title ...

where "drv" is a variable name and is an object of type System.Data.DataRowView. The members for DataRowView can be found here:  http://msdn.microsoft.com/en-us/library/system.data.datarowview.aspx
0
 
LVL 1

Expert Comment

by:_DJ
ID: 34205134
See if you are using DataTextField as 'title' just check after removing it or
Check if you are selecting Title field from database.
Also if Title is a table name or you are using Title.FieldName then remove Title just write Field name.
0
 
LVL 12

Assisted Solution

by:Anuradha Goli
Anuradha Goli earned 500 total points
ID: 34210243
This error will come for the below scenario.

You are getting the "Title" column in your select query or Stored procedure.
Check your procedure once.
0
 
LVL 12

Accepted Solution

by:
Anuradha Goli earned 500 total points
ID: 34210247
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to run sql statements from SQLCMD or command line 2 66
Pivot Query Problem 9 47
Grid querry results 41 80
What is this datetime? 1 20
I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question