Solved

ASP.NET Dynamic Data, How add Filter Columns

Posted on 2010-11-10
8
773 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
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now