Hello,
 
I am filling a dataset from a dataset from a table in a database, When I get to 
see the dataset displayed, I see the results separated by huge spaces int he 
page. as if the page size is fixed and what is not filled with results is 
filled with spaces..I am using paging also..
 
Thank you for your help. Please find below the source code:
 

//DataBind the DataList

MyDataList.DataSource = ds.Tables["VM_PROPERTY"].DefaultView;

MyDataList.DataBind(); 

MyDataList.DataSource = ds;

MyDataList.DataBind();



//count the number of rows if the result search

string strSql1= "SELECT ..............;

ds1 =SqlHelper.ExecuteDataset(strConn, CommandType.Text, strSql1);



//get the number of results in the dataList

foreach(DataTable rowCount in ds1.Tables)

{

counter= rowCount.Rows.Count.ToString();

}

Imane

                
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to