u can use : dataSet to hold data and use datadaptor to fill the dataset
this method is more handy where u assign an SQL stat. to the adaptor and by using the Fill
method u read all rows to the datatable inside the data set
Well, count all programs from Microsoft you know you installed: office, vstudio,expression studio, etc. Then count every single sub program of the OS.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Currently am using IMAPI for CD burning. I can perform multisession writes to CD. The problem comes when i add a folder with the same name that already exists in the CD. Suppose am having a folder named Test containing 1.docx in the CD. Now am trying to add anothe folder named Test with another doc file named 2.docx. I want the file 2.docx to be added under the earlier created folder containing document 1.docx. Is dat possible? Can anyone provide a sample code for that
i am c#.net developer.i worked microsoft visual studeo 2005 express edition environment.i made report using crystal reports in visual studeo 2005 for my pos system project.it works only my computer.it not work other computers.i copy dll and install dotnet framwork but not work crital reports.please help me.give me more examples. thank you!
I am controlling the paint event of my Circle class but when I am resizing its size by clicking on one of it's handles the circle get drawn but i couldn't eliminate ghosting while it is drawn on the form. I have tried even setting DoubleBuffer=true but doesn't work.
protected override void OnPaint(PaintEventArgs e)
Graphics g = e.Graphics;
Rectangle r = new Rectangle();
r.Size = this.Bounds.Size;
GraphicsPath ca = new GraphicsPath();
Region region = new Region(ca);
this.Region = region;
I am implementing a drag/drop system and am having trouble programmatically firing an event such that the control that receives the event remains focused.
For example, if you actually click on a button, and don't release the mouse button all MouseMove events are sent to that button even if you drag your cursor off the control. If you drag off to the left, the button continues to receive mouse events and the X is now negative. This is the desired behavior.
Currently I am firing the MouseDown event on a target control by having a member function that calls OnMouseDown() but this does not lock the focus as described above.
Can someone tell me how to lock the focus programmatically so all mouse events continue to be sent to the targeted control.
I have a C++ Dll that returns the pointer to the start of an image in memory and it also returns the size of the image in memory, in C++ I use memcpy to copy it to a vairable, however I am new to C# and need to know how to copy the memory block to a jpg file.
Last Visit: 31-Dec-99 18:00 Last Update: 22-Jun-21 18:39