Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
JokeRe: Random Permutation Pin
Zhat5-Mar-09 2:05
Zhat5-Mar-09 2:05 
GeneralRe: Random Permutation Pin
Smithers-Jones5-Mar-09 2:32
Smithers-Jones5-Mar-09 2:32 
JokeRe: Random Permutation Pin
Curtis Schlak.5-Mar-09 10:02
Curtis Schlak.5-Mar-09 10:02 
QuestionHow to use a class for xml related logic taking xml file "uri" as initializer. Pin
rasingh14-Mar-09 23:31
rasingh14-Mar-09 23:31 
QuestionHow to extract the text from PDF file which was opened in IE? Pin
svt gdwl4-Mar-09 23:30
svt gdwl4-Mar-09 23:30 
AnswerRe: How to extract the text from PDF file which was opened in IE? Pin
Mirko19805-Mar-09 0:00
Mirko19805-Mar-09 0:00 
AnswerRe: How to extract the text from PDF file which was opened in IE? Pin
Mladen Janković5-Mar-09 3:38
Mladen Janković5-Mar-09 3:38 
QuestionMove the selected row to one row up and make it selected Pin
Anu Palavila4-Mar-09 23:28
Anu Palavila4-Mar-09 23:28 
Hi Me with C#.net gridview, I am trying to move the selected row to one row up on uparrow keydown and is working fine but after moving the selected row to one row up still the selected row remains with the previous row, How can I make the selected row as the one which I had moved up so that on the next uparrow key press that row will move up
my code is

private void dgvQuotationEntry_KeyDown(object sender, KeyEventArgs e)
{

int Asciival = e.KeyValue;
string ID , PRDCode
int rowIndex = 0, rowCount;
rowIndex = dgvQuotationEntry.CurrentCell.RowIndex;
rowCount = dgvQuotationEntry.Rows.Count;

if (Asciival == 38)
{
if (dgvQuotationEntry.CurrentCell != null && rowIndex != 0)
{
ID = dgvQuotationEntry.CurrentRow.Cells[0].Value.ToString();
PRDCode = dgvQuotationEntry.CurrentRow.Cells[1].Value.ToString();

dgvQuotationEntry.Rows.RemoveAt(rowIndex);
dgvQuotationEntry.Rows.Insert(--rowIndex, ID , PRDCode);
}
}
}

Thanks & Regards

AnswerRe: Move the selected row to one row up and make it selected Pin
WvdW5-Mar-09 1:36
WvdW5-Mar-09 1:36 
GeneralRe: Move the selected row to one row up and make it selected Pin
Anu Palavila6-Mar-09 19:55
Anu Palavila6-Mar-09 19:55 
Questionabout the drag & operations in paint application Pin
Nilam Dalvi4-Mar-09 23:11
Nilam Dalvi4-Mar-09 23:11 
AnswerRe: about the drag & operations in paint application Pin
Shyam K Pananghat4-Mar-09 23:19
Shyam K Pananghat4-Mar-09 23:19 
JokeRe: about the drag & operations in paint application [modified] Pin
musefan4-Mar-09 23:21
musefan4-Mar-09 23:21 
JokeRe: about the drag & operations in paint application Pin
Xmen Real 5-Mar-09 0:11
professional Xmen Real 5-Mar-09 0:11 
JokeRe: about the drag & operations in paint application Pin
ABitSmart5-Mar-09 3:26
ABitSmart5-Mar-09 3:26 
Questionabout the drawareatool in c# Pin
Nilam Dalvi4-Mar-09 23:09
Nilam Dalvi4-Mar-09 23:09 
AnswerRe: about the drawareatool in c# PinPopular
ABitSmart4-Mar-09 23:48
ABitSmart4-Mar-09 23:48 
AnswerRe: about the drawareatool in c# Pin
Smithers-Jones5-Mar-09 1:34
Smithers-Jones5-Mar-09 1:34 
JokeRe: about the drawareatool in c# Pin
Xmen Real 5-Mar-09 3:03
professional Xmen Real 5-Mar-09 3:03 
AnswerRe: about the drawareatool in c# Pin
Christian Graus5-Mar-09 8:18
protectorChristian Graus5-Mar-09 8:18 
Questionhow we drag & drop of actor in usecase diagram is there is any inbuilt function or please give mre that code Pin
Kanchan Pawar4-Mar-09 23:09
Kanchan Pawar4-Mar-09 23:09 
Questionwhat is Doctoolkit assembly Pin
Kanchan Pawar4-Mar-09 23:04
Kanchan Pawar4-Mar-09 23:04 
Questionhow we drow uml tools usin c#? Pin
poonam jagdale4-Mar-09 23:04
poonam jagdale4-Mar-09 23:04 
Questioncode for drag & drop of class diagram tools Pin
Kanchan Pawar4-Mar-09 23:02
Kanchan Pawar4-Mar-09 23:02 
AnswerEight exclamation marks Pin
Vikram A Punathambekar4-Mar-09 23:09
Vikram A Punathambekar4-Mar-09 23:09 

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.