Click here to Skip to main content
15,888,590 members
Home / Discussions / C#
   

C#

 
AnswerRe: Crystal Report Deployment Pin
selcuks14-Oct-08 4:43
selcuks14-Oct-08 4:43 
AnswerRe: Crystal Report Deployment Pin
Ennis Ray Lynch, Jr.14-Oct-08 7:15
Ennis Ray Lynch, Jr.14-Oct-08 7:15 
Questionabout to get trolled but [modified] Pin
EliottA14-Oct-08 3:42
EliottA14-Oct-08 3:42 
AnswerRe: about to get trolled but Pin
Russell Jones14-Oct-08 4:03
Russell Jones14-Oct-08 4:03 
GeneralRe: about to get trolled but Pin
EliottA14-Oct-08 4:05
EliottA14-Oct-08 4:05 
GeneralRe: about to get trolled but Pin
Simon P Stevens14-Oct-08 4:27
Simon P Stevens14-Oct-08 4:27 
AnswerRe: about to get trolled but Pin
Sean Mulkerrin14-Oct-08 4:18
Sean Mulkerrin14-Oct-08 4:18 
GeneralRe: about to get trolled but Pin
EliottA14-Oct-08 4:25
EliottA14-Oct-08 4:25 
AnswerRe: about to get trolled but Pin
Dan Neely14-Oct-08 4:47
Dan Neely14-Oct-08 4:47 
GeneralRe: about to get trolled but Pin
Guffa14-Oct-08 5:33
Guffa14-Oct-08 5:33 
AnswerRe: about to get trolled but Pin
Humble Programmer14-Oct-08 11:10
Humble Programmer14-Oct-08 11:10 
GeneralRe: about to get trolled but Pin
EliottA15-Oct-08 2:29
EliottA15-Oct-08 2:29 
Questionread xml Pin
arkiboys14-Oct-08 3:18
arkiboys14-Oct-08 3:18 
AnswerRe: read xml Pin
Giorgi Dalakishvili14-Oct-08 3:26
mentorGiorgi Dalakishvili14-Oct-08 3:26 
AnswerRe: read xml Pin
bcozican14-Oct-08 3:30
bcozican14-Oct-08 3:30 
GeneralRe: read xml [modified] Pin
arkiboys14-Oct-08 4:08
arkiboys14-Oct-08 4:08 
GeneralRe: read xml Pin
PIEBALDconsult14-Oct-08 4:10
mvePIEBALDconsult14-Oct-08 4:10 
AnswerRe: read xml Pin
Mohammad Dayyan14-Oct-08 4:17
Mohammad Dayyan14-Oct-08 4:17 
QuestionRemote Screen Capture Pin
lal001214-Oct-08 2:25
lal001214-Oct-08 2:25 
AnswerRe: Remote Screen Capture Pin
Abhijit Jana14-Oct-08 2:39
professionalAbhijit Jana14-Oct-08 2:39 
AnswerRe: Remote Screen Capture Pin
Pieter Alec Myburgh12-Oct-09 22:23
Pieter Alec Myburgh12-Oct-09 22:23 
QuestionPrinting Problem in printdocument for somepages Pin
suleh14-Oct-08 2:12
suleh14-Oct-08 2:12 
QuestionLinking a text box to a unique ID in C# windows app. Pin
ndeza14-Oct-08 2:03
ndeza14-Oct-08 2:03 
AnswerRe: Linking a text box to a unique ID in C# windows app. Pin
SeMartens14-Oct-08 2:26
SeMartens14-Oct-08 2:26 
GeneralRe: Linking a text box to a unique ID in C# windows app. Pin
ndeza15-Oct-08 22:49
ndeza15-Oct-08 22:49 
Hi Sebastian,

I've got a Foreign Exchange app that I'm trying to create, and the table is stored in the database. This table has an ID where it links to the different currencies. Now what I want to do is I want to link the text boxes of all the different currencies to the currencies in the table. I haven't done much with this but I've created a stored proc that updates, and inserts.

cmd.Parameters.Add("@PlayerTypeID", SqlDbType.Int, 20);
cmd.Parameters["@PlayerTypeID"].Value = txt0.Text; -- this is what I’ve been trying and it’s not working out.
cmd.Parameters.Add("@DateYear", SqlDbType.Int, 40);
cmd.Parameters["@DateYear"].Value = cbmYear.SelectedItem;
cmd.Parameters.Add("@DateMonth", SqlDbType.Int, 4);
cmd.Parameters["@DateMonth"].Value = cmbMonth.SelectedItem;
cmd.Parameters.Add("@FXR", SqlDbType.Float);
cmd.Parameters["@FXR"].Value = txt0.Text;
cmd.Parameters["@FXR"].Value = txt3.Text;
cmd.Parameters["@FXR"].Value = txt5.Text;
cmd.Parameters["@FXR"].Value = txt6.Text;
cmd.Parameters["@FXR"].Value = txt9.Text;
cmd.Parameters["@FXR"].Value = txt55.Text;
cmd.Parameters["@FXR"].Value = txt61.Text;
cmd.Parameters["@FXR"].Value = txt76.Text;
cmd.Parameters["@FXR"].Value = txt77.Text;
cmd.Parameters["@FXR"].Value = txt81.Text;

But now my problem is that I just cant get the PlayerTypeID being the ID link to the text box. Please can you assist with an example of some kind.

Thank you,

Ndeza

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.