Click here to Skip to main content
16,015,900 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionHow to Display DataSet.xsd Table in Report.rdlc Table Pin
Francis K Antony4-Oct-09 20:55
Francis K Antony4-Oct-09 20:55 
QuestionGetting Change Event of All controls on a WinForm Pin
εїзεїзεїз3-Oct-09 21:49
εїзεїзεїз3-Oct-09 21:49 
AnswerRe: Getting Change Event of All controls on a WinForm Pin
Eddy Vluggen3-Oct-09 22:02
professionalEddy Vluggen3-Oct-09 22:02 
QuestionUserControl properties don't match in designer and InitializeComponent Pin
dybs1-Oct-09 17:44
dybs1-Oct-09 17:44 
AnswerRe: UserControl properties don't match in designer and InitializeComponent Pin
mp3141512-Oct-09 5:59
mp3141512-Oct-09 5:59 
QuestionWindows Forms: TreeView in SplitContainer flickers on Resizing the screen at runtime PinPopular
Poornima Naik1-Oct-09 3:24
Poornima Naik1-Oct-09 3:24 
QuestionWindows Forms, data, filter Pin
Ajay Fresher30-Sep-09 23:57
Ajay Fresher30-Sep-09 23:57 
AnswerRe: Windows Forms, data, filter Pin
Eddy Vluggen3-Oct-09 22:38
professionalEddy Vluggen3-Oct-09 22:38 
Ajay Fresher wrote:
Can we do it using datagrid or some other means?


A DataGridView could work; it would save you from creating and positioning your own controls. Alternatively; I'd build a UserControl to represent a single line, and drop a collection of those in a Panel with the AutoScroll property set to true.

Ajay Fresher wrote:
its not too optmized. For each drop down, data get retrieved from DB.


The table "MasterList" looks small enough to keep in memory, but the table "QuoteHistory" might grow large.

Is the db local, or is it on a remote computer? If it's local, then it might suffice to review the indexes on the QuoteHistory-table. If it's going to be accessed (read) by more people at the same time, consider switching to SQL Express.

Ajay Fresher wrote:
No of rows are hard coded.


Well, a DataGridView (or a Panel with UserControls) would make it easier to "add" a line to the form. I guess it's pretty hard to make it dynamic if you have to position all your textboxes and combo's in advance. Focus on adding an item (e.g., a DataGridViewRow) on demand (a button_click) Smile | :)

I are Troll Smile | :)

GeneralRe: Windows Forms, data, filter Pin
Ajay Fresher4-Oct-09 20:37
Ajay Fresher4-Oct-09 20:37 
GeneralRe: Windows Forms, data, filter Pin
Eddy Vluggen5-Oct-09 6:41
professionalEddy Vluggen5-Oct-09 6:41 
QuestionShow Loading Image Pin
swapnil_bhanagle26-Sep-09 0:42
swapnil_bhanagle26-Sep-09 0:42 
AnswerRe: Show Loading Image Pin
Richard MacCutchan26-Sep-09 4:05
mveRichard MacCutchan26-Sep-09 4:05 
GeneralRe: Show Loading Image Pin
swapnil_bhanagle28-Sep-09 16:23
swapnil_bhanagle28-Sep-09 16:23 
QuestionImage Effects in Windows Application Pin
Sachin Dubey25-Sep-09 21:07
Sachin Dubey25-Sep-09 21:07 
AnswerRe: Image Effects in Windows Application Pin
freakyit29-Sep-09 4:33
freakyit29-Sep-09 4:33 
QuestionHow to tell "cut" from "copy" upon pasting Pin
michalJ24-Sep-09 14:40
michalJ24-Sep-09 14:40 
AnswerRe: How to tell "cut" from "copy" upon pasting Pin
Luc Pattyn24-Sep-09 15:04
sitebuilderLuc Pattyn24-Sep-09 15:04 
GeneralRe: How to tell "cut" from "copy" upon pasting Pin
michalJ24-Sep-09 15:10
michalJ24-Sep-09 15:10 
GeneralRe: How to tell "cut" from "copy" upon pasting Pin
michalJ24-Sep-09 15:30
michalJ24-Sep-09 15:30 
GeneralRe: How to tell "cut" from "copy" upon pasting Pin
Luc Pattyn24-Sep-09 17:02
sitebuilderLuc Pattyn24-Sep-09 17:02 
AnswerRe: How to tell "cut" from "copy" upon pasting Pin
michalJ25-Sep-09 0:51
michalJ25-Sep-09 0:51 
GeneralRe: How to tell "cut" from "copy" upon pasting Pin
Luc Pattyn25-Sep-09 4:00
sitebuilderLuc Pattyn25-Sep-09 4:00 
QuestionFillByCountry From MSSQL Pin
Sider8924-Sep-09 10:40
Sider8924-Sep-09 10:40 
AnswerRe: FillByCountry From MSSQL Pin
Richard MacCutchan24-Sep-09 23:26
mveRichard MacCutchan24-Sep-09 23:26 
QuestiontextBox focus on form Closing Pin
Ali el24-Sep-09 0:21
Ali el24-Sep-09 0:21 

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.