For example.
2 Datasources, the 1 database you are allowed to meddle with, the other you are not.
The 2 datasources contains Person records and you need to perform the following functions.
Find matching persons from both data sources
Run business rules on these matched persons (this might be to check whether the person has received a s...
I receive an XML file with encoding "ISO-8859-1" (Latin-1)
Within the file (among other tags) I have <OtherText>Example "content" And ─</OtherText>
Now for some reason when I load this into XMLTextReader and do a "XmlReader.Value" to return the value, it returns: "content" And ─
This then, when confronted with a datab...
Hi everbody,
I am writing a barcode generator in C# I can generate barcodes as bitmaps and can show them in a Picturebox(WindowsForms). On the other hand I could not save my barcode as a gif or jpeg file. My barcode is a bitmap file and here is my code
Bitmap barCode = CreateBarCode("*"+txtBarCodeStr.Text+"*");
barCode....
How to make a object moving on the screen- How to make game with VB.NET
- In 2d game, ex i see a mario charator, which is object ( Label, image v.v.v)
- Is there a physical engine for vb.net
Sorry, bad english
...
I want to define a Nibble type.
I want that if the user sets the value higher than 0xf, it should generate a compiler error.
Is this possible?
...
I'm trying to use the following to retrieve a MailItem from Outlook via entryID and storeID.
What do I do when the entryID/storeID aren't valid? I get a strange COMException saying that the action failed or that there's been a networking problem with Exchange or that it's not running. When I test for valid entryIDs/storeIDs it seems to ...
Hi All,
Issue : On our web server's event viewer, we get few "Request format is unrecognized for URL unexpectedly ending in /SomeWebServiceWebMethod. [e.g. www.xyz.com/services/contactservice/webmethod?parameter1=abc]
Scenario : We are exposing a web service web method to display contact phone numbers on our website via javascript meth...
Hey guys,
I'm trying to use the entity framework to take data (nested relationships) from one DB and insert it into another.
The idea is you download the data as an XML file and then upload it and it gets inserted into the new DB.
The download to XML is simple:
var BoroughQuery = from b in Context.Borough.Include("User").Include("Loc...
i have repeated data in Target class list
new TargetClass{ TID=102, ID=2, Adress="afff", Zip="222"},
new TargetClass{ TID=103, ID=2, Adress="bfff", Zip="222"},
i need reated ID's Data from li2 how can i do that? for example ıD=2 is repeated like ID = 3i want to take 2,3 (ID) detail in li2? How can i do that with linq? ...
I've several databases that contains the exact same base tables with identical design. Now I need to be able to access a base table from any one of those database.
Is there any way to create a common interface that can still utilize the power of Linq2Sql? I was thinking that I would have a factory that created a data context for that ch...
Short Version
I have a list of ints that I need to figure out how to persist through Application Shutdown. Not forever but, you get the idea, I can't have the list disappear before it is dealt with. The method for dealing with it will remove entry's in the list.
What are my options? XML?
Background
We have a WinForm app that uses ...
I am dynamically creating dragrids in different rows of an existing datagrid in asp.NET
My generated datagrids have a column which is TemplateColumn (a CheckBox Column).
In my parent datagrid, I have a template column with checkboxes. when I check or uncheck the value of the check box, the check_change method is called (autopostback is...
I write WCF service and want to keep it's activity log: trace, warnings and error messages. The very straight-forward approach is to wrap all contract service code inside try/catch sections and write error messages from catch part rethrowing service contract error exceptions.
I suppose it would be nice if there would be one code-point t...
I'm using adapter.InsertCommand to insert some data into a table.
The only problem is that it's executed twice, thus giving me double entries in the DB.
I've tried following the example in the documentation of adapter.InsertCommand and my own code, but get the same result.
This is my code:
public class nokernokDAL
{
SqlConnection ...
I have the below LINQ Method I am trying to create. The issue seems to be the Second WHERE clause. I am getting this error -->
Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<MatrixReloaded.Data.CMO.tblWorkerHistory>' to 'bool'
I also had && there vs WHERE but I was getting a similar error. I don't NEED anyth...
I am using Dynamic dictionary in C#. The problem which I am facing , is the usage of TryGetMember behavior which i am overriding in dynamic ditionary class.
here's the code of dynamic dictionary.
class DynamicDictionary<TValue> : DynamicObject
{
private IDictionary<string, TValue> m_dictionary;
public DynamicDictionary(IDicti...
I have an HttpHandler with the following code:
using System;
using System.Web;
using Company.Cms;
using Company.Web.Handlers.Console;
namespace Company.Web.Handlers
{
/// <summary>
/// Summary description for AdminHandler
/// </summary>
public class AdminHandler : IHttpHandler
{
public bool IsReusable
...
I am using C#.net, Add Reference -> COM
What is this?
...
Hi,
I have an application that is starting minimized.
I can set RestoreBounds to set to which size will the window restore when user restores it.
But how can I set if the form should restore to maximized or normal state? Normal is by default. I wish there was something like RestoreWindowState.
Can I do this using API somehow?
...
I am using VB .Net 2.0. I know I can detect the OS using
System.Environment.OSVersion
Can anyone tell me if there's a list somewhere where I can find what that generates for different OS versions.
Specifically I am trying to detect if a user is running Windows 7 64-bit.
...