Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem with .aspx pages Pin
WebMaster16-Jun-08 21:55
WebMaster16-Jun-08 21:55 
AnswerRe: problem with .aspx pages Pin
Pete O'Hanlon16-Jun-08 10:27
mvePete O'Hanlon16-Jun-08 10:27 
QuestionDrag Drop from tree to data grid VS 2005 Pin
sam1287416-Jun-08 6:33
sam1287416-Jun-08 6:33 
AnswerRe: Drag Drop from tree to data grid VS 2005 Pin
led mike16-Jun-08 6:50
led mike16-Jun-08 6:50 
GeneralRe: Drag Drop from tree to data grid VS 2005 Pin
sam1287416-Jun-08 7:37
sam1287416-Jun-08 7:37 
GeneralRe: Drag Drop from tree to data grid VS 2005 Pin
led mike16-Jun-08 8:09
led mike16-Jun-08 8:09 
GeneralRe: Drag Drop from tree to data grid VS 2005 Pin
sam1287417-Jun-08 5:11
sam1287417-Jun-08 5:11 
GeneralRe: Drag Drop from tree to data grid VS 2005 Pin
sam1287417-Jun-08 5:37
sam1287417-Jun-08 5:37 
I am still trying to do it but not working still can anybody please look into ......Frown | :(


//this.dgview1.ItemDrag += new System.Windows.Forms.ItemDragEventHandle(this.dgview1_ItemDrag);
this.dgview1.DragEnter += new System.Windows.Forms.DragEventHandler(this.dgview1_DragEnter);
//this.dgview1.DragDrop += new System.Windows.Forms.DragEventHandler(this.dgview1_DragDrop);
this.dgview1.MouseDown += new System.Windows.Forms.MouseEventHandler(dgview1_MouseDown);

private void dgview1_ItemDrag(object sender,System.Windows.Forms.ItemDragEventArgs e)
{
DoDragDrop(e.Item, DragDropEffects.Move);
}


protected void dgview1_DragEnter(object sender,System.Windows.Forms.DragEventArgs e)
{
e.Effect = DragDropEffects.Move;
MessageBox.Show(e.Data.GetData("Text").ToString());
}

void dgview1_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
{
DataGridView.HitTestInfo info = dgview1.HitTest(e.X, e.Y);
if (info.RowIndex >= 0)
{
DataRowView view = (DataRowView)
dgview1.Rows[info.RowIndex].DataBoundItem;
if (view != null)
dgview1.DoDragDrop(view, DragDropEffects.Copy);
}
}
}
GeneralRe: Drag Drop from tree to data grid VS 2005 Pin
led mike18-Jun-08 6:01
led mike18-Jun-08 6:01 
QuestionAuto Size the DataGridViewComboBoxColumn Drop Down to the contents? Pin
sgeorgij16-Jun-08 4:43
sgeorgij16-Jun-08 4:43 
AnswerRe: Auto Size the DataGridViewComboBoxColumn Drop Down to the contents? Pin
squattyarun16-Jun-08 7:10
squattyarun16-Jun-08 7:10 
GeneralRe: Auto Size the DataGridViewComboBoxColumn Drop Down to the contents? Pin
sgeorgij16-Jun-08 10:18
sgeorgij16-Jun-08 10:18 
QuestionRenaming Pin
ellllllllie16-Jun-08 4:38
ellllllllie16-Jun-08 4:38 
AnswerRe: Renaming Pin
netJP12L16-Jun-08 5:05
netJP12L16-Jun-08 5:05 
QuestionC# connects to Sybase IQ Pin
zecodela16-Jun-08 4:36
zecodela16-Jun-08 4:36 
QuestionConvert to int32 problem Pin
Newbie_Toy16-Jun-08 3:59
Newbie_Toy16-Jun-08 3:59 
AnswerRe: Convert to int32 problem Pin
Christian Graus16-Jun-08 4:01
protectorChristian Graus16-Jun-08 4:01 
AnswerRe: Convert to int32 problem Pin
Zoltan Balazs16-Jun-08 4:10
Zoltan Balazs16-Jun-08 4:10 
AnswerRe: Convert to int32 problem Pin
User 665816-Jun-08 4:30
User 665816-Jun-08 4:30 
JokeRe: Convert to int32 problem Pin
Guffa16-Jun-08 4:36
Guffa16-Jun-08 4:36 
GeneralRe: Convert to int32 problem Pin
Newbie_Toy16-Jun-08 5:04
Newbie_Toy16-Jun-08 5:04 
QuestionMap network drive from remote machine(server) to local machine Pin
chakran16-Jun-08 3:44
chakran16-Jun-08 3:44 
AnswerRe: Map network drive from remote machine(server) to local machine Pin
Zoltan Balazs16-Jun-08 4:11
Zoltan Balazs16-Jun-08 4:11 
GeneralRe: Map network drive from remote machine(server) to local machine Pin
chakran16-Jun-08 4:40
chakran16-Jun-08 4:40 
GeneralRe: Map network drive from remote machine(server) to local machine Pin
Zoltan Balazs16-Jun-08 4:56
Zoltan Balazs16-Jun-08 4:56 

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.