|
Thanks Dave. So you happen to know how Krypton[^] ranks in quality and complexity? These are the coolest free controls I've seen, and if feasible and if I don't find any better options, I'd like to use them
|
|
|
|
|
They look relatively well documented.
However, i may be wrong.. but they look very similar to the standard WPF controls...
|
|
|
|
|
Don't know. Haven't used them. Don't care to...
Use them all you want. You're the only person who can determine if they are going to work for you, based on your skill level. Personally, I'd suggest making the app work with the standard controls first, then worry about making it look pretty.
|
|
|
|
|
Thanks for the info Sk93.
Dave Kreskowiak wrote: Personally, I'd suggest making the app work with the standard controls first, then worry about making it look pretty.
This seems like a good idea if it's not too much work to get everything working with one UI, then change it. Would this be preferable to using the desired UI from the beginning?
modified on Tuesday, July 28, 2009 4:35 PM
|
|
|
|
|
Since you have no experience in building applications - yes.
|
|
|
|
|
You have a steep learning curve to deal with, work with the basics of data and manipluting that data first.
Your question is like someone deciding to build a car and discussing the paint type, almost totally irrelevant at your stage.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
If you want to enjoy your video everywhere and everytime, Movkit Mobile Video Converter can meet your desire.
Movkit Mobile Video Converter, which can easily convert most popular video formats such as AVI, MPG, MOV,QT, WMV, ASF,DAT, VOB, RMVB, RM, MP4, MKV, OGM and so on into portable video device formats including Sony PSP, Apple iPod, iPhone, MS Zune, PDA, Pocket PC, Archos, Creative Zen, MP4 Player with high speed and quality, is an excellent video and audio formats converter.
Now you can download it here: http://www.softwarewikipedia.com/index.php/Movkit_Mobile_Video_Converter and enjoy the convenience and pefect functions it give you. If you want to learn more about it and know how to use it, just search : http://www.softwarewikipedia.com/index.php/Movkit_Mobile_Video_Converter. In addition, you can get a discount if you buy it here. Just enjoy yourself!
|
|
|
|
|
Your post is being removed. Buy ad space like every other respectable company. You're not going to get it for free here.
|
|
|
|
|
Goodbye
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
hii
i want know that when we add any data source to the project it has two options
1. No, exclude sensitive data from the connection string, i will add in my application code
2. Yes, include sensitive data in my connection string
2nd option is nuthing anyone can use it but how to use the first option ???
how to add sensitive data in application code ???
how can i do that please provide any easy way as i didnt find it
thanks
with regards
k
|
|
|
|
|
|
I have searched the net and cannot find any info for what I need to.
I am basically creating an order entry form, using a datagrid.
The basic columns in the datagrid are CODE, DESCRIPTION, PRICE
What I am trying to do is; when then user selects the item code (CODE) from a combo-box in the datagrid, the description and price are automatically inserted into the other cells (from the database).
I hope I am explaining myself clear enough.
I am sure there is a tutorial out there somewhere, but I must be searching using the wrong keywords or doing something wrong cause I can't find it.
any help would be much appreciated.
|
|
|
|
|
Since you have posted in the Windows Forms forum I assume that by DataGrid you actually mean DataGridView.
Or are you actually using a DataGrid? Which leads to the next question, is it really a Windows Forms application?
The answers to these questions makes a difference to the reply.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hey,
Yes I am using the DataGridView in a windows forms application (Sorry I should have been more specfic). I am still unsure on how to accomplish this task. . . i've been tearing my hair out :-P
|
|
|
|
|
Please do not be offended by this, but your design seems to me to be a little odd. Of course there may be constraints on you that I am unaware of and if so, please ignore this.
The point about a DataGridView is that it can display many rows of information. Bearing that in mind, why not simply load all of the data into the grid and allow the user to scroll up and down to locate the CODE they are interested in, or provide a search mechanism to allow them to enter a CODE into a TextBox and the grid would scroll the correct line into view.
Doing it in the way that you are proposing would indicate that you are using a single row, which, as I said, is slightly unusual. If you wish to do it one item at a time why not simply use a normal ComboBox on the form, with two TextBoxe s for DESCRIPTION and PRICE. Then when the user makes a selection from the CODE ComboBox you can use a paramaterized SELECT statement to fill the TextBoxes with the correct data for editing or whatever.
If on the other hand your grid would have more than one row, all blank until the user selects a CODE, this could become very confusing, with the same data being repeated in different rows, this would be a nightmare for the user and for yourself from a maintenance point of view.
I hope that this helps you, but if not please come back.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi Henry,
Thanks for you replys , the design I am trying to implement is the same type of ordering entry system as MYOB Accounting, Microsoft Office Accounting and many others, . . I'm only including minimal infomation regarding this to avoid confusion, and to avoid over complicating my question, . . I will try explain it another way
These are the items in the DataGridView (CODE, DESCRIPTION, PRICE)
(There are more e.g. qty, tax etc.. however once I figure out how to do it with one column the rest will be easy, so no need to over complicate things)
--------------------------------------
CODE | DESCRIPTION | PRICE <--DataGridView Column Headers
--------------------------------------
______|v|_____________________________
^
|
The 'CODE' Column is a ComboBox populated with Item/Product Codes (read from a database (tbl_products))
When the user selects a 'product code' from the combo box the Description & Price cells are automatically populated with the relevant infomation, and a new blank row added to the DataGridView to allow another line for this order to be added
--------------------------------------
CODE | DESCRIPTION | PRICE
--------------------------------------
ITM001|v| Item 01 Misc | $100.00 <--- The user selected (ITM001) From the product code
______|v|_____________________________ <- The Description (Item 01 Misc) and price ($100) was auto-
| matically added to the remaining cells (This was read from
| infomation in a database (tbl_products))
|
|
Once an item has been added to the datagridview
a new (empty) line will be added to the datagridview
to allow users to add multiple items/products to a
single order.
The reason for implementing this type of data entry, is to allow the user to add as many (or as little) items to 1 order as needed, also with the infomation (DESCRIPTION & PRICE) being automatically inserted, this will create minimal errors and countless hours typing descriptions and prices (as anyone who has done data entry knows can be painfully annoying )
I hope this explains what I am trying to acomplish. If you need any insight to what I am trying to do Microsoft Office Accounting has an order entry system that does exactly what I am trying to acomplish.
I have included a link ^]">here to a screenshot of a quote entry form in MOA (Microsoft Office Accouting) I hope this will be useful.
Thank you for your replys, . . I apologise for my lack of explaination (and rather lengthy reply :-P) I hope this helps.
Many thanks
|
|
|
|
|
|
Oh I should mention that the image I linked to HERE|^|
the name column in the datagridview (when a code/name is added to the list) the description/price/tax etc.. is automatically added this is what I am trying to achieve.
Again I hope this explains my situation.
|
|
|
|
|
OK.
Now I understand.
I have something that I think might help, at least in part, all I have to do is find it again.
As soon as I do, I'll come back to you, shouldn't be too long.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Many thanks, Highly appreciated!
I anxiously wait for your reply
|
|
|
|
|
If you could handle SelectedIndexChanged (or any suitable ComboBox event) for your DataGridViewComboBoxColumn it would give you the opportunity to get the necessary values from the Database.
Here's a nifty way that you can do that by handling the OnEditControlShowing event of the DataGridView . Something like this:
ComboBox hookedCombo = null;
private void OnEditControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
{
if (dataGrid.CurrentCell.ColumnIndex = 0)
{
hookedcombo = (ComboBox)e.Control;
if (hookedCombo == null)
{
return;
}
hookedCombo.SelectedIndexChanged += this.OnComboIndexChanged
}
}
OnComboIndexChanged is a standard ComboBox.SelectedIndexChanged handler.
I hope that this is of some help, or at least gets you started in the right direction.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Many thanks, I will have a play around with this and let you know my progress
Thank you for your assistance Much appreciated
|
|
|
|
|
Do you need it in VB?
I had a brain fart and translated it into c# from VB to post it to you.
Here it is anyway.
Dim HookedCombo as ComboBox
Private Sub OnEditControlShowing(ByVal sender As Object, ByVal e As DataGridViewEditingControlShowingEventArgs) Handles m_Grid.EditingControlShowing
If m_Grid.CurrentCell.ColumnIndex = 0 Then 'use the index for your comboboxcolumn
HookedCombo = TryCast(e.Control, ComboBox)
If HookedCombo Is Nothing Then
Return
End If
AddHandler HookedCombo.SelectedIndexChanged, AddressOf OnComboIndexChanged
End If
End Sub
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hey it would be great to have it in VB, I have been trying to translate it manually and so far come up with
<br />
Private Sub DataGridView1_EditingControlShowing(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles DataGridView1.EditingControlShowing<br />
<br />
If DataGridView1.CurrentCell.ColumnIndex = 0 Then<br />
<br />
<br />
<br />
<br />
End If<br />
End Sub<br />
lol, not a great start at translating but a start nether the less. . lol . . if you could provide in VB that would be great
|
|
|
|
|
I have already modified my last post.
Good Luck!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|