Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
AnswerRe: index passing itemtext - checkedlistbox Pin
Mycroft Holmes10-Jun-09 21:11
professionalMycroft Holmes10-Jun-09 21:11 
QuestionTabControl SelectedIndexChanged call on form load Pin
CodingLover10-Jun-09 20:18
CodingLover10-Jun-09 20:18 
AnswerRe: TabControl SelectedIndexChanged call on form load Pin
Mycroft Holmes10-Jun-09 21:14
professionalMycroft Holmes10-Jun-09 21:14 
AnswerRe: TabControl SelectedIndexChanged call on form load Pin
banditaamitabh3-Jul-09 0:51
banditaamitabh3-Jul-09 0:51 
QuestionHow to execute oracle stored procedure in C# Pin
rajkumar.bathula10-Jun-09 20:15
rajkumar.bathula10-Jun-09 20:15 
AnswerRe: How to execute oracle stored procedure in C# Pin
Baran M10-Jun-09 20:36
Baran M10-Jun-09 20:36 
GeneralRe: How to execute oracle stored procedure in C# Pin
rajkumar.bathula10-Jun-09 23:31
rajkumar.bathula10-Jun-09 23:31 
QuestionHashTable elements not found in the same order as they are added Pin
mmdullah10-Jun-09 19:06
mmdullah10-Jun-09 19:06 
Hi all,

I can not retrive the elements from a hashtable in the same order as they are added.

please help......

Hashtable htParameters = new Hashtable();
            htParameters.Add("fromDate", string.Format("'{0}'",fromDate.ToString("dd-MMM-yyyy")));
            htParameters.Add("ToDate", string.Format("'{0}'",toDate.ToString("dd-MMM-yyyy")));
            htParameters.Add("dtOvdDate", string.Format("'{0}'",dtOvdDate.ToString("dd-MMM-yyyy")));
            htParameters.Add("dtOvdDatePrev", string.Format("'{0}'",dtOvdDatePrev.ToString("dd-MMM-yyyy")));
            htParameters.Add("strAndPaid", string.Format("'{0}'",strAndPaid));
            htParameters.Add("rdoFileInfoSpecific", string.Format("{0}",rdoFileInfoSpecific.Checked?"1":"0"));
            htParameters.Add("SpecificFileNo", string.Format("'{0}'",txtFileInfoSpecific.Text.Trim()));
            htParameters.Add("strAndFOfficer", string.Format("'{0}'",strAndFOfficer));
            htParameters.Add("strAndZone", string.Format("'{0}'",strAndZone));
            htParameters.Add("strCollType", string.Format("'{0}'",strCollType));
            htParameters.Add("rdoStatusNID", string.Format("{0}",rdoStatusNID.Checked?"1":"0"));
            htParameters.Add("rdoStatusBankOpen", string.Format("{0}",rdoStatusBankOpen.Checked?"1":"0"));
            htParameters.Add("chkOvdVal", string.Format("{0}","0"));
            htParameters.Add("rdoRepTypeAllDet", string.Format("{0}",rdoRepTypeAllDet.Checked?"1":"0"));


when retrieving.....
they comes in different order
if (parameters != null && parameters.Count > 0)
                {
                    foreach (string parametername in parameters.Keys)
                    {                        
                        SqlParameter param = new SqlParameter("@" + parametername, parameters[parametername]);
                        Cmnd.Parameters.Add(param);		

                    }
                }


plz reply asap

mir
AnswerRe: HashTable elements not found in the same order as they are added [modified] Pin
Seikilos10-Jun-09 19:41
Seikilos10-Jun-09 19:41 
QuestionHow can i get the VISIBLE bounds of a control. [modified] Pin
hwswin10-Jun-09 18:15
hwswin10-Jun-09 18:15 
AnswerRe: How can i get the VISIBLE bounds of a control. Pin
Rob Philpott10-Jun-09 22:46
Rob Philpott10-Jun-09 22:46 
GeneralRe: How can i get the VISIBLE bounds of a control. Pin
hwswin11-Jun-09 15:21
hwswin11-Jun-09 15:21 
GeneralRe: How can i get the VISIBLE bounds of a control. Pin
hwswin11-Jun-09 17:35
hwswin11-Jun-09 17:35 
GeneralRe: How can i get the VISIBLE bounds of a control. Pin
Rob Philpott12-Jun-09 1:59
Rob Philpott12-Jun-09 1:59 
GeneralRe: How can i get the VISIBLE bounds of a control. Pin
hwswin12-Jun-09 5:13
hwswin12-Jun-09 5:13 
GeneralRe: How can i get the VISIBLE bounds of a control. Pin
hwswin12-Jun-09 5:39
hwswin12-Jun-09 5:39 
GeneralRe: How can i get the VISIBLE bounds of a control. Pin
Rob Philpott12-Jun-09 5:40
Rob Philpott12-Jun-09 5:40 
GeneralRe: How can i get the VISIBLE bounds of a control. Pin
hwswin12-Jun-09 5:47
hwswin12-Jun-09 5:47 
Questionwhat is the best and more professional GUI designing? Pin
cppwxwidgetsss10-Jun-09 17:57
cppwxwidgetsss10-Jun-09 17:57 
AnswerRe: what is the best and more professional GUI designing? Pin
N a v a n e e t h10-Jun-09 18:21
N a v a n e e t h10-Jun-09 18:21 
QuestionI want to do a control like vs2005 doc outline tool Pin
hwswin10-Jun-09 17:40
hwswin10-Jun-09 17:40 
AnswerRe: I want to do a control like vs2005 doc outline tool Pin
Christian Graus10-Jun-09 17:52
protectorChristian Graus10-Jun-09 17:52 
GeneralRe: I want to do a control like vs2005 doc outline tool Pin
hwswin10-Jun-09 18:09
hwswin10-Jun-09 18:09 
GeneralRe: I want to do a control like vs2005 doc outline tool Pin
S. Senthil Kumar10-Jun-09 23:59
S. Senthil Kumar10-Jun-09 23:59 
GeneralRe: I want to do a control like vs2005 doc outline tool Pin
hwswin11-Jun-09 15:30
hwswin11-Jun-09 15:30 

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.