I'm hoping someone can point me in the right direction. I have been developing windows forms applications with .Net for a few years now. I'm interested in becoming more proficent with ASP.Net development. Does anyone have suggestions of books and/or other training materials/methods are...
First off, my experience is primarily with windows apps, so I appologize for the simplicity of this.
This is using v1.1 of the framework:
I've added a button to a aspx page that generates a new email - contents, who it's going to etc. info generated in code.
The entire value of the link is in...
I have a deployment project that I'm setting up. I need to perform a different custom action based on whether this is a first time install or an update. Does anyone have any idea if it's possible to set the Condition property of a custom action to determine if the currently running install is...
I spent a bunch of time tracking this down (with Microsofts help) and finally found an answer. It seems like something that would normally be pretty common, so I figured I'd post something here in case others run into it so that others searching have hope of finding the resolution.
The issue...
I'm more than likely going to be migrating an app from SQL to VistaDB --- has anyone else done this? If so, any gotchas to look for (either in coding or VistaDB in general?) Any opinions would be very appreciated.
TIA
I'm trying to do something that seems like it should be pretty simple, but haven't found a solution. I am trying to add a datacolumn to a datatable that adds or subtracts a number of days based on another datetime column in the table. See sample below. How do I do this? Any help would be...
Two of the projects in my solution that both need to use a common user.config file. This is a data application - the executable that is created with the first project is the primary executable that users will be working with 99% of the time, the other is a seperate "maintenance" executable...
I'm having difficulty with a function and can't find what the problem is. The code is below. Essentially, it works fine if the target table (tbl variable in code) is empty, however if it contains rows prior to the method being called, the error "'column' argument cannot be null" is thrown on...
I am deploying a project that uses SQLExpress (2005) -- I've successfully configured the pre-requisite package to properly install my instance. What I'd like to do is include the sqlexpr32.exe file with my deployment package as first time intallers will never have met the prerequisite...
I have a stored procedure that is intended to simply insert an image into a DB. The data back end is MSDE. When the procedure executes, it returns: "Failed to convert parameter value from a Bitmap to a Byte[]."
Anyone have any idea what might be wrong?
''' <summary>Inserts a new object...
I'm working on converting my application from a single user, to a multi-user. The current architecture is with an MSDE data back end (switching to SQLExpress soon, but not quite yet). Each user connects to the database directly - the connection string is stored encrypted in a local file, and...
I have a need to set the expression of a datacolumn to calculate based on another field, plus a string. The problem is if that string contains an apostrophe, it's recognized as a a single quote.
ie:
Dim c As New DataColumn
c.Expression = "[UserName] & ' is users name'" <-- works fine...
I have an application written in VB 2K5 (don't think this functionality existing back in 2K3 edition). I have a splash screen set for the project, and in the startup forms load event I check to see if the user is registered and if not show a nag form modally (via .showdialog). The problem is...
I have a bound textbox that needs to never store a null value when commited to the DB, yet this is exactly what happens. What I've done to try to resolve the problem is to specifically set the text property to System.String.Empty - but a null is still stored to the DB. I know the logic is...
I'm running into a problem when filling a DataTable with data from an Excel file. The DataTable is filled with datatypes that the fill method has "guessed" are correct -- the problem is I need them to be treated as strings, and sometimes they come in as Double. When attempting to change the...
I need to customize the build process beyond just selecting which projects get built in what order.
What I want to happen is when I select "Release"
1: pop a dialog confirming I want to build (release build takes several minutes, and I regularly forget to switch back to "debug")
2: Build...
I've got an application I need to display a "nag" screen for on shutdown if the user hasn't entered a valid registration key. I've got the appropriate code in the closing event of the main form of the application, but the event doesn't seem to fire. I've put a breakpoint here and which doesn't...
Scenario:
A dataset exists with a number of columns in it. I want to add a new column that will divide ColA by ColB.
How I've accomplished this is pretty simple, simply create an instance of DataColumn, and set the .Expression property to ColA / ColB.
The problem is when I get to a row where...
I have an abstract class that about a dozen sub-classes inherit from. I want to enforce that each sub-class shadows an event in the abstract class, but can't quite figure out how to do this.
Basically, all of the inherited classes deal with data in some way or another. I need to make sure...
I have an application that uses the new bindingsource class (part of the V2 framework).
In addition, I'm binding the enabled property of certain buttons to properties of a wrapper class that I've written around the bindingsource. Most is working fine, but having difficulty with a couple of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.