My advice is simply, do it with SQL store procedures.
Don´t filter, sort, edit in c#. Do the store procedures and trigger then in c#, with whatever event you want button_click, form_load etc.
It´s very easy
If you have doubts ask here how to make them(SP).
I want to develop an object tracking application using a web cam. I have captured the video using visual C# 2005. And now I stuck in finding way to obtain pixel color values of incoming video frame.Please can anyone tell me how to obtain RGB values of incoming video frame into an array.
'This get from image saved in ur pc.I am 'using picture box mouse click event in visual basic.Net '2010 .Add pic box to ur form & add these lables to y 're form thanks
' Yohan & Laleen From Sri Lanka
Dim TempBitmap As New Bitmap(PictureBox1.Image)
Dim MyColor As Color
MyColor = TempBitmap.GetPixel(e.X, e.Y)
' MessageBox.Show("Pixel x=" & e.X & ", y=" & e.Y & ", color=" & MyColor.ToString, "Color", MessageBoxButtons.OK, MessageBoxIcon.Information)
Label5.Text = MyColor.R.ToString()
Label6.Text = MyColor.G.ToString()
Label7.Text = MyColor.B.ToString()
Label8.Text = e.X.ToString()
Label10.Text = e.Y.ToString()
Dim r1 As String = Hex(MyColor.R)
Dim g1 As String = Hex(MyColor.G)
Dim b1 As String = Hex(MyColor.B)
'MessageBox.Show(r1 & g1 & b1)
Label12.Text = r1 & g1 & b1
Not sure what this is called exactly. I am after creating a method or class you can pass variables to. I want to be able to give them a pre-set list of what variables they can pass e.g. "txtOutcomes.TextMode = " automatically brings up "TextBoxMode", where you can select ".MultiLine;". Hope this makes sense. Many thanks.
I have added an imagelist control with three images with indexes 0, 1, 2
for error, fail, warning
I am tying to assign the correct image to each item and subitem accordingly...
For example, if there is an error in one of the subitems, then that subitem will have the image of error which is index 0 and so the image for that item i.e. the item will be warning i.e. index 2
And if all the subitems of an item have fail in the text then the image for the item will be error too.
I have started working on the following code.
can you please see if what i am trying to do in this code is correct based on the above request?
foreach (TreeNode n in tvwResults.Nodes.Nodes)
foreach (TreeNodeCollection nc in tvwResults.Nodes.Nodes)
nc.ImageIndex = 0 // error...
I am developing an Http client which could collect data from external web sites. Currently, I want to test with the web sites which needs certificate to access (either needs client to accept its certificate or needs client to provide client's certificate).
I am suffering from finding a number of such web sites, could anyone provide some such types of web sites please?
(most web site I investigated are using ActiveX control to provide secure access, not using certificate)