Click here to Skip to main content
15,914,409 members
Home / Discussions / C#
   

C#

 
GeneralRe: String iterations .... Pin
Roger Alsing25-Feb-08 1:21
Roger Alsing25-Feb-08 1:21 
GeneralRe: String iterations .... Pin
Maruf Maniruzzaman25-Feb-08 1:45
Maruf Maniruzzaman25-Feb-08 1:45 
GeneralRe: String iterations .... Pin
Guffa25-Feb-08 1:59
Guffa25-Feb-08 1:59 
GeneralRe: String iterations .... Pin
Malcolm Smart25-Feb-08 4:48
Malcolm Smart25-Feb-08 4:48 
GeneralRe: String iterations .... Pin
engsrini25-Feb-08 12:02
engsrini25-Feb-08 12:02 
Questionhow to determine packet size? Pin
Mahmood Abbasi25-Feb-08 0:36
Mahmood Abbasi25-Feb-08 0:36 
Questiondrag drop with treeview? Pin
avtar11125-Feb-08 0:13
avtar11125-Feb-08 0:13 
AnswerRe: drag drop with treeview? Pin
Stu Richardson25-Feb-08 2:09
Stu Richardson25-Feb-08 2:09 
You say you have tried all the events on the tree view but no luck?! What have you actually tried?

This all depends on how your application is designed. I'm not really sure from your post exactly what you have tried but here is the overall steps.

1. Set AllowDrop = true for both the treeview and gridview
2. Connect to the treeview drag drop events i.e. so the user can drag an item from the treeview. (plenty of examples on this site)
3. Connect to the grids drag drop events i.e. so the user can drop items into the grid. (plenty of examples on this site)
4. On the grids DragDrop event get the item being dropped i.e. the tree view item.
5. Depending on how your application is designed, populate your grid using the data stored within the dropping node object OR get the data you need from a data set\data source and populate the grid that way. This step all depends on your design.

I cant see any real problems with implementing what you are asking, thats if i have understood what you have asked correctly.
GeneralRe: drag drop with treeview? Pin
avtar11126-Feb-08 17:16
avtar11126-Feb-08 17:16 
GeneralHelp with RowState and Transactions. Pin
RichardContact-124-Feb-08 23:40
RichardContact-124-Feb-08 23:40 
Generalrefreshing a form on closing of another form Pin
Miss Maheshwari24-Feb-08 23:36
Miss Maheshwari24-Feb-08 23:36 
GeneralRe: refreshing a form on closing of another form Pin
Harvey Saayman25-Feb-08 0:04
Harvey Saayman25-Feb-08 0:04 
GeneralRe: refreshing a form on closing of another form Pin
Miss Maheshwari25-Feb-08 17:18
Miss Maheshwari25-Feb-08 17:18 
GeneralRe: refreshing a form on closing of another form Pin
Harvey Saayman25-Feb-08 19:02
Harvey Saayman25-Feb-08 19:02 
NewsGood Tip for C# Threading in Windows Service Pin
Malcolm Smart24-Feb-08 23:35
Malcolm Smart24-Feb-08 23:35 
QuestionRedefine module in assembly Pin
Maruf Maniruzzaman24-Feb-08 23:29
Maruf Maniruzzaman24-Feb-08 23:29 
GeneralRe: Redefine module in assembly Pin
Christian Graus24-Feb-08 23:38
protectorChristian Graus24-Feb-08 23:38 
JokeRe: Redefine module in assembly Pin
Maruf Maniruzzaman25-Feb-08 0:12
Maruf Maniruzzaman25-Feb-08 0:12 
GeneralRe: Redefine module in assembly Pin
Pete O'Hanlon25-Feb-08 1:49
mvePete O'Hanlon25-Feb-08 1:49 
GeneralCopy text from control Pin
D i x y24-Feb-08 22:56
D i x y24-Feb-08 22:56 
GeneralRe: Copy text from control Pin
Arjun Marwaha25-Feb-08 1:04
Arjun Marwaha25-Feb-08 1:04 
GeneralRe: Copy text from control Pin
D i x y25-Feb-08 1:45
D i x y25-Feb-08 1:45 
GeneralRe: Copy text from control Pin
Subrat Ranjan Pal25-Feb-08 1:16
Subrat Ranjan Pal25-Feb-08 1:16 
GeneralHelp Graph Excel Pin
JeremH24-Feb-08 22:52
JeremH24-Feb-08 22:52 
Generalregarding the memory handling Pin
karthikeyan198324-Feb-08 22:39
karthikeyan198324-Feb-08 22:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.