Dim strfldRankNew AsInt32 = RTrim(LTrim(e.NewValues("fldRank")))
LTrim and RTrim cut off leading and trailing blanks from a string. They return a string. Not an Int32. You could use Int32.Parse() - better use If Int32.TryParse()... and show a useful error message to the user when it fails!
Hi. I am using Microsoft Chart control (.Net 3.5) for a report. Its working good. But when my label text is too long, its not showing full text. Is there any text wrap property in MS Chart Control or please advise me how can it would be done.
However after stepping out of Presenter.DisplayText() Text property of myLabel becomes null again as though no assignment were done. By all means if you replace the only line in myButton click event with direct setting of myLabel Text property everything stays assigned.
I have a new requirement as follows. Its an webapplication depends on external systems and sqlserver to pull and push data. We have to develop that app both in ASP.NET Web application and for an IPAD. UI will be almost same for both ASP.NET web application and for IPAD.
So can any body suggest me the best possible ways so that some core business logic can be reused for both Webapplication and for IPAD
I have web service that is developped using mainframe's natural language and wsdl created using some java's web server. I got the wsdl and using SOAP UI I have created a proxy .net class to add it in my application. The proxy is connecting and getting the data, but after calling it for 2 or 3 times application is becoming too slow. It was not happening when I was not using the mainframe webservice proxy.
I am not understanding what is the reason and what's the cause for the slow. Do I have to close the connection and dispose the proxy object, I am not understanding. Please help me by giving some ideas or code snippets. I am putting my code below
Proxy class constructor:
Public Sub New()
'Me.Url = "http://localhost:7800/************V1WSDLSOAP_HTTP_Service"
Me.Url = "http://************EAI20:7810/EmployerAddress"
And I am calling the proxy in the following way
And I am not closing or disposing the proxy class any where (assuming that if once the scope of the execution finishes .net runtimes automatically frees the memory. As the proxy is managed code component)
Please help me by giving any kind of help.