|
What technology are you using? Silverlight? WPF? WinForms? JavaScript? Lego?
|
|
|
|
|
I am using Silverlight technology ...
|
|
|
|
|
Well, for a start, you should have posted this in the Silverlight / WPF forum. Secondly, please remember to post vital information like this in your post; don't waste everyone's time by forgetting to include something that is so fundamentally important.
You might find some joy using PlaneProjection[^].
|
|
|
|
|
|
The language doesn't matter. If you look down the forums list, you will see that there are various specialities in there - and you are more likely to find the answers in those specialities. So, knowing that you were using Silverlight it would stand to reason that you were more likely to get an answer there than in this forum. You were just lucky that someone who knows Silverlight happened to read the message here.
Had you posted it in that forum, you have more of a chance of getting an answer from someone who knows the technology. By using the wrong forum, you lessen your chance of getting an answer. In future, choose the right forum.
One final point. Please don't use text speak in the forums. You have a full keyboard at your disposal, so use it. Text speak just serves to irritate and can end up with people ignoring your question.
[Edit - Added in removed message]
leena206 wrote:
I posted it here cz anyways coding is in C# only ..
r8?? n thanks fr help ..
modified 4-Apr-12 5:54am.
|
|
|
|
|
Hello,
I am trying to understand the easiest way to rename a parent directory and the sub directory at the same time.
Thank you for the help.
|
|
|
|
|
I don't think you can. Why is this necessary?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Why at the same time?
Just rename the current and then jump to the parent and do the same? There is no magic button for this type of thing.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
I'm in C# WinRT in Metro, and I' trying to encode an image. I have this code from a .Net 4 app, but it doesn't compile in 4.5:
private string imageToBase64(Image image, System.Drawing.Imaging.ImageFormat format)
{
using (MemoryStream ms = new MemoryStream())
{
image.Save(ms, format);
byte[] imageBytes = ms.ToArray();
string base64String = Convert.ToBase64String(imageBytes);
return base64String;
}
}
Anyone know how to do this in C# Metro?
Everything makes sense in someone's mind
|
|
|
|
|
When you compile this, what is the compilation failure? What message do you get? Which line?
|
|
|
|
|
Compiles in the Developer Preview of VS11 under .NET 4.5.
Kevin Marois wrote: but it doesn't compile in 4.5:
Does it show a compile-time error? If yes, what does it say?
Bastard Programmer from Hell
|
|
|
|
|
Hi,
Can anyone help me in getting the c# code for uploading the docx file and get the output in XML format in the webpage
or any ideas like how can we achieve this
Please help me with this ASAP
|
|
|
|
|
You can use the Word.Interop[^] library.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
|
Hi Wipin,
thanks for your solution it was more useful
can u guide me in getting these application details in a web page,
How would i do that and what controls will change in that
|
|
|
|
|
Hi...
In my web application, we are using oracle database. my question is connection pool based on web application. Our application end user around 500. for these which connection is better i) create new connection for every request of user. ii) single connection pool via singleton object of the class iii) session based connection pool ( each user has separate connection pool)
which principle is using for web application? can please give suggestion or valuable link to me
--Thanks
|
|
|
|
|
I think you would get a better response by posting this in the Database forum; there is nothing in your question about C#.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
It already in the WebDevelopment[^] forum. Do we really need yet another copy of the question?
Bastard Programmer from Hell
|
|
|
|
|
Put there after my suggestion; check the times.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
anishkannan wrote: i) create new connection for every request of user.
That's what I'm doing; no problems with connections that are still open/closed/busy. Works quite fast, since connection-objects are returned to the pool.
Create a connection, create a command, execute.
anishkannan wrote: ii) single connection pool via singleton object of the class
Huh?
anishkannan wrote: iii) session based connection pool ( each user has separate connection pool)
I don't think that every user needs a pool of connections.
Bastard Programmer from Hell
|
|
|
|
|
Thanks for reply...
Your suggested option is the open statement execution then close;
In Case, the single web request has multiple open and close; it have any problem?
i face this : If access multiple user in many days, some times got exception as maximum pool reached in database side...
Singleton : i mean that, single open at the time of first ; all statement execution then close
|
|
|
|
|
If you're using the ODP.NET libraries, you could be hitting the maximum pool issue because you have unclosed connections - make sure you dispose of your connections as early as possible. Basically, the standard technique is to open the connection as late as possible and dispose of it as early as possible. We had a system with a 1000 users all hitting the Oracle server, and we never needed more than 10 connections in the pool to service them because of this simple mantra.
|
|
|
|
|
We are using our own data access layer. which has
<pre lang="c#">
public DataSet ExecuteProcedure(string strProcedure, Hashtable hashTableParameters, string tableName, ref DataSet datasetToFill)
{
try
{
Open();
}
catch (OracleException ex)
{
throw ex;
}
catch (Exception e)
{
}
finally
{
Close();
}
return datasetToFill;
}
Please tell me. if anything wrong in this ( i need correct in this code if has any mistaken )
we are using oracle sql developer client software. how check the connection pool in oracle db.
|
|
|
|
|
using (objConnection = new OracleConnection(strConnection))
{
using (objCommand = objConnection.CreateCommand())
{
}
}
Bastard Programmer from Hell
|
|
|
|
|