I am trying to create and Instantiate IQueryable<T> object in my C# MVC project, but I am not able to create it, I would like to use it instead of List<T> = new List<T>
, so how can I do it? I am trying this
Hi, i would like to get page number of Current page in jQuery or in HTML of the Asp.net MVC PagedList.IPagedList.
...I am trying to optimise my query to get data from database, so I would to know how can I directly run a sql query in my C#.
Currently I am using Entity framework with EDMX, so to improve query time, I would like to know how can I run direct sql query?
...I am trying to work on Audio file and have seconds as int
in C#, but I would like to convert seconds into hh:mm:ss ( hours, minutes and seconds) format, so How can I do it easily in C#?
For example: 20 Seconds = 00:00:20 in hour,minutes,seconds format.
...Hello, I am trying to pass this string from back-end C# to front end, and want to render it as HTML, when passing this string to the front-end, it doesn't look proper, here is my current C# code.
...I am trying to convert List into JSON format using the code below
...I am trying to save data into database using web service[asmx], after saves successfully data into table I want to show successful message in JSON format
Here is my code:
...