Sunday, March 29, 2015

Display complete data of SSRS report without input any value in filter

Hi Vivek Signh,


Per my understanding that you have several parameters in the report and have add filter to filter the data, you don't want to select the value from the drop down list of the parameter to filter the data, right?


By default, if you have specify the value of the "Available values" you will get drop down list for you to choose value to dynamic filter the report. If you don't specify the "Available values" and only specify the "Default Values", the report will filter using the default value and you will need to input the value in the parameter to change the filter.


In your scenario, you have several parameters and you if you want to keep the filter working, I suggest you to continue to display the list of "availaible values" and if you don't want to display these drop down lists and also don't want to input value in the parameter, you will not need to create parameter, you can add filter in the query like below to get the filtered data of the report:

select * from tablename where col1='value1' and col2='value2' and col3='value3'


If I have some misunderstanding, please try to provide more details information.


Regards,

Vicky Liu




Vicky Liu

TechNet Community Support




Can i add my own html, css and javascript to a sharepoint page?

http://ift.tt/1D8lwau


Anything ? ;)


schema

How to simulate ModelState.IsValid in C# winform application for any model validation


in asp.net mvc the people validate model this below way



using System;
using
System.Data.Entity;
using
System.ComponentModel.DataAnnotations;

namespace
MvcMovie.Models {
public class Movie {
public int ID { get; set; }

[Required]
public string Title { get; set; }

[DataType(DataType.Date)]
public DateTime ReleaseDate { get; set; }

[Required]
public string Genre { get; set; }

[Range(1, 100)]
[DataType(DataType.Currency)]
public decimal Price { get; set; }

[StringLength(5)]
public string Rating { get; set; }
}

public class MovieDBContext : DbContext {
public DbSet<Movie> Movies { get; set; }
}
}

if (ModelState.IsValid)
{
db
.Movies.Add(movie);
db
.SaveChanges();
return RedirectToAction("Index");
}


now guide me how could do the model validation same way in any c# win and webform application ? guide me in details. thanks




How to simulate ModelState.IsValid in C# winform application for any model validation

this question has been cross posted to forums.asp.net and to stackoverflow:


"How to simulate ModelState.IsValid in any application for any model validation"


" How to simulate ModelState.IsValid in C# winform application for any model validation"




Gerry (Lowry) Ability Business Computer Services ~~ Because it's your Business, our Experience Counts!



How to select a row for update values, Using CTEs or suitable method

As you need a conditional update statement, i am assuming that you have only one row whose claim_id is 120301 and ORD=1.


UPDATE claim_data SET amount = 12345 WHERE claim_id = 120301 and Ord = 1




Regards, RSingh


Running multiple awaited Tasks in order



Problem is in "almost at the same time".

Running multiple awaited Tasks in order

The problem is that you have used 'async void'. You should not use 'async void' for methods/functions.


Change your method's signature to:


private async Task RSSReader()


And of course this method should be called asynchronously.




I'm a self-taught noob amateur. Please take this into account when responding to my posts or when taking advice from me.