yep, typo should be greater than...
my code in user control is as follows:
Private _valuesStart As Integer
<Browsable(True), DefaultValue(0)> _
Public Property ValuesStart() As Integer
Set(ByVal value As Integer)
If (value <...
I have a user control which exposes three properties that the user can change - ValuesStart, ValuesEnd, ValuesIncrement. The default values of these are 0, 100, 10 respectively. These are conditional in that ValueStart needs to be less than ValueEnd, ValueEnd less than ValueStart and...
I have a smart tag up and running for my user control but I also want to add a UITypeEditor collection editor to it as well. If I add the collection property to the smart tag in the usual way then I get the ellipse appearing as expected, then if you click on this you get the Collection...
I have a web site where users enter company names to use in the rest of the app. However, recently I've noticed that similar duplicates are appearing, e.g. someone will enter EastTec Solicitors another will enter EastTec Solicitors Ltd someone else will enter EastTec Solictors (missed the...
How do you display an animated gif in a picturebox on Windows Mobile 6? I have added a picturebox control and set it's image to an animated gif but it doesn't animate, it just shows the first frame... An I doing something wrong here? It works fine in a normal windows app...
Cheers, looks like the sqlbulkcopy is the fastest way then... About the SqlRowsCopied event, the app I am using is a web app, I take it that the SqlRowsCopied event is for windows forms and not web apps?
I have created a web program that will import data into a SQL database. The data to be imported is just one field, but there will be hundreds of thousands to be imported at a time. At the moment I create a data table from the data in the file and then use the SqlBulkCopy command to insert...
I have a deployment project which works fine and installs my application with no problems. But I was wondering how do I go about installing patches? For example, I have just made some updates to my application and want to patch the version I installed. Also, the application contains a...
I have a program that I've written in VS2008 and I use a SQL database. I was just wondering, is there anyway that I can secure the .mdf file so that when I deploy the application people can't just attach the file in Management Studio and gain access to the database?
I have an xml file that I want to load into a dataset in Visual Studio 2008 that looks like -
If I simply create a dataset in code and call the ReadXML() method, it works as planned and the data...
I have an asp:hyperlink and an asp:ImageButton on a page and in each I add the following to the attributes to change the status bar text:-
I have a gridview which is bound to a SQLDataSource. One of the bound fields is a CheckBox field. This displays ok, it is checked or unchecked depending on the value in the datasource, but it is greyed out, I can't click on the checkbox to change it's state. I want the users to be able to...
I have a windows forms program that uses docking windows. Now, when somebody logs in, I want to display a tool strip progress bar so that the user can see that the program is doing something as it can take a good few seconds for all the docking window layouts to load and then display. I...