Click here to Skip to main content
15,885,128 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Logout Problem in forms authentication Pin
kumar_k50813-Mar-09 0:07
kumar_k50813-Mar-09 0:07 
AnswerRe: Logout Problem in forms authentication Pin
rakeshs31213-Mar-09 0:01
rakeshs31213-Mar-09 0:01 
GeneralRe: Logout Problem in forms authentication Pin
SreejithAchutan13-Mar-09 0:11
SreejithAchutan13-Mar-09 0:11 
GeneralRe: Logout Problem in forms authentication Pin
SreejithAchutan13-Mar-09 0:28
SreejithAchutan13-Mar-09 0:28 
GeneralRe: Logout Problem in forms authentication Pin
SreejithAchutan13-Mar-09 0:28
SreejithAchutan13-Mar-09 0:28 
Questionexport image from sql 2005 to excel Pin
tw-de12-Mar-09 22:32
tw-de12-Mar-09 22:32 
AnswerRe: export image from sql 2005 to excel Pin
Christian Graus12-Mar-09 22:42
protectorChristian Graus12-Mar-09 22:42 
QuestionHelp with a Logic Pin
Vimalsoft(Pty) Ltd12-Mar-09 20:45
professionalVimalsoft(Pty) Ltd12-Mar-09 20:45 
I have the Following code that runs inside loops

if (txt != array[p].ToString())
                           {
                               /*The I is representing the Rows and the J is representing the Cells
                                */
                               //These are the Cells that are Supposed to be disabled
                               cycleGrid.Rows[i].Cells[j].Style.BorderColor = System.Drawing.Color.DarkGray;
                               cycleGrid.Rows[i].Cells[j].Style.ForeColor = System.Drawing.Color.DarkGray;
                               cycleGrid.Rows[i].Cells[j].Style.Cursor = Infragistics.WebUI.Shared.Cursors.Wait;

                           }
                           else
                           {
                               cycleGrid.Rows[i].Cells[j].Style.ForeColor = System.Drawing.Color.Black;
                               cycleGrid.Rows[i].Cells[j].Style.Cursor = Infragistics.WebUI.Shared.Cursors.Auto;
                               cycleGrid.Rows[i].Cells[j].Style.Font.Bold = true;

                           }


Now as you can see am disabling cells by turing the color to be gray and by making sure that its not selectable. Now this will work perfectly if the array has a single value in the Array, but when the Value is like this

1 2 3 4 5 6 7 8 9 10 11 12 13 14 17 18 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


i need to Disable the values that does not appear in the array like the above example 15,16,19 will be missing from the list, so in the grid they should be gray and the other should be bold and black. Mybe there is something wrong here , because it only make the 35 im the list and it made it bold and it made others bold to but they are grey but bold. like this

http://www.vbforums.com/attachment.php?attachmentid=69654&stc=1&d=1236926456[^]

Thank you

Vuyiswa Maseko,

Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za

AnswerRe: Help with a Logic Pin
Christian Graus12-Mar-09 22:31
protectorChristian Graus12-Mar-09 22:31 
GeneralRe: Help with a Logic Pin
Vimalsoft(Pty) Ltd12-Mar-09 22:36
professionalVimalsoft(Pty) Ltd12-Mar-09 22:36 
GeneralRe: Help with a Logic Pin
Christian Graus12-Mar-09 22:43
protectorChristian Graus12-Mar-09 22:43 
GeneralRe: Help with a Logic Pin
Vimalsoft(Pty) Ltd15-Mar-09 20:50
professionalVimalsoft(Pty) Ltd15-Mar-09 20:50 
QuestionWeb Service 400 Error Pin
Expert Coming12-Mar-09 20:30
Expert Coming12-Mar-09 20:30 
AnswerRe: Web Service 400 Error Pin
Abhijit Jana12-Mar-09 20:43
professionalAbhijit Jana12-Mar-09 20:43 
GeneralRe: Web Service 400 Error Pin
Expert Coming13-Mar-09 14:15
Expert Coming13-Mar-09 14:15 
GeneralRe: Web Service 400 Error Pin
Expert Coming13-Mar-09 14:31
Expert Coming13-Mar-09 14:31 
QuestionDatagrid problem Pin
rakeshs31212-Mar-09 19:23
rakeshs31212-Mar-09 19:23 
AnswerRe: Datagrid problem Pin
Abhijit Jana12-Mar-09 19:33
professionalAbhijit Jana12-Mar-09 19:33 
GeneralRe: Datagrid problem Pin
rakeshs31212-Mar-09 21:35
rakeshs31212-Mar-09 21:35 
AnswerRe: Datagrid problem Pin
kumar_k50812-Mar-09 19:42
kumar_k50812-Mar-09 19:42 
GeneralRe: Datagrid problem Pin
rakeshs31212-Mar-09 21:34
rakeshs31212-Mar-09 21:34 
Questioncan i use a class created by xsd. Pin
prasadbuddhika12-Mar-09 19:20
prasadbuddhika12-Mar-09 19:20 
AnswerRe: can i use a class created by xsd. Pin
Christian Graus12-Mar-09 22:32
protectorChristian Graus12-Mar-09 22:32 
GeneralRe: can i use a class created by xsd. Pin
prasadbuddhika13-Mar-09 0:19
prasadbuddhika13-Mar-09 0:19 
GeneralRe: can i use a class created by xsd. Pin
prasadbuddhika13-Mar-09 1:09
prasadbuddhika13-Mar-09 1:09 

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.