Solved

ASP.NET Dynamic Data, How add Filter Columns

Posted on 2010-11-10
8
778 Views
Last Modified: 2012-05-10
Following the next tutorial http://www.dotnetfunda.com/articles/article1039-aspnet-dynamic-data-.aspx

I could successfully make my first webpage with dynamic data, but I cant see any filter comboboxes when I access one of my databases ( I created my own databases, im not using Northwind database).

I attached an image of my database, you can notice i dont have any relationships, because for my is not 100% necessary but i can add them  if I must add a relationship in order to get this filter combos.

My point is im not sure how to get a filter combo based in a column of my Database, it looks like the NorthWind database have something configured because they appear automatically  (like the "Discontinued" column)
DB.PNG
0
Comment
Question by:Veljean
[X]
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
8 Comments
 
LVL 6

Expert Comment

by:AliSyed
ID: 34102961
Please make the relationships and check
0
 
LVL 1

Author Comment

by:Veljean
ID: 34103077
I already did it, if I make a relationship between the tables "Vehiculos" and "Visitas"· with NumOrder column.

The result is only an extra column called "Visitas" , where evidently show the relationship between both, but i dont want that , i want to be able to filter by FechaPAgo or any other column of "Vehiculos"
0
 
LVL 15

Expert Comment

by:aibusinesssolutions
ID: 34139254
What are you using to display your data?  Linq to Sql, Datasets, SqlDataAdapters, SqlCommands, etc.

What are you binding to?  Datagrid, Datalist, Repeater, etc.

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:Veljean
ID: 34145828
Linq to Sql, I followed the tutorial (click the link), since everything is self-created im not very sure what I am binding
0
 
LVL 15

Expert Comment

by:aibusinesssolutions
ID: 34147239
I must be blind, I couldn't find a way to download that tutorial, but I did notice a Filters folder in the screenshots.  It may contain the filter classes.
0
 
LVL 1

Accepted Solution

by:
Veljean earned 0 total points
ID: 34147337
it have it, but is not as simple like add a new filter(.ascx) , im not very sure what im missing although I have followed all the tutorial   :(
0
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 34387694
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 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