|
Hi.
I have a question. Say you have a database with 10 tables, they all are related to each other. Now you start your Windows application and obviously you implement a typed dataset to enable offline work etc.
My question is this, is it better to create a few datasets or just one? Can I create a dataset for each table in the database?
Illegal Operation
|
|
|
|
|
Illegal Operation wrote: Can I create a dataset for each table in the database?
A DataSet can contain many tables, so creating separate dataset for each tables is not required.
|
|
|
|
|
DataSet has DataTableCollection, DataRelationCollection and ExtendedProperties using which you can store multiple tables inside a dataset. So there is no need use multiple datasets.
Either you love IT or leave IT...
|
|
|
|
|
I had small application of BHO in c#, when the events gets fired I used perform the operation that I
want to do on browser(IE). The thing is I want to know the header information? as the data gets loaded
on browser packet by packet, how can I know these header information regarding content length,
content-type that the data gets loadad on IE.
Thus how can I know header information through BHO?
|
|
|
|
|
Hi,
I am having some trouble debugging a windows service. i have attached a debugger to the service but after each change, do i have to rebuild my windows service, rebuild setup and uninstall and install the service. There must be an easy approach to this.
Please provide help
|
|
|
|
|
Solution explorer -> Right click on project -> Debug -> Choose any option
|
|
|
|
|
I have a datagridView in a winform and i display the results of a particular search. How do I highlight/bold only the charecters or the substring in the cell that matches my search.
(the best analogy would be the google finance, in which as you type ahead it bolds the characters that match the search)
thanks.
|
|
|
|
|
I have a image button in a winform. On mouse hover i would like to change the image of the button. When the focus is lost i would like to show the original image .
I am handling the mouse_hover and mouse_leave events and changing the value of image property to the image i need. My images are stored in the resource file.
Is this the right way to do it?
Please let me know..
|
|
|
|
|
Yeah, that seems the best way to me.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
you can use a imageList and insert your images into it and on mouse events change button imageIndexes for example:
mybutton.ImageIndex = 0;
|
|
|
|
|
Hello,
i am assigned to work on a windows service developed by another programmer. I am having problems attaching to the windows service. the service was communicating with a remote server and for testing purposes, i want it to work on my local host.Whenever i get disconnected from LAN, it won't run probably because it can't make a connection to server, but i want to insert a breakpoint right at the beginning so whenever i find a connection to remote server, i change it. this didn't work,
so i thought of uninstalling the current service and installing a new instance of it with local host only, But i am having the following probs.///i don't know the exact path. solution (folder)has been pasted to another location
c:\Program Files\Microsoft Visual Studio 9.0\VC>installutil /u marketordermanage
r.exe
Exception occurred while initializing the installation:
System.IO.FileNotFoundException: Could not load file or assembly 'file:///c:\Pro
gram Files\Microsoft Visual Studio 9.0\VC\marketordermanager.exe' or one of its
dependencies. The system cannot find the file specified..
i don't have it in controlpanel\add or remove programs...
i even tried the sc command, it didnt work. how do i delete this service.
thanx inadvance
|
|
|
|
|
I think if you use "service" control in cs you can solve your problem.
|
|
|
|
|
Hi the problem is nothing....
your marketordermanager.exe is not in the same path c:\Program Files\Microsoft Visual Studio 9.0\VC>
use this batch script
ECHO OFF
set DOTNETFX2=%SystemRoot%\Microsoft.NET\Framework\v2.0.50727
set PATH=%PATH%;%DOTNETFX2%
echo Uninstalling WindowsService...
echo ---------------------------------------------------
InstallUtil /u "%~dp0/marketordermanager.exe"
echo ---------------------------------------------------
echo Done
pause
just copy the code in a notepad and save it as a batch file. Then run the batch file from the same path where you have the exe...
It will solve your problem....
Have a Happy Coding.....
modified on Tuesday, May 5, 2009 3:25 AM
|
|
|
|
|
i need a simple code for the system i asked for,, i need it as a start to more important system i am working on, so please offer me help with this simple code
|
|
|
|
|
7alool wrote: i need a simple code for the system i asked for,, i need it as a start to more important system i am working on, so please offer me help with this simple code
using System;
namespace MyNamespace
{
public class MyProgram
{
public static void Main()
{
Console.Writeline("Add your code here");
}
}
} It doesn't get much simpler.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
You're on form tonight Pete!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
7alool wrote: for the system i asked for
I'd say what system, but that would imply that I cared. No-one is going to write your code for you, you can go to the jobs part of the site and pay someone if that's what you want.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
There are two ways of getting your prototype. Either you pay someone to write it, or here's a novel suggestion, YOU WRITE IT YOURSELF.
|
|
|
|
|
I think if you make a windows service and set's atatus to AUTOSTART, it's solve your problem.
if your means from System start is "boot", you can make you exe file and write it's address into autoexec.bat file to run it when your system boot.
|
|
|
|
|
You have completely misunderstood the question.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
|
.
"I need build Skynet. Plz send code"
|
|
|
|
|
Hi! I am putting together a key logger. So far it knows which window is selected, but how can I find the title of a selected control (for example a password field or a text box)?
Still learning...
|
|
|
|
|
nike_arh wrote: I am putting together a key logger
Why?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Well, I want to know which is the selected control, where is the typed text going to.
Another thing that came up just now: Can I manipulate the key logger from my computer?
Lets say if I want to download the *.log file with the data, I just use a program rather than the data being sent to my mail.
Still learning...
|
|
|
|