i need to store a image(system.web.ui.image) in a sql[i use linq],for that i need to convert it into Binary(System.Data.Linq.Binary)....how to do this ?
I have a small Java Swing application that I want to rewrite in WPF .NET.
The application uses a JTable with an AbstractTableModel and a custom TableCellRenderer. I use my custom cell renderer to display the objects in two rows.
What is the corresponding WPF .NET component to JTable?
.Net defines a "Trace Source" concept, allowing configuration files to specify which trace sources to listen for messages on. WCF provides several trace sources, and I would presume that other portions of the .Net Framework BCL publish other trace sources as well. What is the list of trace source names published to by the BCL?
In Asp.net (c#),i'm not able to catch exception(FileNotFoundException) properly... i don't know the reason..Actually File s not there..But catch statement fails to catch the exception..
here is the code..
try
{
System.Drawing.Image imgg1 = System.Drawing.Image.FromFile(Server.MapPath("").ToString() + "\\images\\img1.jpg");
}
catch (FileNotFoundException)
{
Response.Write("<script>alert('Please Select and upload Student's Photo');</script>");
}
I am needing to get the browser height and width of the browser window with vb. I can get these values by setting an ASP.Net hidden input control using javascript, after the page has loaded and a post back is done. I need to be able to get these values when the page initially loads so I can create an image based on those values.
I am still new at VB.Net, so any help would be great. Thanks!
What are the requirements for running .net framework targeted application on Windows CE 5?
When I try to start an application that I developed for Windows Mobile 6, I'm getting an error
Cannot find 'Projectname' (or one of
its components) Make sure the path and
filename are correct and that all the
required libraries are available
My app is a simple hello world app. What could cause that such error message?
Is there a way to dertimine which .net compact framework version is running on my system?
I have a client who wants to transition off their old environment into .NET.
The client has a good grounding in basic OO concepts (their existing development environment supports this) and are expert developers, but need a quick "up to speed" introduction to the .NET framework (C# as the chosen language) for building Line of Business applications (they're keen on Silverlight).
Any recommendations?
I tried to look this up on MSDN, but couldn't get a straight answer.
It says:
The .NET Compact Framework for Xbox
360 implements a subset of the .NET
Compact Framework, and has been
optimized to take advantage of and
expose the power of the Xbox 360.
What exactly is the subset? Which version of the framework? 3.5? 2.0?
I saw that on so many blogs. Lots of the people that were dealing with ASP.NET tend to play with Ruby on Rails after working hours. And It is just a matter of last one or two years.
Why is it like that? Is it because when ASP.NET MVC showed up people become more open-minded - having joy with programming again they realize that some other folks had that many years ago, and they do not want to miss what they currently have?
Basically, this question with a difference...
Is it possible to capture print output from a TSQL stored procedure in .NET, using the Entity Framework?
The solution in the other question doesn't work for me. It works with the connection type from System.Data.SqlClient but I'm using the one from System.Data.EntityClient which does not have an InfoMessage event. (Of course, I could just create an SQL connection based on the Entity connection settings, but prefer to do it directly.)
I know it's a little odd, specifically because a Page inherits from the System.Web.Page (or something) and a WebService inherits from System.Web.Service (or something).
But just thought I'd ask if there is any way to do this? Does anyone have suggestions to do this?
I have an 'access denied' problem on an ASP.NET web application, where the user uploads an Excel file and I try and write it to a folder. I don't have access to the host except FTP, so I can't set permissions. I thought that ASP.NET would be able to write to a folder that is under the web app root, but it isn't so.
Is there anywhere I can write the file to that doesn't require me to set permissions?
I want to develop a Single-Sign-On(SSO) or centralized authentication server (CAS) project for SSO between asp.net, php and java.
Is there any Single-Sign-On(SSO) or centralized authentication server (CAS) open source project using asp.net c# ?
I dont know anything about Ienumerable object.what is the role of Ienumarble interface in .net ? Please tell me whether it is in built? Is every class in .net automatically implements the Ienumarable interface ? why there is need to implement the ienumerable interface? what are the methods it contains & what roles they plays. Please explain in detail.
Hi, we're in need to stop the user session in an ASP.NET site after some time(say 20 mins).
We know we can use a timer and code every page to expire on the timer tick, but we're searching a faster way, maybe through an IIS configuration?
Is there a built in way to do such things?
We're using ASP.NET 2.0, Framework 3.5, IIS 6, c#.
TY.
How do I get the ASP.NET Controls for Crystal Reports in Visual Studio 2008? I've downloaded and installed a lot of things, but the guidance on the SAP website isn't very helpful to me.
What do I need to download and install on my machine to create an ASP.NET application which surfaces Crystal Reports?
I'm working on a web application using mvc, we have already a service that does http binding, the client wants tcp binding for certain actions (not really sure why) but it's their requirement so i'm attempting to set up net.tcp binding, all references i am seeing to doing this involve a windows application and not a web application.
I guess my question has 2 parts, first can you run httpbinding and net.tcp binding at the same time through the same service/project.
secondly how would I consume the service through a webproject?
Hello,
In ASP.NET MVC, we don't have controls which can do stuffs such as autocompletion (we don't have controls at all from Visual Studio like in web forms).
But, Is it possible to still get 'Auto-completion' with a text box in ASP.NET MVC (like with the textbox found on the Google's Home page)?
If this is the case, what's the best way to do so? JQueryUI? or there's someother way of getting that functionality?
Thanks for helping.
I am searching a good way to encrypt and decrypt user authentication data between my Android app and my ASP.NET Webservice built in C#.
I want to do a user registration on my Android app and send the authentication to the back-end server that is a ASP.NET Webservice built in C# and then every time the app calls the webservice it should send a hashed string with authentication information so webservice now what user it is.
What is the best practice for this and have i missed something, give me some ideas please!
We have to install Windows SDK along with .NET Framework. Why do we need the SDK if we have the framework?
EDIT:
This isn't just the case for .net development. Also, if you want to develop Silverlight apps, you have to install additional sdk. Why?
I am using .net Windows Forms i need to maintain some date to check the condition. so i have to maintain it up to user logged out?
like session in asp.net
how can i do this?(note it should not expires until the user logged out)
Hi
I need to retrieve only selected portion of a webpage (user open a webpage in web-browser control, then he/she would select some portion of a webpage, i just need only those selected portion/text) in vb.net in visual basic language. How to do ?
i am using microsoft visual studio 2008
Language: Visual Basic
FrameWork: vb.net 3.5