Click here to Skip to main content
15,949,686 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to handle ItemCheck Event of CHECKEDLISTBox Pin
pashitech25-Mar-07 21:29
pashitech25-Mar-07 21:29 
QuestionDateTime in C# Pin
Hakkim00724-Mar-07 0:48
Hakkim00724-Mar-07 0:48 
AnswerRe: DateTime in C# Pin
Stefan Troschuetz24-Mar-07 1:20
Stefan Troschuetz24-Mar-07 1:20 
GeneralRe: DateTime in C# Pin
Tauseef A24-Mar-07 3:15
Tauseef A24-Mar-07 3:15 
AnswerRe: DateTime in C# Pin
Christian Graus24-Mar-07 4:37
protectorChristian Graus24-Mar-07 4:37 
QuestionDropdown Selected Value Pin
Muhammad Faisal Khanani24-Mar-07 0:13
Muhammad Faisal Khanani24-Mar-07 0:13 
AnswerRe: Dropdown Selected Value Pin
Sandeep Akhare24-Mar-07 0:58
Sandeep Akhare24-Mar-07 0:58 
GeneralRe: Dropdown Selected Value Pin
Muhammad Faisal Khanani24-Mar-07 3:26
Muhammad Faisal Khanani24-Mar-07 3:26 
Actually I am designing a forex application in which I have a profile of Receiver (who receives moneny from foriegn country) and a profile of Sender (who send money from outside the country).
moreover,one sender may have 1 or more receiver(s).

In the above scenario, I have design a webform for making remittence, in which there is a dropdown list of Sender upon its postback; dropdown list of receiver populates and we can select receiver of our choice. upto this (means during transaction) it works fine. after making transaction I have populated a gridview to view transaction that we already have made. and there is another facility of editing any transaction. (but the facility is not of GridviewControl); there is an imagebutton upon its click the editing takes place;for your better understanding here is a code snippet:

protected void ibtn_edit_Click(object sender, ImageClickEventArgs e)
{
Remmitance rm = RemmitanceDAL.FindRecord(gv.DataKeys[gv.SelectedIndex].Value.ToString());
if (null!=rm)
{
Session["tmode"] = "E"; //edit mode
txtCharges.Text = rm.Charges.ToString();
txtDate.Value = rm.Date.ToString("dd-MMM-yyyy");
txtExchangeRate.Value = rm.ExchangeRate.ToString();
txtPurpose.Text = rm.Purpose;
txtSendingAmt.Text = rm.SendingAmount.ToString();
txtSendingDate.Value = rm.SendingDate.ToString("dd-MMM-yyyy");
txtTransactionNo.Text = rm.TransactionNo;
ddPayMode.SelectedValue=rm.PaymentMode.ToString();
ddSender.SelectedValue=rm.SenderID;
ddSendingCurrency.SelectedValue=rm.SendingCurrency.ToString();
ddReceiver.SelectedValue=rm.ReceiverID;
txtTransactionNo.Enabled=false;
toggleDiv(true); //toggles the input & grid div
}
}


the above code actually instantiate a class of Remittence and put all the value to corresponding controls, here not always but sometimes i got an error that i have mentioned in my previous post.

now i can hope that you understand what I am trying to say.
QuestionPlaying a video mpeg stream through Media Player Pin
Ghoditsttoawn23-Mar-07 23:46
Ghoditsttoawn23-Mar-07 23:46 
QuestionHow to display a human readable GUID? Pin
davidnr23-Mar-07 23:38
davidnr23-Mar-07 23:38 
AnswerRe: How to display a human readable GUID? Pin
Mark Greenwood24-Mar-07 1:42
Mark Greenwood24-Mar-07 1:42 
GeneralRe: How to display a human readable GUID? Pin
davidnr24-Mar-07 14:14
davidnr24-Mar-07 14:14 
QuestionAccessing Parallel Port Pin
Rohit Dev23-Mar-07 22:59
Rohit Dev23-Mar-07 22:59 
AnswerRe: Accessing Parallel Port Pin
Stefan Troschuetz23-Mar-07 23:21
Stefan Troschuetz23-Mar-07 23:21 
QuestionSerilization Types Pin
Saikek23-Mar-07 22:46
Saikek23-Mar-07 22:46 
AnswerRe: Serilization Types Pin
Stefan Troschuetz23-Mar-07 23:27
Stefan Troschuetz23-Mar-07 23:27 
GeneralRe: Serilization Types Pin
Saikek24-Mar-07 3:17
Saikek24-Mar-07 3:17 
AnswerRe: Serilization Types Pin
Tauseef A24-Mar-07 3:22
Tauseef A24-Mar-07 3:22 
AnswerRe: Serilization Types Pin
malharone25-Mar-07 6:58
malharone25-Mar-07 6:58 
QuestionMSDN like help Pin
Tauseef A23-Mar-07 22:28
Tauseef A23-Mar-07 22:28 
AnswerRe: MSDN like help Pin
Stefan Troschuetz23-Mar-07 22:37
Stefan Troschuetz23-Mar-07 22:37 
QuestionIntellisence Pin
Kanjinghat23-Mar-07 20:44
Kanjinghat23-Mar-07 20:44 
AnswerRe: Intellisence Pin
Stefan Troschuetz23-Mar-07 22:42
Stefan Troschuetz23-Mar-07 22:42 
AnswerRe: Intellisence Pin
Mike Hankey23-Mar-07 23:18
mveMike Hankey23-Mar-07 23:18 
QuestionSystem.Xml Pin
thecodedemon23-Mar-07 19:43
thecodedemon23-Mar-07 19:43 

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.