Hi,
I’ve been searching for days and cannot find a solution.
I have a RDLC sub report (VS2010) which Works fine in the environment/local mode, also works fine when I deploy to our Development server. However, when I deploy to the Production server, I get the following error.
The subreport...
Hi,
I need help extracting the month from my date column. The date is returned in this format 2012-07-06.
what I would like to do is filter the date based on the month only so return all the data for July etc.
This is what I have
string value =...
Hi,
I'm using asp.net and I have my try catch is in a class in my DAL which returns a datatable to my user control. If my datatable does not get returned and an error is thrown in my try catch, what i need to happen is display the error message inside that particular user control instead...
Hi,
I need to get the sum of employees scores for each department using linq. I only need scores from departments that have more than 20 employees but not sure Where to put the Where clause also not sure if the query below is correct
var departmentquery = from row in dt.AsEnumerable()...
Hi,
I have a datetime issue
At the moment I get a time value as '16/09/2010 06:00:00' but in my database the time value is 600. Is there anyway I can convert the datetime in my application to be passed to the database as 600 which is 6 am or can i take care of the problem at the backend. I'm...
Hi,
Using the code below can someone please show me how to cache my query below.
var query = from row in dt.AsEnumerable()
group row by row["name"] into grp
let totalcount = dt.AsEnumerable().Count()...
Hi,
I have a method that returns a datatable and fills a grid. At the moment I do a round trip the database 3 times to get the same data that the fills the grid to do some calculations to fill some charts.
Can someone please tell me how I can avoid going back to the database and reusing...
Hi,
I’m using the code below to get a datatable.
I need to get 2 datatables using this method and I want to end up with one dataset.
Can someone please tell me the best way to this. As I’m basically repeating the code below to and changing the stored procedure.
Thanks
DataTable...
Hi,
I'm using the code below to get the values of all the checkboxlist on my page .
else if (cntrl.GetType() == typeof(CheckBoxList))
{
if (!string.IsNullOrEmpty(((CheckBoxList)cntrl).Text))
{
ids =...
Hi,
I have 2 arrays which I’m comparing values which works fine.
So basically I get the results from 2 arrays and compare the values and then add the missing files to a thrid array. The problem I have is when I added the missing files to the array I will like to add some more information to...
Hi,
I have a while loop that checks a folder for a file, once the file is moved from the folder for some reason the while loop does not exit as it still thinks the length is still one although there is no file in the folder.
while (files.Length > 0)
{
//some code...
Hi,
I have a CSV file that contains a list of all the files to be downloaded from an FTP site. Files that get downloaded need to be checked against this list and once all the files have been downloaded I need to send an email out for all the files on the list that was not part of the download...
Basically I have dynamic radio buttons and I am trying to display a dropdown based on the selection of the radio button. Currently I have 4 radio buttons so when I try and get the ID of the selected radio button I get the ID for all the radio buttons (1,2,3.4) instead of the ID of the selected...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.