I am performing a review on different kind of ORM tooling and DAL generators today. One of them is NetTiers.
I have a classic DB model with customer, order, orderdetail, etc..
I want to perform a complex inner join on those tables. This is the orginal SQL query:
SELECT [Contact].LastName, SUM(OrderRow.Amount * Product.Price) TotalAmou...
Bear with me guys because I don't know how to start things up using fitNesse framework.
okay here's where I need help, upon running the test I want to capture the string or the fitnesse scripts being placed in the fitnesse textarea and then a certain function will then parse the scripts to replace the strings I want to replace. For exam...
Can subsonic help me building these main stored procedures?
Can i edit its template to make it generate these SPs?
Where to begin learning that?
...
I have two tabitems. User will enter some data and save it on the first tab. The second tab lists the saved data. What I need is when the user select the second tab before saving data in first tab a confirmation message box with Yes, No and Cancel should be shown. If the user clicks Yes button the data should be saved and go to the secon...
Hello,
I have a UserControl that displays some text of a DP of the UserControl. For this a converter is used. I understand that the culture parameter is the "en-US" culture, unless you specify a different culture in the ConverterCulture value of the binding or the xml:lang attribute.
But how can I change to culture from outside of the ...
I don't have any idea how to use this class in .net. Anyone wants to share his knowledge how to implement and use this class?
Have you got any simple procedure that calls a page and process it?
...
I'd like to extract the content of a MS Word 2003 document into HTML in C#.
Any ideas?
...
Consider this:
double x,y;
x =120.0;
y = 0.05;
double z= x % y;
I tried this and expected the result to be 0, but it came out 0.04933333.
However,
x =120.0;
y = 0.5;
double z= x % y;
did indeed gave the correct result of 0.
What is happening here?
I tried Math.IEEERemainder(double, double) but it's not returning 0 either. What ...
i have win.exe. it is get data webservice.asmx also a weppage.aspx that is related webservice.asmx. i start a scan job from my webpage.aspx (Like a math simulation).
i should threat my webservice.asmx also win.exe(simulation program) start directly. But How can i do?
...
In winforms there is a function "BringToFront" that moves a form to the top of the Z-Order. Is there a way to do the opposite--push a form to the back?
...
According to its homepage, the SemWeb library (great library for handling RDF under .NET) is released under GPL. Since the ROWLEX tool is built on SemWeb, ROWLEX supposed to be GPL, too. Still, ROWLEX is claimed to be released under L-GPL.
Is this legally correct?
...
I have a modal popup that contains a gridview. On the click of a button inside of a grid i reload the gridview with the data that depends on the id of the row clicked in the gridview. I would have like to reload the gridview onclientclick but I couldn't find a way to do that. Is it possible to reload a gridview client-side without the us...
Hi, a lot of people have answered the question of how to bind an enum to a combo box in WinForms. Its like this:
comboBox1.DataSource = Enum.GetValues(typeof(MyEnum));
But that is pretty useless without being able to set the actual value to display.
I have tried:
comboBox1.SelectedItem = MyEnum.Something; // Does not work. SelectedI...
Hi
i have created a vc++ console application i need to add .net assembly references.
but when i do the following as project right click->properties->Common
Properties->references->add references
then i am getting the window as
addrefernce(title)
tabbed window project name and project directory and have empty list
i am unable to fi...
I'd like all of my .Net applications to be able to log unhandled exceptions via the internet when a connection is available. Are there any libraries people use for this purpose (preferably free/open source)?
...
Using the ZedGraph control, say I am plotting data that has Y values of 13, 34, and 55.
How do I set up my Y Axis so that the only text labels shown (and I guess that grid lines would be synchronised) are those for 13, 34 and 55?
I don't want regularly spaced labels in the range of my data (say 0, 25, 50, 75, ..). Just labels at the ac...
I have the following test which seems to produce same strings but Assert.AreEqual fails.
[TestMethod]
public void Decompressed_test_should_equal_to_text_before_compression()
{
TextCompressor compressor = new TextCompressor();
Random r = new Random((int)DateTime.Now.Ticks);
for (int i = 500; i < 1500; i++)
{
char...
Here is the problem I have: I need to make sure an object is instantiated on the UI thread. If it is not, it should throw an exception. But how do I check inside a method whether it is running on the UI thread? Note: I do not want to pass any information into the object's constructor.
The perfect candidate would be the DispatcherSynchro...
I know that I can assign a value specifically to a float by doing
float y = 4.5f;
I want to do the same thing, except as a byte. How do I do this? I've checked the MSDN documentation and cannot find anything related to this. Also, what is this called?
Thanks,
[Edit]
For clarity the code I'm using this on is
byte myByte = a==b?1:0;...
How can I tell if a point belongs to a certain line?
Examples are appreciated, if possible.
...