Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
AnswerRe: How is the algorithm to compare a "lot" of strings, tell z frequency and tell which similar strings are found in which index? Pin
Alan Balkany21-Dec-09 9:55
Alan Balkany21-Dec-09 9:55 
QuestionC# for beginners Pin
APolancoS21-Dec-09 5:31
APolancoS21-Dec-09 5:31 
AnswerRe: C# for beginners Pin
EliottA21-Dec-09 5:33
EliottA21-Dec-09 5:33 
GeneralRe: C# for beginners Pin
APolancoS21-Dec-09 16:15
APolancoS21-Dec-09 16:15 
AnswerRe: C# for beginners Pin
Richard MacCutchan21-Dec-09 6:06
mveRichard MacCutchan21-Dec-09 6:06 
AnswerRe: C# for beginners Pin
V.21-Dec-09 20:38
professionalV.21-Dec-09 20:38 
AnswerRe: C# for beginners Pin
Rob Philpott21-Dec-09 21:57
Rob Philpott21-Dec-09 21:57 
QuestionSelect a perticular value in combo box Pin
NarVish21-Dec-09 5:05
NarVish21-Dec-09 5:05 
Hi,
I've a combo box, which contains Sites' names(data comes from database). One of the item is "Create new site". I would like to keep the "Create new site" item at the top of all items. I tried to accomplish this by setting SelectedValue to 0, But it didn't work. Below is my code. Please guide to solve this issue. Thanks in advance.

DataTable dtSite = new DataTable();
DataRow drNewAction;

dtSite = objSites.SelectSites();
drNewAction = dtSite.NewRow();
drNewAction["SiteKey"] = 0;
drNewAction["SiteName"] = "Create new site";
dtSite.Rows.Add(drNewAction);

comSiteList.DataSource = dtSite;
comSiteList.DisplayMember = "SiteName";
comSiteList.ValueMember = "SiteKey";
comSiteList.Tag = "Loaded";
comSiteList.SelectedValue = 0;

AnswerRe: Select a perticular value in combo box Pin
dbrenth21-Dec-09 7:51
dbrenth21-Dec-09 7:51 
QuestionHow can i make shortcut keys by using code Pin
inayat basha21-Dec-09 4:49
inayat basha21-Dec-09 4:49 
AnswerRe: How can i make shortcut keys by using code [modified] Pin
robbrad21-Dec-09 5:14
robbrad21-Dec-09 5:14 
AnswerRe: How can i make shortcut keys by using code Pin
Luc Pattyn21-Dec-09 5:32
sitebuilderLuc Pattyn21-Dec-09 5:32 
QuestionUpdate web.config at run time [modified] Pin
treuveni21-Dec-09 4:13
treuveni21-Dec-09 4:13 
AnswerRe: Update web.config at run time Pin
treuveni21-Dec-09 20:51
treuveni21-Dec-09 20:51 
QuestionText Cahnging Whith BarCode Reader in TextBox C# Pin
Thaer Hamael21-Dec-09 2:09
Thaer Hamael21-Dec-09 2:09 
GeneralRe: Text Cahnging Whith BarCode Reader in TextBox C# Pin
Md. Marufuzzaman21-Dec-09 3:06
professionalMd. Marufuzzaman21-Dec-09 3:06 
AnswerRe: Text Cahnging Whith BarCode Reader in TextBox C# Pin
Keith Barrow21-Dec-09 3:09
professionalKeith Barrow21-Dec-09 3:09 
AnswerRe: Text Cahnging Whith BarCode Reader in TextBox C# Pin
DJ Matthews21-Dec-09 3:40
DJ Matthews21-Dec-09 3:40 
QuestionSocket Error: A non-blocking socket operation could not be completed immediately Pin
Harvey Saayman21-Dec-09 1:52
Harvey Saayman21-Dec-09 1:52 
QuestionHow to get Modified Registry value old information Pin
Member 437062521-Dec-09 1:18
Member 437062521-Dec-09 1:18 
AnswerRe: How to get Modified Registry value old information Pin
Dave Kreskowiak21-Dec-09 3:34
mveDave Kreskowiak21-Dec-09 3:34 
GeneralRe: How to get Modified Registry value old information Pin
Member 437062521-Dec-09 6:52
Member 437062521-Dec-09 6:52 
GeneralRe: How to get Modified Registry value old information Pin
Dave Kreskowiak21-Dec-09 8:08
mveDave Kreskowiak21-Dec-09 8:08 
Questionlist of structs Pin
benams20-Dec-09 23:18
benams20-Dec-09 23:18 
AnswerRe: list of structs Pin
Keith Barrow20-Dec-09 23:50
professionalKeith Barrow20-Dec-09 23:50 

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.