Now things are Better, because Previously you just opened the Connection where you were not supposed to, remember that you have to connect to the Database when you want to execute something. after you are done you close it, and now this function returns a reader, then you can iterate through your records or your can just choose to send the data into the datatable and bind the control.
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
Hi! I have this application what I build and I want to put automatic updates for the application so the user will have the latest version of the application. I found in the properties menu, the publish tab, where it says about automatic updates and publish the application. So now I want to add a button to the application, so when the user will click the button it will check for the latest version and if there is a version newer then the one they are using in the moment, the app will be updated to the latest version. Any help with this how I can solve? Thanks ahead
Umm...Think you might be a bit confused. Asp.net is a web page technology. If you want to write or extend Asp.net controls, you have to do it in asp.net
WPF is the new client app user interface technology. It is nice and easy to write good looking custom controls in this, or modify the existing ones. But they are for Client apps.
GDI+ is the underlying technology that is used by Winforms. You can write custom controls with Winforms, and you can extend the existing ones. It's not as easy as in WPF, but it can be done. This is also for client apps only.
Silverlight is another web page technology that is related to WPF because it allows a subset of the XAML used by WPF. This also allows custom and extended controls. Silverlight is kind of like flash and requires a browser plugin to work.
(XAML is extensible application markup language, and is the XML style syntax used to define controls and layout in WPF and Silverlight).
In my application, i have one arraylist which will store graphicspath object (series of line), let said gp1 (contains points a1,a2,a3),gp2 (contains points b1,b2,b3),and gp3(contains points c1,c2,c3),. These graphic path will be drawn in one drawing area. I would like to ask that how can i know which graphics path was selected when mousedown event occur? Off cours, i have already get the particular mouse point,let said points b2.
And in this situation, does create a region have any help in my problem(i mean create a graphicpath region to determind whether the points is in the graphicspath object)?
To find out whether a given point is inside the region surrounded by your GraphicsPath, you can create a Region from your GraphicsPath (there's an appropriately overloaded constructor) and then use Region.IsVisible().
If you're interested in whether a point is on or near the outline of the region, use GraphicsPath.IsOutlineVisible().
-- Black holes are the places where God divided by 0...
Last Visit: 31-Dec-99 18:00 Last Update: 13-Apr-21 6:51