I have a Oracle procedure to which I have to pass a datetime value (2/5/2010 11:46 AM)
How do I pass this value from VB.net. When I pass the date as shown below it is not returning any records though there are records.
With Cmd
.Connection = FactsConn
.CommandType = CommandType.StoredProcedure
.CommandText = "sp_atas_image_qry"
.Parameters.Add(New OracleParameter("vinspectiondatetime", OracleClient.OracleType.DateTime)).Value = "2/5/2010 11:46 AM"
.Parameters.Add(New OracleParameter("io_cursor", OracleClient.OracleType.Cursor)).Direction = ParameterDirection.Output
End With
I've added an App_Code directory to my ASP.NET MVC project so that I get dynamic compilation for plugins.
Only slight annoyance is that when developing new plugins, I don't get intellisense on classes inside the App_Code directory.
Currently I am creating them in another directory inside my project and then copying them into App_Code.
is there any way around this?
I have a web forms web application (asp.net 2.0). When the user submits the form I have the submit link actually going away so they can't submit it again. However, they could press F5 and that is causing another insert into the database, which I don't want to have happen.
Is there a setting of some sort that I can set if/when they do press F5 to tell the page - don't submit again?
I'm developing a huge console application for Unix using C# via Mono.
If I develop that app using M Visual Studio and .NET 3.5 and I carefully neglect to use win32 specific API calls, should I expect that application to automatically work in my Unix box? Or should I just get MonoDevelop and go the Mono way?
Hi There,
I have downloaded Storefront asp.net mvc application. When I try to run the application, I get following exception:
ArgumentNullException - Value cannot be null. Parameter name: httpContext
I just don't understand it. How do I fix this error?
Thanks
-Hitesh
Have anyone seen or tried Wordpress.NET?
I read an article about it before, but it is now nowhere to be found.
Any similar open source where I could get one?
I wondered how certain .NET hosting providers can safely grant full trust to their customers?
Doesn't this open up everybody who is hosting with that company to potential safety issues? Or is there a way to safely restrict each customer, despite giving full trust, to "their" space without giving them the abiliy to bring down the system or spy on other customers?
for very low-volume bandwidth site in production with iis7/win08 - should i have concerns (re: overall system stability) about installing CruiseControl.NET as a build server implementation?
I'm currently supporting a Python web app with increasingly complicated user/role/permission management requirements. Currently, we are rolling our own user, groups, permissions, etc. code and supporting database.
I'd like to find something like ASP.NET membership that can help manage user authentication and authorization, rather than risk security issues in continuing to create an increasingly complicated custom solution. Are there any similar projects out there worth taking a look at?
In terms of performance, IIS process management and reliability, is there a best practice in how to expose functionality over ASP.NET webservices?
Like:
Each consulting service in a specific asmx (like consultA.asmx)
All consulting services in one asmx (like consults.asmx)
NOTE: In this case, I cannot use WCF
Hello:
I have built a crystal report and I have linked it to my application
Asp.net. The problem is that the crystal report have got has a vertical-text,
90º rotated, but when I open my web I see the text in horizontal mode. I
have tried with 270º too but the same result.
thanks,
Shannon
I have a GridView in my ASP.NET application that takes data to be rendered from EntityDataSource. GridView allows user to select rows. I want to get the entity that corresponds to the row user selected. I can get from GridView the ID(primary key) of the entity that corresponds to the row selected. How can I get the Entity that has that ID(primary key) ?
Hi, I've looked through other questions but i don't think this has been asked before:
I have an email client i'm building in the .NET framework, and would like to automatically create google calendar events (just like in gmail). Is there a way to feed an email message (i.e. a string) and automatically identify if there is a possible event or not in that?
Any ideas?
Thanks, Erika
Does anyone know how to send an MMS message with the .net framework? Theres sample code for SMS but not MMS. I have a GPRS modem already installed on my server.
Hi,
I would like to know how I would go about altering the HTML that is displayed by my VB.net application using GeckoFX. What I would like to do restrict certain words/names/attributes from showing in the browser.
Any info/links would be greatly appreciated.
Thanks!
Hello
I have created a setup for my windows application in .NET 2008
After building the same i have the .msi and setup.exe files in my release folder.
The problem i am facing is :
I can install the application using the msi installer files from the shared network folder. But when i copy the installer locally and tried to install it,
i get the following error: Error reading file.Please Try again.
Anybody having any ideas if there are any properties to set in the installer project.
Regards
Constant Learner
Hi
I have different urls that points to the same code
www.url1.com
www.url2.com
I need to use the cache, but if the asp net cache is enabled when someone access to www.url1.com next person accessing www.url2.com could get the previously cached data (www.url1.com)
I need to have ALL caches activated except this one.
Hi Experts,
I am implementing the Ecommerce projects, where I need to static SessionID, is there any way to maintain the SessionID in the Entire Application.Explanation of my question is here
http://stackoverflow.com/questions/2467644/session-sessionid-in-asp-net
but How can I implement this approach.
Hi,
I am wrting for the .NET Compact Framework.
If a create a MyButton : Control, my OnPaint override gets called correctly.
However, if I have MyButton : Button - it does not...
Strange, Button is a Control.
Any help would be appreciated.
I'm looking for a server app to be routinely generating certificates for client applications using self-signed root. Is there any streamlined process in .NET to programmatically generate those certificates?
I can, of course, keep spawning makecert or openssl, but I was looking for more programmatic, in-memory method, when you just get X509Certificate on output.
If someone got a code snippet, can you please share?
hi,
i have a doubt when we run the application (dot net application) dll or exe will be created yes. so my question is when we get dll when we get dll and when we get exe
What is the easiest way to implement watermark textbox control in ASP.NET MVC, are there any such controls on the internet (codeplex maybe).
I suppose it is quite simple to write one extending HtmlHelper and using jquery watermark textbox implementation.
I am using nLog in a large financial application, but frequently need to bring up the logs of the last hour while the software is running and filter on specific loggers/levels. I want to log everything to SQL, and use an asp.net viewer. Do any such project exist? Are there some good example sites for this?