Click here to Skip to main content
15,898,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Datagrid inside dropdownlist control Pin
Sandilian8-Apr-08 19:55
Sandilian8-Apr-08 19:55 
Generalproblem with foreach loop Pin
eyeseetee8-Apr-08 2:20
eyeseetee8-Apr-08 2:20 
GeneralRe: problem with foreach loop Pin
senthilsstil8-Apr-08 2:53
senthilsstil8-Apr-08 2:53 
GeneralRe: problem with foreach loop Pin
eyeseetee8-Apr-08 3:05
eyeseetee8-Apr-08 3:05 
GeneralRe: problem with foreach loop Pin
N a v a n e e t h8-Apr-08 3:38
N a v a n e e t h8-Apr-08 3:38 
GeneralRe: problem with foreach loop Pin
eyeseetee8-Apr-08 3:57
eyeseetee8-Apr-08 3:57 
GeneralRe: problem with foreach loop Pin
eyeseetee8-Apr-08 4:13
eyeseetee8-Apr-08 4:13 
GeneralRe: problem with foreach loop Pin
N a v a n e e t h8-Apr-08 15:49
N a v a n e e t h8-Apr-08 15:49 
.netman wrote:
how would I compare a value to all the values in the label,


If you follow this approach it would be difficult to check the value existence. Use a generic List<string> instead. It has a Contains() method which tells the items is already in the list. So inside the loop instead of appending to label's text, you have to add items to this list instance. Once you finish the loop, iterate through the list items and append the text to label.

Hope this helps

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralTo get Databind value assign to check box Pin
sjs4u8-Apr-08 2:08
sjs4u8-Apr-08 2:08 
GeneralRe: To get Databind value assign to check box Pin
Christian Graus8-Apr-08 2:20
protectorChristian Graus8-Apr-08 2:20 
GeneralAlignment in Grid View Pin
kimo code8-Apr-08 1:51
kimo code8-Apr-08 1:51 
GeneralRe: Alignment in Grid View Pin
Christian Graus8-Apr-08 2:06
protectorChristian Graus8-Apr-08 2:06 
GeneralRe: Alignment in Grid View Pin
kimo code8-Apr-08 2:32
kimo code8-Apr-08 2:32 
GeneralRe: Alignment in Grid View Pin
eyeseetee8-Apr-08 2:52
eyeseetee8-Apr-08 2:52 
GeneralRe: Alignment in Grid View Pin
Christian Graus8-Apr-08 11:12
protectorChristian Graus8-Apr-08 11:12 
GeneralRe: Alignment in Grid View Pin
Herman<T>.Instance8-Apr-08 4:33
Herman<T>.Instance8-Apr-08 4:33 
GeneralRe: Alignment in Grid View Pin
kimo code9-Apr-08 23:35
kimo code9-Apr-08 23:35 
GeneralSystem.OutOfMemoryException Pin
salmonraju8-Apr-08 1:47
salmonraju8-Apr-08 1:47 
GeneralRe: System.OutOfMemoryException Pin
Christian Graus8-Apr-08 2:06
protectorChristian Graus8-Apr-08 2:06 
GeneralRemoving Hard Coded Links Pin
Brady Kelly8-Apr-08 1:22
Brady Kelly8-Apr-08 1:22 
GeneralRe: Removing Hard Coded Links Pin
Christian Graus8-Apr-08 2:07
protectorChristian Graus8-Apr-08 2:07 
Generalre-ordering a set of numbers automatically Pin
eyeseetee8-Apr-08 0:20
eyeseetee8-Apr-08 0:20 
GeneralRe: re-ordering a set of numbers automatically Pin
Christian Graus8-Apr-08 0:24
protectorChristian Graus8-Apr-08 0:24 
GeneralRe: re-ordering a set of numbers automatically Pin
eyeseetee8-Apr-08 0:37
eyeseetee8-Apr-08 0:37 
GeneralRe: re-ordering a set of numbers automatically Pin
Christian Graus8-Apr-08 0:47
protectorChristian Graus8-Apr-08 0:47 

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.