I have a .NET webservice that is called from a .NET webserver. If it takes more than 90 seconds for the webservice to return data, there is a timeout exception from System.web.services
Wh...
I've been reading all sort of questions about writing to the app.config file and yet have not found a good answer that will show me how to accomplish that. I am usinf framework 3.5 and visual ...
hi experts,
I am trying to connect my application to read from ms access database 2007. I am using C# and Visual Studio 2008. How to setup the sql Adapters to read and write to the database t...
Hi
Having some problem sometimes when I close my app. The program is still active if I look att the running processes.but I can't se any open form
I'm using
Private Sub frmMain_FormC...
I do not know how to create a WCF client in code with CustomBinding that has readerQuotas changed to larger value... I have attached a code snippet to show what I am trying to do. When I try t...
The code snippet below calculates the timespan between two periods
DateTime dtStart = DateTime.Parse(StartTime.Text);
DateTime dtEnd = DateTime.Parse(EndTime.Text);
...
SQL Server 2005 (9.0)
How do we round 12.36547to two decimal places using T-SQL
12.37 NOT 12.37000
We tried select round( 12.36547, 2 )
Thank you for the help
C# Web Apllication Connection String Error = System.Configuration.ConfigurationSettings.AppSettings is a 'property' but is used like a 'method'
The offending line is :
objConn = new Sys...
I am trying to read a text file into a text box, but I can't figure out how to convert a stream to a string.
private void ReadFileIntoTextBox()
{
System.IO.Str...
Hi,
I am using LINQ to SQL and are dragging and dropping my tables and stored procedures to the LINQ designer file .dbml. This works great and I can query against this object relational mod...
Hi,
How do I check if a file exists, and if it does how do I delete the file?
Thank you very much! :)
Hello,
My situation. I am using HTML-PDF dll to create dynamic pdfs. The HTML called by the pdf converter is protected with authorisation so only logged in users can view PDF's (eg invoice...
I have created an application that uses SQL Express 2005 database in Visual Studio 2008 (C#, .Net framework 3.5)
Now I need to create a setup project that will install this application.
SQ...
Hi,
I want to access a variable through out my project.So,i am using a viewstate .
I am assigning value for a viewstate variable in this way
viewstate["username"]="xxx" in one page ,
i...
I have a re-sizing panel in my application which I want to add a 'border' to in the form of a rounded rectangle. Drawing a standard rectangle seems easy using the following code:
private v...
I have a .Net system service that requires calls to start and stop 2 other services. I want to run this service in a limited context, but still be able to control the other 2 services. I am us...
I have a gridview
<asp:GridView ID="grdSearchResults" runat="server"
AutoGenerateColumns="False" DataKeyNames="PropertyID"
on...
Hi
Is there a function in vs 2005 (vb.net) to check if a date is between two dates?
Thx
I'm not really sure how to categorize this questions. Our environment is a Windows XP box set up as a server. Out of nowhere it's not working today. I tried to access the main site and rece...
In the code below I need for there to be an if statement...
IF <%#Eval("name")%> NOT EQ 16 or 51 the code below...
But if EQ to 16 0r 51 then <%#Eval("phone")%> and <%#Eval("type")%...
I posted this question and received a clue here: http://www.experts-exchange.com/Microsoft/Development/.NET/Q_23064765.html
I need to retrieve the credentials of a logged-in user from our L...
how do I delete row from datatable asp.net vb?
Experts,
Is it possible to send commands into a Sub Main() in a VB.NET app? So far I have not been able to do this.
Hi Experts
I'm just starting to look at the dataset's i(xsd files) in ASP.Net 2.0 and have a general enquiry about best practice.
It is best to have 1 xsd file per database table or hav...
Hi,
I am having a problem opening a csproj given to us by one of our customers. Their IT guy is leaving them, so they are coming to us to manage their code. the whole project was transferre...