Click here to Skip to main content
15,902,876 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: interview questions Pin
R. Giskard Reventlov17-Oct-13 8:07
R. Giskard Reventlov17-Oct-13 8:07 
AnswerRe: interview questions Pin
thatraja17-Oct-13 21:54
professionalthatraja17-Oct-13 21:54 
AnswerRe: interview questions Pin
Abhinav S19-Oct-13 21:20
Abhinav S19-Oct-13 21:20 
QuestionStretching an Image in a Table cell (IE7) Pin
Blikkies17-Oct-13 4:54
professionalBlikkies17-Oct-13 4:54 
QuestionFiltering - web api c# Pin
miss78617-Oct-13 0:01
miss78617-Oct-13 0:01 
AnswerRe: Filtering - web api c# Pin
Bernhard Hiller17-Oct-13 2:29
Bernhard Hiller17-Oct-13 2:29 
AnswerRe: Filtering - web api c# Pin
Kornfeld Eliyahu Peter17-Oct-13 2:30
professionalKornfeld Eliyahu Peter17-Oct-13 2:30 
GeneralRe: Filtering - web api c# Pin
miss78617-Oct-13 3:51
miss78617-Oct-13 3:51 
Hello,
thank you so much for your response.

I updated my code but now I am expericing the an application error:
A potentially dangerous Request.Path value was detected from the client

C#
public IEnumerable<database_BWICs> GetDatePrice(string type, string trd)
      {
          DateTime yesterday = DateTime.Today.AddDays(-1);

          var data = from c in db.database_BWICs
                     where c.UploadDate <= yesterday &&
                     c.Cover == type ||
                     c.Cover == trd
                     select c;
          return data.ToList();
      }


http://localhost:38853/api/daily/type=cvr&trd=talk[^]

I am working on putting the application onto the server. Please bear with me, I shall forward you an appropriate link in couple of minutes time.

Thank you for your time and help.
GeneralRe: Filtering - web api c# Pin
Kornfeld Eliyahu Peter17-Oct-13 4:23
professionalKornfeld Eliyahu Peter17-Oct-13 4:23 
GeneralRe: Filtering - web api c# Pin
miss78617-Oct-13 4:39
miss78617-Oct-13 4:39 
QuestionRe: Filtering - web api c# Pin
Kornfeld Eliyahu Peter17-Oct-13 7:13
professionalKornfeld Eliyahu Peter17-Oct-13 7:13 
SuggestionRe: Filtering - web api c# Pin
Richard Deeming17-Oct-13 4:30
mveRichard Deeming17-Oct-13 4:30 
QuestionDisplaying "File Name: 002.txt" in Hebrew Pin
civic06016-Oct-13 4:42
civic06016-Oct-13 4:42 
AnswerRe: Displaying "File Name: 002.txt" in Hebrew Pin
Kornfeld Eliyahu Peter16-Oct-13 5:57
professionalKornfeld Eliyahu Peter16-Oct-13 5:57 
GeneralRe: Displaying "File Name: 002.txt" in Hebrew Pin
civic06016-Oct-13 9:46
civic06016-Oct-13 9:46 
QuestionAdd dynamic pages to Google Search Pin
Blikkies16-Oct-13 0:53
professionalBlikkies16-Oct-13 0:53 
AnswerRe: Add dynamic pages to Google Search Pin
Richard Deeming16-Oct-13 1:41
mveRichard Deeming16-Oct-13 1:41 
GeneralRe: Add dynamic pages to Google Search Pin
Blikkies16-Oct-13 2:03
professionalBlikkies16-Oct-13 2:03 
GeneralRe: Add dynamic pages to Google Search Pin
Richard Deeming16-Oct-13 2:10
mveRichard Deeming16-Oct-13 2:10 
GeneralRe: Add dynamic pages to Google Search Pin
Blikkies16-Oct-13 2:39
professionalBlikkies16-Oct-13 2:39 
QuestionHow to draw horizontal line using Gios Pdf in C#,ASP.NEt Pin
Member 1020836815-Oct-13 2:26
Member 1020836815-Oct-13 2:26 
QuestionDashboard in ASP.NET Pin
ashu200114-Oct-13 19:19
ashu200114-Oct-13 19:19 
AnswerRe: Dashboard in ASP.NET Pin
thatraja14-Oct-13 21:33
professionalthatraja14-Oct-13 21:33 
GeneralRe: Dashboard in ASP.NET Pin
ashu200115-Oct-13 18:41
ashu200115-Oct-13 18:41 
AnswerRe: Dashboard in ASP.NET Pin
CodeBlack15-Oct-13 20:40
professionalCodeBlack15-Oct-13 20:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.