Click here to Skip to main content
16,008,719 members
Home / Discussions / C#
   

C#

 
QuestionProblem in reading a log file Pin
m.samar23-Aug-09 23:38
m.samar23-Aug-09 23:38 
AnswerRe: Problem in reading a log file Pin
Keith Barrow23-Aug-09 23:43
professionalKeith Barrow23-Aug-09 23:43 
AnswerRe: Problem in reading a log file Pin
Luc Pattyn24-Aug-09 0:51
sitebuilderLuc Pattyn24-Aug-09 0:51 
GeneralRe: Problem in reading a log file Pin
m.samar24-Aug-09 1:11
m.samar24-Aug-09 1:11 
QuestionDelegate calling from a child class Pin
FiniteRed23-Aug-09 23:21
FiniteRed23-Aug-09 23:21 
AnswerRe: Delegate calling from a child class Pin
DaveyM6923-Aug-09 23:30
professionalDaveyM6923-Aug-09 23:30 
QuestionHoe to include a schema reference in an xml file Pin
Jayaraman K23-Aug-09 23:21
Jayaraman K23-Aug-09 23:21 
QuestionDataGridView: for customized pasting operation first row is moved to end of the grid instead of getting overwritten!!!! [modified] Pin
Cracked-Down23-Aug-09 23:02
Cracked-Down23-Aug-09 23:02 
I have derived a custom control from the DataGridView to enable pasting operation from the Clipboard. I am able to do almost all the operation of pasting except the following

Scenario :
1. Added the custom DataGridView to form
2. AlloUserToAddRows = true and I have also set some other required property of custom DataGridView
3. when I turn AlloUserToAddRows = true , VS adds a one default row to grid
4. so I used the following steps to reproduce the bug
a. I run application and paste the data in each cell individually on the default added row it does not add any additional row to grid
b. I copied some rows from excel sheet and tried to paste in grid by selected first cell (as current cell)
c. Programmatically, I have to calculate the number of rows required to add in grid for pasting operation which I did , and using this.Rows.Add(n); to add n number of rows (I also tried with Insert())
d. While using Add() function everything works fine except that the first row is moved to end of the grid (only in the above mentioned scenario; for everything else it works fine)
e. While using Insert () method overloads, I am getting the exception (on same line in debug mode) InvalidOperationException with message as “no row can be inserted after the uncommitted new row.”
5. I tried many things to get work around for this bug, however I didn’t succeeded


Anybody knows the any approach where I can either get rid of this bug or exception?
suggestions are also welcome!!



Reg,
Deep

Happy Coding

modified on Monday, August 24, 2009 5:56 AM

QuestionConverting string data(which contains EBCDIC, Packed decimal and Endian data) to byte array Pin
deep723-Aug-09 22:55
deep723-Aug-09 22:55 
AnswerRe: Converting string data(which contains EBCDIC, Packed decimal and Endian data) to byte array Pin
Luc Pattyn24-Aug-09 1:43
sitebuilderLuc Pattyn24-Aug-09 1:43 
Question[Message Deleted] Pin
DIPAK@EMSYS23-Aug-09 22:51
DIPAK@EMSYS23-Aug-09 22:51 
AnswerRe: Remoting ....need help PinPopular
Mycroft Holmes23-Aug-09 23:41
professionalMycroft Holmes23-Aug-09 23:41 
GeneralRe: Remoting ....need help Pin
DIPAK@EMSYS24-Aug-09 0:15
DIPAK@EMSYS24-Aug-09 0:15 
GeneralRe: Remoting ....need help Pin
leckey24-Aug-09 4:05
leckey24-Aug-09 4:05 
AnswerRe: Remoting ....need help Pin
stancrm24-Aug-09 0:41
stancrm24-Aug-09 0:41 
QuestionR6025 Pure Virtual Functiona Call Error. Pin
Tej_dev23-Aug-09 22:51
Tej_dev23-Aug-09 22:51 
Questiona puzzle for timing method Pin
dragon_yue23-Aug-09 22:31
dragon_yue23-Aug-09 22:31 
AnswerRe: a puzzle for timing method Pin
stancrm23-Aug-09 22:39
stancrm23-Aug-09 22:39 
AnswerRe: a puzzle for timing method Pin
Bekjong23-Aug-09 23:20
Bekjong23-Aug-09 23:20 
GeneralRe: a puzzle for timing method Pin
dragon_yue29-Aug-09 2:40
dragon_yue29-Aug-09 2:40 
AnswerRe: a puzzle for timing method Pin
Luc Pattyn24-Aug-09 0:56
sitebuilderLuc Pattyn24-Aug-09 0:56 
GeneralRe: a puzzle for timing method Pin
dragon_yue29-Aug-09 2:41
dragon_yue29-Aug-09 2:41 
QuestionWeb Browser Control. Pin
egpuyos23-Aug-09 22:26
egpuyos23-Aug-09 22:26 
AnswerRe: Web Browser Control. Pin
stancrm23-Aug-09 22:36
stancrm23-Aug-09 22:36 
Questionpls help me Pin
rashid200923-Aug-09 21:35
rashid200923-Aug-09 21:35 

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.