Click here to Skip to main content
15,922,574 members
Home / Discussions / C#
   

C#

 
GeneralRe: Media Pin
sulabh20206-Aug-07 19:06
sulabh20206-Aug-07 19:06 
Questionincrementing the array and preserving the values after incrementation Pin
Sonia Gupta6-Aug-07 18:38
Sonia Gupta6-Aug-07 18:38 
AnswerRe: incrementing the array and preserving the values after incrementation Pin
Ravi Bhavnani6-Aug-07 18:57
professionalRavi Bhavnani6-Aug-07 18:57 
GeneralRe: incrementing the array and preserving the values after incrementation Pin
Sonia Gupta6-Aug-07 18:59
Sonia Gupta6-Aug-07 18:59 
AnswerRe: incrementing the array and preserving the values after incrementation Pin
Guffa6-Aug-07 19:02
Guffa6-Aug-07 19:02 
GeneralRe: incrementing the array and preserving the values after incrementation Pin
Sonia Gupta6-Aug-07 19:39
Sonia Gupta6-Aug-07 19:39 
GeneralRe: incrementing the array and preserving the values after incrementation Pin
Dave Doknjas7-Aug-07 13:41
Dave Doknjas7-Aug-07 13:41 
AnswerRe: incrementing the array and preserving the values after incrementation Pin
Guffa6-Aug-07 18:59
Guffa6-Aug-07 18:59 
GeneralRe: incrementing the array and preserving the values after incrementation Pin
Sonia Gupta6-Aug-07 19:00
Sonia Gupta6-Aug-07 19:00 
Questionhow to read the pen drive autorun file Pin
San@Coding6-Aug-07 16:35
San@Coding6-Aug-07 16:35 
QuestionReal helpful error message! NOT Pin
Mike Hankey6-Aug-07 16:19
mveMike Hankey6-Aug-07 16:19 
QuestionReferencing exe project Pin
MAW306-Aug-07 15:56
MAW306-Aug-07 15:56 
AnswerRe: Referencing exe project Pin
Luc Pattyn7-Aug-07 2:18
sitebuilderLuc Pattyn7-Aug-07 2:18 
GeneralRe: Referencing exe project Pin
MAW307-Aug-07 9:33
MAW307-Aug-07 9:33 
QuestionInterface blues Pin
seanwright6-Aug-07 15:28
seanwright6-Aug-07 15:28 
AnswerRe: Interface blues Pin
Guffa6-Aug-07 15:35
Guffa6-Aug-07 15:35 
QuestionCreate RGB Image Pin
iuri_figueiredo6-Aug-07 12:07
iuri_figueiredo6-Aug-07 12:07 
AnswerRe: Create RGB Image Pin
Luc Pattyn6-Aug-07 12:24
sitebuilderLuc Pattyn6-Aug-07 12:24 
GeneralRe: Create RGB Image Pin
iuri_figueiredo6-Aug-07 12:55
iuri_figueiredo6-Aug-07 12:55 
GeneralRe: Create RGB Image Pin
Luc Pattyn6-Aug-07 13:09
sitebuilderLuc Pattyn6-Aug-07 13:09 
GeneralRe: Create RGB Image Pin
Liam O'Hagan6-Aug-07 16:10
Liam O'Hagan6-Aug-07 16:10 
QuestionRe: Create RGB Image Pin
iuri_figueiredo7-Aug-07 7:22
iuri_figueiredo7-Aug-07 7:22 
QuestionUse FindControl Pin
pariisa6-Aug-07 11:36
pariisa6-Aug-07 11:36 
AnswerRe: Use FindControl Pin
Luc Pattyn6-Aug-07 11:49
sitebuilderLuc Pattyn6-Aug-07 11:49 
QuestionUse Findcontrol Pin
pariisa6-Aug-07 11:30
pariisa6-Aug-07 11:30 
hi,
help me...
in my Asp project, there is 80 RadioButton in the
Default.aspx page.
I want to set the All text of RadioButton from My DataBase.
I select a Data table from My DataBase with 80 rows.
But I don`t Want to set Text with this format :

RadioButton1.Text = dt.Rows[0][0];
RadioButton2.Text = dt.Rows[0][1];
.
.
.
RadioButton80 .Text = dt.Rows[0][0];

I want to Use this codes :

RadioButton rb;
for(int i=1 ; i < 81 ; i++)
{
rb = (RadioButton)this.FindControl("RadioButton" + i );
rb.Text= dt.Rows[0][i].ToString();
}
But there is error with Details : Object reference not set to an instance of an object.

why???
please help me to find correct way.

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.