User Profile
Collapse
-
error when sending large data in wcf
I have a function that returns a list more than 200000 objects and the object has 37 fields. I added the wcf as a web reference so i dont have to add any configuration item in my web apps config file. WCF works when I only have small amount of data. SInce I did'nt add the config file, how can I allow the wcf to send large amount of data. It sems to be timing out. When I debugged my wcf I'm getting this error "An error occurred while receiving... -
Hi did anyone have any problem using this code?
for (int i = 0; i < sourceOfData.Le ngth; i++)
{
DataRow dRow = dt.NewRow();
dRow["id"] = sourceOfData[i].Id;
dRow["descriptio n"] = sourceOfData[i].Desc;
dRow["price"] = sourceOfData[i].Price;
dt.Rows.Add(dRo w);
}
Everytime I use this, the first dRow does not have... -
ClickOnce + FTP update
I'm confused with ClickOnce deployment. I read some article that says you can update from ftp but other article says you can only do so with web site and network drive. Can you get updates from ftp? If so what are the requirements. -
Alter User command with parameters
I'm trying to change the password for a user in my C# apps and I want to do it dynamically. I tried using this command "ALTER USER :USER_NAME IDENTIFIED BY :NEW_PASSWORD" and I'm passing values for the user name and password. But this generates the error "Illegal variable/number". I tried doing it static using "ALTER USER XXX IDENTIFIED BY YYY". Is there anyone who's got on idea on how to do it dynamically? I dont really... -
Splash Screen Timing error
I'm showing a splash screen before my application load and this is my code that displays it.
Thread tSplash = new Thread(new ThreadStart(sho wSplash));
tSplash.Start() ;
Thread.Sleep(20 00);
tSplash.Abort() ;
My problem is my splash screen is still showing when my main form appears. How can I make my my main form wait for the thread to stop before showing... -
-
.Net Reporting Tool
Can anyone recommend me a good reporting tool? Something like iReport in Java that you can design the report without having to code. -
Attaching an object to an email in C#
Can you attach an object to an email? I created an Excel._Workbook object and I want to attach it to an email as an Excel without having to save the file then attach the saved file. Is this even possible? -
generating excel file using System.Data.DataTable
How do I generate an excel file using System.Data.Dat aTable? can anyone point me to where I start? Thanks! -
Reporting Tool in .NET
Hi, can anyone recommend me a good reporting tool in .NET? I just want to be able to generate a pdf file from my web application. I want to be able to have a button that user can click and pdf will pop up. The data in my pdf will be dynamic. I've been using java before for my reports, is there something like JasperReport or iReport for .NET? -
I have this code in my onStart() method:
SmtpClient smtp = new SmtpClient("smt p.xxx.com");
try
{
smtp.Send(messa ge);
}
catch (SmtpException a)
{
System.Console. WriteLine(a);
}
But for some reason the email is only sent out...Leave a comment:
-
Web Services email
I have a windows services that sends an email, my problem is it will only send the email when the service is terminated or onStop. What can I do to send the email every time smtp.send is called and not wait till the service is terminated?
No activity results to display
Show More
Leave a comment: