</div> <div> </div> <div>I need to add something else to "Queso Cabrales" (an extra children table not yet implemented in NorthWind)
Let's say I want to store additional data for each delivery of "Queso Cabrales" </div> <div> </div> <div>e.g.:</div> <div> </div> <div>Order: Vinet</div> <div>
"Queso Cabrales" + Feature 1 : "Queso Cabrales" + "Taste" : Salty
"Queso Cabrales" + Feature 2 : "Queso Cabrales" + "Smell" : Rotten egg
"Queso Cabrales" + Feature 3 : "Queso Cabrales" + "AgingTime" : 1 week
"Queso Cabrales" + Feature 4 : "Queso Cabrales" + "Bacteria Type" : Bacterias Ursuppulliesy</div> <div> </div> <div>
<div>Order: Lilas</div> <div>
"Queso Cabrales" + Feature 1 : "Queso Cabrales" + "Taste" : Sweet
"Queso Cabrales" + Feature 2 : "Queso Cabrales" + "Smell" : Mountain fungus
"Queso Cabrales" + Feature 3 : "Queso Cabrales" + "AgingTime" : 2 weeks
"Queso Cabrales" + Feature 4 : "Queso Cabrales" + "Bacteria Type" : Mongonucleosys</div> <div> </div> <div> <div>Order:: Folko</div> <div>
"Queso Cabrales" + Feature 1 : "Queso Cabrales" + "Taste" : Acid
"Queso Cabrales" + Feature 2 : "Queso Cabrales" + "Smell" : Onionish
"Queso Cabrales" + Feature 3 : "Queso Cabrales" + "AgingTime" : 6 week
"Queso Cabrales" + Feature 4 : "Queso Cabrales" + "Bacteria Type" : Bacterias Repytlaiaceous</div> <div> </div> <div>So Taste, Smell, Aging Time and Bacteria Type is stored in a refrence Entity</div> <div> </div> <div>I'd like to have in a gridview all this
items displayed at once so I can enter data (as in a spreadsheet) and save them all at once</div> <div> </div> <div>That means I have to show the third table plus an extra TexField to gather all data</div> <div> </div> <div>Can this be done? Anyone nows how
to solve this situation?</div> </div> <div></div> </div> <div>THE OBJECTIVE IS TO SHOW ALL THE DATA EDITABLE AT ONCE, NOT ROW BY ROW</div>
You mean that you want to make a GridView "Excel-Like", which means you can do adding, deleting or modifications and just click one Submit button and all the changes behave?
Beautifully said, and yes that's the goal but just for the TextBox; even though, there must be a way of passing the data back to the entity to which they belong keeping track of course of the FKs and IDs for saving the data in the children table
I've done a sample of a simple Excel-Like GridView, if you are interested in that, You can send me your private message and I'd like to share it with you. Your private message should be "Excel-GridView Wanted".
Member
68 Points
360 Posts
Add a TextBox to a GridView (StyleSheet Behavior)
Jul 11, 2011 01:16 PM|Topolov|LINK
<div>Let's say I want to store additional data for each delivery of "Queso Cabrales" </div> <div> </div> <div>e.g.:</div> <div> </div> <div>Order: Vinet</div> <div>
"Queso Cabrales" + Feature 1 : "Queso Cabrales" + "Taste" : Salty
"Queso Cabrales" + Feature 2 : "Queso Cabrales" + "Smell" : Rotten egg
"Queso Cabrales" + Feature 3 : "Queso Cabrales" + "AgingTime" : 1 week
"Queso Cabrales" + Feature 4 : "Queso Cabrales" + "Bacteria Type" : Bacterias Ursuppulliesy</div> <div> </div> <div>
<div>Order: Lilas</div> <div>
"Queso Cabrales" + Feature 1 : "Queso Cabrales" + "Taste" : Sweet
"Queso Cabrales" + Feature 2 : "Queso Cabrales" + "Smell" : Mountain fungus
"Queso Cabrales" + Feature 3 : "Queso Cabrales" + "AgingTime" : 2 weeks
"Queso Cabrales" + Feature 4 : "Queso Cabrales" + "Bacteria Type" : Mongonucleosys</div> <div> </div> <div> <div>Order:: Folko</div> <div>
"Queso Cabrales" + Feature 1 : "Queso Cabrales" + "Taste" : Acid
"Queso Cabrales" + Feature 2 : "Queso Cabrales" + "Smell" : Onionish
"Queso Cabrales" + Feature 3 : "Queso Cabrales" + "AgingTime" : 6 week
"Queso Cabrales" + Feature 4 : "Queso Cabrales" + "Bacteria Type" : Bacterias Repytlaiaceous</div> <div> </div> <div>So Taste, Smell, Aging Time and Bacteria Type is stored in a refrence Entity</div> <div> </div> <div>I'd like to have in a gridview all this items displayed at once so I can enter data (as in a spreadsheet) and save them all at once</div> <div> </div> <div>That means I have to show the third table plus an extra TexField to gather all data</div> <div> </div> <div>Can this be done? Anyone nows how to solve this situation?</div> </div> <div></div> </div> <div>THE OBJECTIVE IS TO SHOW ALL THE DATA EDITABLE AT ONCE, NOT ROW BY ROW</div>
All-Star
94130 Points
18109 Posts
Re: Add a TextBox to a GridView (StyleSheet Behavior)
Jul 12, 2011 10:59 PM|Decker Dong - MSFT|LINK
Hello:)
You mean that you want to make a GridView "Excel-Like", which means you can do adding, deleting or modifications and just click one Submit button and all the changes behave?
Member
68 Points
360 Posts
Re: Add a TextBox to a GridView (StyleSheet Behavior)
Jul 13, 2011 12:07 AM|Topolov|LINK
Beautifully said, and yes that's the goal but just for the TextBox; even though, there must be a way of passing the data back to the entity to which they belong keeping track of course of the FKs and IDs for saving the data in the children table
Is that ok?
All-Star
94130 Points
18109 Posts
Re: Add a TextBox to a GridView (StyleSheet Behavior)
Jul 13, 2011 12:42 AM|Decker Dong - MSFT|LINK
Hello again:)
I've done a sample of a simple Excel-Like GridView, if you are interested in that, You can send me your private message and I'd like to share it with you. Your private message should be "Excel-GridView Wanted".
thx