I have a txt file that i have to read.
Unfortunately it is encoded in ANSI and it contains a special character 'Ø' which my streamreader (i've tried all encodings) simply won't read.
If i manually save my ANSI txt to UTF-8 encoding and try again, it works perfectly.
But i need to automate...
I have a form with a crystalreportviewer control on it.
I would like that, when it loads, the focus is set on the page, so that PageUp, PageDn will work immediately instead of having to click the navigate buttons (or instead of clicking the page first (so it has the focus) and then pressing...
Ok i'm having the weirdest problem with inserting records which can contain NULL values.
I will try to explain:
I'm using a dataadapter and dataset to insert my records into the SQL 2005 database.
I've also written my own Insert statement for the dataadapter to use (i really need to do...
Ok, i'm using SQL Server 2005 and i'm trying to change the datatype of 4 columns in ARTIKELS.
This works for a single column
ALTER TABLE [dbo].[ARTIKELS]
ALTER COLUMN [OMSN] nvarchar(200)
But for all columns it doesn't:
ALTER TABLE [dbo].[ARTIKELS]
ALTER COLUMN [OMSN] nvarchar(200)...
Here's the thing:
I have made a vertical Toolstrip (it looks like the outlook sidebar) filled with icons.
Now i would like to show the title of that ToolStrip, so i set the Text Property, but that doesn't seem to do anything.
Is the ToolStrip text property useless or is some other property...
problem finding method by its name at runtime - Solved
This is what i want to do (everything must be at runtime):
I have the name of a particular menuitem (in this case "MnuHLicentie")
Now I want to create a new toolbarbutton which has the same click-functionality as that menuitem.
Sounds...
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.