Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
AnswerRe: sending a string using serial port Pin
engsrini23-Jan-07 22:49
engsrini23-Jan-07 22:49 
Questiondatatable size Pin
boss-tech23-Jan-07 19:27
boss-tech23-Jan-07 19:27 
AnswerRe: datatable size Pin
stancrm23-Jan-07 19:41
stancrm23-Jan-07 19:41 
AnswerRe: datatable size Pin
bobsugar22223-Jan-07 21:16
bobsugar22223-Jan-07 21:16 
Questionhow do i store values temporarily Pin
samuelred23-Jan-07 18:23
samuelred23-Jan-07 18:23 
AnswerRe: how do i store values temporarily Pin
Russell Jones23-Jan-07 22:27
Russell Jones23-Jan-07 22:27 
AnswerRe: how do i store values temporarily Pin
Bhupi Bhai23-Jan-07 22:33
Bhupi Bhai23-Jan-07 22:33 
GeneralRe: how do i store values temporarily Pin
samuelred24-Jan-07 13:21
samuelred24-Jan-07 13:21 
this is like i need to add opportunity line items in a different table.

i have two tables one is Opportunity, another is opportunitymanufacturers
following are the columns of Opportunity

opportunityid name clientid description status timeframedue
1 ibmproje 25 need desktops won 12-02-2007
2 ibmproje 25 need desktops won 12-02-2007
3 ibmproje 25 need desktops won 12-02-2007



following are the columns of opportunitymanufacturers

id opportunityid manufacturerID categoryname vendorcatgrycode qtyrequired amountworth timefram
1 1 15 workstations pl 20 $100000 12-02-2007
1 2 15 monitors gl 100 $200000 12-02-2007
1 1 20 lasers pl 20 $300000 12-02-2007
1 1 33 workstations pl 20 $120000 12-02-2007


i am going to desing my webpage which will accept the name, cliename from the dropdown,description from the textbox,status dropdown and timefame,

and i have manufacturer dropdown on selectedindex change i have to populate categorynames on selected index changed i want populate correpsoning vendorcategorycode automatically selected and i want to add two text boxes for qty, amount and datepicker for the timeframe.


user should be able to add multiples of manufacturer and category,qty etc details

now the user adds the first table information and he comes to manufacter part of the opportunity when he comes to manufacturer sections he will select the first lot of manufacturer details,
question is where should i add these 2nd table values, i cant add them to 2nd table yet becoz i dont have the opportunityID.
i will get it only after saving the 1 table values.

So i need to store the first lot of manufacturer details in the front enditself and show him what he added, and he should be able to add some more manufacturer details before he actually saves the entire opportunity.

how do i do this? how do i keep manufacturer details temporarily in the front end itself
add these temporary values as soon as i add 1st table values i get the opportunity id and i want to be able to read the manufacturer details which are in the temporary details to the 2nd table with opportunityID that i got after saving the 1st table values.

please help me out in advising me how should I desing my page in regards to adding mulitples of manufacturer line items. shold i place an add button for each of manufacturer details transaction and store them in the sqlserver some temp table and read them when i am actually saving the opportunity.

help would be really appreciated
thanks


am adding a new opportunity, i need to get the values and insert into the above tables simultaneously.



Questioni need help splitting '123456' into ['1','2','3','4','5','6'] Pin
NZSmartie23-Jan-07 17:50
NZSmartie23-Jan-07 17:50 
AnswerRe: i need help splitting '123456' into ['1','2','3','4','5','6'] Pin
Christian Graus23-Jan-07 17:59
protectorChristian Graus23-Jan-07 17:59 
AnswerRe: i need help splitting '123456' into ['1','2','3','4','5','6'] Pin
gauthee23-Jan-07 21:15
gauthee23-Jan-07 21:15 
AnswerRe: i need help splitting '123456' into ['1','2','3','4','5','6'] Pin
Robert Rohde23-Jan-07 22:24
Robert Rohde23-Jan-07 22:24 
AnswerRe: i need help splitting '123456' into ['1','2','3','4','5','6'] Pin
saravanan_raju24-Jan-07 0:16
saravanan_raju24-Jan-07 0:16 
Question[Message Deleted] Pin
qumar23-Jan-07 17:35
qumar23-Jan-07 17:35 
Answertroll alert Pin
Christian Graus23-Jan-07 17:57
protectorChristian Graus23-Jan-07 17:57 
AnswerRe: help in project Pin
aamironline23-Jan-07 18:05
aamironline23-Jan-07 18:05 
AnswerRe: help in project Pin
Martin#23-Jan-07 21:21
Martin#23-Jan-07 21:21 
AnswerRe: help in project Pin
Russell Jones23-Jan-07 22:32
Russell Jones23-Jan-07 22:32 
AnswerRe: help in project Pin
wasife24-Jan-07 0:26
wasife24-Jan-07 0:26 
QuestionConnect to Oracle Pin
Niiiissssshhhhhuuuuu23-Jan-07 16:39
Niiiissssshhhhhuuuuu23-Jan-07 16:39 
AnswerRe: Connect to Oracle Pin
Christian Graus23-Jan-07 17:25
protectorChristian Graus23-Jan-07 17:25 
GeneralRe: Connect to Oracle Pin
Niiiissssshhhhhuuuuu23-Jan-07 22:29
Niiiissssshhhhhuuuuu23-Jan-07 22:29 
AnswerRe: Connect to Oracle [modified] Pin
M Riaz Bashir23-Jan-07 20:09
M Riaz Bashir23-Jan-07 20:09 
GeneralRe: Connect to Oracle Pin
Niiiissssshhhhhuuuuu23-Jan-07 22:30
Niiiissssshhhhhuuuuu23-Jan-07 22:30 
Questionincluding another program Pin
dsl/fahk23-Jan-07 16:12
dsl/fahk23-Jan-07 16:12 

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.