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

C#

 
QuestionIBindingListView Filter Property Pin
Skippums7-May-07 7:11
Skippums7-May-07 7:11 
AnswerRe: IBindingListView Filter Property Pin
Dave Kreskowiak7-May-07 7:16
mveDave Kreskowiak7-May-07 7:16 
GeneralRe: IBindingListView Filter Property Pin
Skippums7-May-07 7:47
Skippums7-May-07 7:47 
GeneralRe: IBindingListView Filter Property Pin
Dave Kreskowiak7-May-07 7:51
mveDave Kreskowiak7-May-07 7:51 
Questionhow to get color percentage distribution 4 an image? Pin
icecool_567-May-07 6:52
icecool_567-May-07 6:52 
AnswerRe: how to get color percentage distribution 4 an image? Pin
Dave Kreskowiak7-May-07 7:12
mveDave Kreskowiak7-May-07 7:12 
GeneralRe: how to get color percentage distribution 4 an image? Pin
icecool_567-May-07 7:15
icecool_567-May-07 7:15 
QuestionAdding rows dynamically in a DataGridView Pin
Subrahmanyam K7-May-07 6:52
Subrahmanyam K7-May-07 6:52 
Hi Friends,

I have a requirement for the DataGridView of Windows Forms and is explained as follows:

1. I have a Quantity textbox in the DataGridView.
2. When the user enter the quantity > 1 (say 3), a total of 3 rows should
be added including the current row with the row quantity in all the rows as 1.
3. This should be achieved only when the user hits the Enter key in the
current cell.
4. If the row where the quantity being modified is in the middle of the grid, the rows next to the current row should get re-positioned based on the number of new rows added.

eg:

ProductDesc      Qty (TextBox)<br />
Compaq Laptop          3                  <br />
DELL DesktopPC         1   


When Enter key is pressed in the quantity textbox (for the product Compaq Laptop), the output in the grid should be as follows:

ProductDesc      Qty (TextBox)<br />
Compaq Laptop         1                  <br />
Compaq Laptop         1<br />
Compaq Laptop         1<br />
DELL DesktopPC        1   



I have tried with a couple of existing events of the DataGridView but I couldn't achieve.
Please help me with some suggestions.
Thanks.




Subrahmanyam K

AnswerRe: Adding rows dynamically in a DataGridView Pin
Salogus7-May-07 18:43
Salogus7-May-07 18:43 
AnswerRe: Adding rows dynamically in a DataGridView Pin
AFSEKI7-May-07 21:30
AFSEKI7-May-07 21:30 
AnswerRe: How to Generate a 16 bit Random number? Pin
Dave Kreskowiak7-May-07 7:09
mveDave Kreskowiak7-May-07 7:09 
QuestionHow to determine exe file size from it's process? Pin
Doan Quynh7-May-07 6:26
Doan Quynh7-May-07 6:26 
AnswerRe: How to determine exe file size from it's process? Pin
Dave Kreskowiak7-May-07 6:44
mveDave Kreskowiak7-May-07 6:44 
GeneralRe: How to determine exe file size from it's process? Pin
Doan Quynh7-May-07 14:55
Doan Quynh7-May-07 14:55 
GeneralRe: How to determine exe file size from it's process? Pin
Dave Kreskowiak7-May-07 17:42
mveDave Kreskowiak7-May-07 17:42 
QuestionHow to place write to memory rather than hard-disk? Pin
Khoramdin7-May-07 4:34
Khoramdin7-May-07 4:34 
AnswerRe: How to place write to memory rather than hard-disk? Pin
Tarakeshwar Reddy7-May-07 5:10
professionalTarakeshwar Reddy7-May-07 5:10 
QuestionRe: How to place write to memory rather than hard-disk? Pin
Khoramdin7-May-07 7:57
Khoramdin7-May-07 7:57 
AnswerRe: How to place write to memory rather than hard-disk? Pin
Tarakeshwar Reddy7-May-07 9:48
professionalTarakeshwar Reddy7-May-07 9:48 
QuestionPrinting GDI Drawing objects Pin
free_soul4247-May-07 4:25
free_soul4247-May-07 4:25 
AnswerRe: Printing GDI Drawing objects Pin
User 24629919-May-07 1:59
professionalUser 24629919-May-07 1:59 
QuestionC# and java Pin
Askalo7-May-07 4:12
Askalo7-May-07 4:12 
AnswerRe: C# and java Pin
Judah Gabriel Himango7-May-07 4:20
sponsorJudah Gabriel Himango7-May-07 4:20 
AnswerRe: C# and java Pin
Luc Pattyn7-May-07 6:42
sitebuilderLuc Pattyn7-May-07 6:42 
NewsRe: C# and java Pin
xuyennk7-May-07 7:59
xuyennk7-May-07 7:59 

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.