|
Nevermind,
I decided to flag the threading and just do it all on the one thread.
Cheers,
|
|
|
|
|
In DB having 2 different tables,
1 contain the Title/Heading for feild used in 2nd table.
For ex: 1 table contain Group Feild like Car, Bus etc
2nd table contain feild like car_model_1, car_Model_2, bus_model_1, bus_model_2 etc.......
From this 2nd table i need to put them in there belonging group.
Like searching and sorting the data, then using
-How many cars under Car group, bus in Bus group.
User is selecting car_model_1,car_model_n, bus_model_1 or any other option he wants, then i need to check every option & sort them according to there group.
Can any one fwd a link or some help.
Thanks & regards.
|
|
|
|
|
I think you need three relations in this case:
Relation 1:
Group (ID PK, Name)
-----
1, Car
2, Bus
3, Sportscar
4, Bike
...
Relation 2:
Model (ID PK, Name)
----
1, car_model_1
2, car_model_2
n, car_model_n
n+1, bus_model_1
n+m, bus_model_m
Relation 3:
ModelToGroup (Model FK, Group FK)
----
1, 1
2, 1
n, 1
n+1, 2
n+m, 2
...
According to what model the user selects, you can look which group this model belongs to and count the groups.
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Hi all,
I have a customized treeview, now i want to add plus-minus sign in the node, its not happening when i have made ShowPlusMinus property true.can anybody help me to do that.
thanks in advance
|
|
|
|
|
By default it automatically gets added when your node contains a child node.
|
|
|
|
|
Hi Anurag,
thanks for your information. but i need to hide some default implemntation for eg. checkbox in parent node, for that i have used DrawDefault =false, so i want to draw the plusminus of my own. can you plz share some information regaridng this
Thanks in advance
|
|
|
|
|
Not sure it's possible in the standard Treeview. However Anurag is right, I add a dummy child to each node when doing on demand trees and then check the children on BeforeExpand event.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
The last time I had that problem it was because I has set the BackColor to Black and hadn't changed the ForeColor.
|
|
|
|
|
Hi
you can use this code to add Prent and Child nodes and plus-minus sign in the node wilol be added
Dim node As TreeGridNode
node= TreeGridNode.add(Id,name) //For parent node
node.nodes.add(Id,name) // for Child node
Regards
|
|
|
|
|
Kid sister rule got to the title!
You don't have the combo boxes above the code page to access the controls and the methods in the current class . Or am I missing something. This is the most frustrating thing (and square brackets) in the change from VB to C#.
Got my DAL working, half way through the code gen app I had forgotten how much fun it is to be applying something new. I've been here too long, time to move on.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes wrote: You don't have the combo boxes above the code page to access the controls and the methods in the current class
I do. Don't remember turning it on. I'm sure they were there by default.
Simon
|
|
|
|
|
damn now I have to rat through all the menus and options to find when the switch is. Thanks for the info.
[got it] options text editor allow navigation bar!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Tools > Options > TextEditor > C# > General > Navigation Bar
|
|
|
|
|
Hi all...
How to give permission for the user to access the sharepoint documents data to be read......
I am trying this code but its not working...plz do delp..
SPSecurity.RunWithElevatedPrivileges(delegate()
{
Console.WriteLine(" Entered SPSIte path");
using (SPSite RootSite = new SPSite(listPath))
{
RootSite.AllowUnsafeUpdates = true;
Console.WriteLine("1Entered SPSIte path");
using (SPWeb SiteCollection = RootSite.OpenWeb())
{
string path = listPath;
SPFile file = SiteCollection.GetFile(path);
string TimeCreated = file.TimeCreated.ToLongDateString();
Console.WriteLine("1.1: Created Date is :" );
}
}
});
thank you
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
Hello everyone,
I want to monitor Http traffic from my local computer (Windows Server 2003) -- not always using IE -- to some specific web site.
I am interested in the headers/bodies in request/response. Any tool to use? Or code samples so that I can easily write one?
thanks in advance,
George
|
|
|
|
|
search in codeproject for "packet capture". There are some articles about that.
|
|
|
|
|
Thanks stancrm,
I think WireShark tool is good enough for me. I do not need programming, using existing tool is fine.
regards,
George
|
|
|
|
|
For developers, there's a library called WinPcap[^] (and certainly some .NET wrappers for it) which you can use.
As a standalone tool, the best I know of is WIreshark[^].
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Cool, Greeeg!
I like WireShark tool!
regards,
George
|
|
|
|
|
|
Thanks Simon,
Fiddle is good, but can only monitor IE http traffic. I want to monitor some specific application's traffic. Any comments? Could Fiddle do this or any other recommendations for this goal?
regards,
George
|
|
|
|
|
Fiddler can monitor non IE traffic. Think you have to set your app to send it's data through a specific proxy address which fiddler will monitor and forward on.
There's a bunch of stuff in the help docs on their website. Look for the bits on configuring fiddler for .net apps.
(Or try the other suggestions. Maybe wireshark does what you're after, I've never used it so I'm not sure.)
Simon
|
|
|
|
|
Thanks Simon,
Which API could be used to send Http traffic through a proxy?
regards,
George
|
|
|
|
|
|