Can you give your opinion on what is a good code font and which font are you using.
The reason for this is because i use Courier New but it is not the best font. I saw some good font but can't find it. I saw this font on one MSDN TV epizode. Here is the link...
I've an order form. Form has textboxes, comboboxes, ... .First user fills the data and click check button. On that click I check the fields, and if the fields are not ok then page is post back and he see the errors. If everything is ok then i post a querystring parameter to the same form with...
I've a aspx page. On the body of the page I've set scroll=yes. The page contain a sumbit button. When the button is pressed, something is checked on the database and Server.Transfer is executed to target the same page. When the page is shown for the first time it has vertical scroll back. When...
I don't now what is your myObj but try this code that work for me:
static string ErrorMessage = "";
static int ErrorsCount = 0;
public static bool ValidateXml(ref string ReturnMessage, string xmlFile, string xsdFile)
{
try
{
ErrorMessage = "";
// Declare local objects...
With Enum you will have restriction, you can't have free text format.
So if you need exactly what you need as a text description for the option which can have spaces and special characters you must use class inherited from UITypeEditor:
Here is a complete code:
/// <summary>
///...
With Enum you will have restriction, you can't have free text format.
So if you need exactly what you need as a text description for the option which can have spaces and special characters you must use class inherited from UITypeEditor:
Here is a complete code:
/// <summary>
/// Specifies...
You shouln't add parameter to a command on mouse click. Every time you click that button, the parameter is added. You should just set that previously added parameter to some value.
Use a Sql Profiler to see the sql statement. See does that statement will execute in Query analizer.
I have similar problem except it is opposite. I've decrypted many files and when I start decryption, error was raised that can not use the key because is already used. So I've solved with processes. Create a process for encryption job. Wait that process to end and then you can encrypt again.
I've created a function. Maybe is not perfect but it works.
Sory because the code is in C#.
public static int DateTimeMonthsSpan(DateTime DateTime1, DateTime DateTime2)
{
int i = 0;
int sign;
DateTime1 = DateTime1.AddDays(1 - DateTime1.Day);
DateTime2 = DateTime2.AddDays(1 -...
You can have two projects. Firs will be C# Class Library and the second will be Visual Basic Windows Application. Then add a reference to the VB project and select a project tab and select first project. Now when you build VB app, first c# dll will be bulded and after that vb app. This allow you...
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.