Click here to Skip to main content
15,891,567 members
Home / Discussions / C#
   

C#

 
GeneralRe: "inhereting" a struct? Pin
Vodstok23-Oct-08 3:29
Vodstok23-Oct-08 3:29 
GeneralRe: "inhereting" a struct? Pin
DaveyM6923-Oct-08 4:04
professionalDaveyM6923-Oct-08 4:04 
AnswerRe: "inhereting" a struct? Pin
Guffa23-Oct-08 2:30
Guffa23-Oct-08 2:30 
AnswerRe: "inhereting" a struct? Pin
#realJSOP23-Oct-08 4:32
mve#realJSOP23-Oct-08 4:32 
GeneralRe: "inhereting" a struct? Pin
Vodstok23-Oct-08 4:43
Vodstok23-Oct-08 4:43 
QuestionRichTextBox RightClick [modified] Pin
V.23-Oct-08 2:10
professionalV.23-Oct-08 2:10 
AnswerRe: RichTextBox RightClick Pin
JoeSharp23-Oct-08 4:22
JoeSharp23-Oct-08 4:22 
QuestionUnbound RadioButtonList Selected Item Problem Pin
amit201123-Oct-08 1:59
amit201123-Oct-08 1:59 
i m using Visual studio 2005 with c#.here i am having a problem that i have a RadioButtonList which retrives data from sql datasource. it displays the Items correctly.Now when i try to display the SelectedItems on a label i get an error.kindly help me m stuck..m a student a really new to it.please help..thanx a lot...

DETAILS OF PROBLEM IS AS FOLLOWS:

the error i am getting on browser page is :-
"Server Error in '/Website_dtc' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
"

the RadiobuttonList is databound as follows-

"RadioButtonList1.DataSource = ds.Tables["temp1"];
RadioButtonList1.DataTextField = "buses";
RadioButtonList1.DataValueField = "buses";
RadioButtonList1.DataBind();
"

the RadiobuttonList Item is selected as:-

" protected void Button1_Click(object sender, EventArgs e)
{
lbltemp.Text = RadioButtonList1.SelectedItem.Text;


}
"

Winning isn't everything,its the ONLY thing.
QuestionHelp me in exception handaling Pin
Shantonu23-Oct-08 1:38
Shantonu23-Oct-08 1:38 
QuestionRe: Help me in exception handaling Pin
Eddy Vluggen23-Oct-08 2:02
professionalEddy Vluggen23-Oct-08 2:02 
AnswerRe: Help me in exception handaling Pin
josephbhaskar23-Oct-08 3:39
josephbhaskar23-Oct-08 3:39 
Questionsoundx coding Pin
Preeti197923-Oct-08 1:36
Preeti197923-Oct-08 1:36 
AnswerRe: soundx coding Pin
Eddy Vluggen23-Oct-08 1:42
professionalEddy Vluggen23-Oct-08 1:42 
QuestionWhy if i dont convert a integer to string the output will be coming? Pin
Samiullah23-Oct-08 0:43
Samiullah23-Oct-08 0:43 
AnswerRe: Why if i dont convert a integer to string the output will be coming? Pin
Simon P Stevens23-Oct-08 0:54
Simon P Stevens23-Oct-08 0:54 
GeneralRe: Why if i dont convert a integer to string the output will be coming? Pin
Samiullah23-Oct-08 1:56
Samiullah23-Oct-08 1:56 
GeneralRe: Why if i dont convert a integer to string the output will be coming? Pin
Guffa23-Oct-08 2:33
Guffa23-Oct-08 2:33 
GeneralRe: Why if i dont convert a integer to string the output will be coming? Pin
Simon P Stevens23-Oct-08 2:35
Simon P Stevens23-Oct-08 2:35 
GeneralRe: Why if i dont convert a integer to string the output will be coming? Pin
Dan Neely23-Oct-08 4:42
Dan Neely23-Oct-08 4:42 
QuestionTCPListener and SOAP Pin
Wilkov23-Oct-08 0:22
Wilkov23-Oct-08 0:22 
QuestionHow to draw combine shapes like Visio? Pin
Duong Tien Nam23-Oct-08 0:09
Duong Tien Nam23-Oct-08 0:09 
Question3 layers model documents Pin
hockymot2008_200923-Oct-08 0:01
hockymot2008_200923-Oct-08 0:01 
AnswerRe: 3 layers model documents Pin
AhsanS23-Oct-08 0:06
AhsanS23-Oct-08 0:06 
GeneralRe: 3 layers model documents Pin
ArghavanMostafa9-Jun-11 2:21
ArghavanMostafa9-Jun-11 2:21 
AnswerRe: 3 layers model documents Pin
Eddy Vluggen23-Oct-08 0:27
professionalEddy Vluggen23-Oct-08 0:27 

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.