Click here to Skip to main content
15,900,461 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionconverting Pin
ptvce11-May-06 6:15
ptvce11-May-06 6:15 
AnswerRe: converting Pin
minhpc_bk11-May-06 19:44
minhpc_bk11-May-06 19:44 
QuestionProblem related to dropdown list. Pin
123xyztt11-May-06 5:00
123xyztt11-May-06 5:00 
AnswerRe: Problem related to dropdown list. Pin
minhpc_bk11-May-06 19:52
minhpc_bk11-May-06 19:52 
QuestionImage not showing on Hosting site Pin
Ista11-May-06 4:12
Ista11-May-06 4:12 
AnswerRe: Image not showing on Hosting site Pin
KrIstOfK11-May-06 4:22
KrIstOfK11-May-06 4:22 
GeneralRe: Image not showing on Hosting site Pin
Ista11-May-06 4:54
Ista11-May-06 4:54 
QuestionDataList not showing Pin
kbalias11-May-06 2:25
kbalias11-May-06 2:25 
Hi
I am using Visual Studio with C# to develope a Web Application. I am using a DataList and binds it to a DataTable. When I run the application and the relevant page loads, the DataList is not displayed. I am using the following code:

private void Page_Load(object sender, System.EventArgs e)
{
	string tableName = "Categories";
	DataSet ds = categoriesDB.LoadCategories(tableName);

	DataList_Categories.DataSource = ds.Tables[tableName];
	DataList_Categories.DataBind();
}

The DataSet is holding data because when I bind it to a DataGrid on the same page to test it, the DataGrid displays the data correctly. What am I doing incorrectly or incompletely?

Thanks


Kobus


-- modified at 8:59 Thursday 11th May, 2006
AnswerRe: DataList not showing Pin
minhpc_bk11-May-06 19:55
minhpc_bk11-May-06 19:55 
GeneralRe: DataList not showing Pin
kbalias14-May-06 19:34
kbalias14-May-06 19:34 
QuestionError for opration = Pin
ptvce11-May-06 1:52
ptvce11-May-06 1:52 
AnswerRe: Error for opration = Pin
Kanjinghat11-May-06 2:38
Kanjinghat11-May-06 2:38 
GeneralRe: Error for opration = Pin
Guffa11-May-06 9:23
Guffa11-May-06 9:23 
AnswerRe: Error for opration = Pin
Colin Angus Mackay11-May-06 10:30
Colin Angus Mackay11-May-06 10:30 
QuestionHow to Get the IP of a computer on the network? Pin
Assaf8211-May-06 1:23
Assaf8211-May-06 1:23 
AnswerRe: How to Get the IP of a computer on the network? Pin
minhpc_bk11-May-06 20:04
minhpc_bk11-May-06 20:04 
Questiontransfer data from excel file to sql server programatically Pin
amit__811-May-06 0:55
amit__811-May-06 0:55 
AnswerRe: transfer data from excel file to sql server programatically Pin
chinnasrihari11-May-06 3:16
chinnasrihari11-May-06 3:16 
GeneralRe: transfer data from excel file to sql server programatically Pin
amit__811-May-06 18:04
amit__811-May-06 18:04 
GeneralBanner management Pin
Anish M11-May-06 0:42
Anish M11-May-06 0:42 
QuestioniHow can i use macromedia projects in asp.net. Pin
TechnoGrey11-May-06 0:36
TechnoGrey11-May-06 0:36 
AnswerRe: iHow can i use macromedia projects in asp.net. Pin
Paddy Boyd11-May-06 3:58
Paddy Boyd11-May-06 3:58 
Questiontransfer data from excel file into sql server table Pin
amit__811-May-06 0:29
amit__811-May-06 0:29 
AnswerRe: transfer data from excel file into sql server table Pin
TechnoGrey11-May-06 0:44
TechnoGrey11-May-06 0:44 
GeneralRe: transfer data from excel file into sql server table Pin
amit__811-May-06 1:42
amit__811-May-06 1:42 

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.