PC Review


Reply
Thread Tools Rate Thread

binding data to a radiobuttonlist within an ItemTemplate

 
 
ani
Guest
Posts: n/a
 
      30th Oct 2003
Hi,


I have a datalist control and within the Itemplate I
have a radiobuttonlist control . I am binding data to the
datalist control in Page_load . Also I have sqldatareader
object that needs to be binded to the radiobutton list. I
am not able to bind the datareader to the radiobuttonlist
control as it is within the Itemtemplate. I am new
to .Net. Could someone please let me know what I should be
doing to bind the data to the radiobuttonlist within the
Itemtemplate.
When I try binding it, I get the following error:

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

Thanks..

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
radiobuttonlist in DataList.ItemTemplate na Microsoft ASP .NET 0 5th Dec 2006 11:04 PM
FormView - RadioButtonList binding =?Utf-8?B?VGlt?= Microsoft ASP .NET 2 28th Apr 2006 05:17 PM
itemtemplate radiobuttonlist in a datagrid =?Utf-8?B?a2tyZXM=?= Microsoft Dot NET Framework 0 24th Jan 2005 05:41 PM
Data Binding a Bit Column to RadioButtonList Michael Microsoft ASP .NET 1 2nd Jan 2004 07:15 PM
Binding RadioButtonList ... Ivan Demkovitch Microsoft ASP .NET 2 19th Aug 2003 03:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:52 AM.