Click here to Skip to main content
15,894,405 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionreportviewer in web Pin
Thanusree Duth2-Aug-10 22:31
Thanusree Duth2-Aug-10 22:31 
AnswerRe: reportviewer in web Pin
R. Giskard Reventlov2-Aug-10 22:36
R. Giskard Reventlov2-Aug-10 22:36 
AnswerRe: reportviewer in web Pin
Prosanta Kundu online4-Aug-10 0:36
Prosanta Kundu online4-Aug-10 0:36 
Questionasp.net accross different domains. Pin
AndieDu2-Aug-10 22:28
AndieDu2-Aug-10 22:28 
AnswerRe: asp.net accross different domains. Pin
T M Gray3-Aug-10 5:29
T M Gray3-Aug-10 5:29 
AnswerRe: asp.net accross different domains. Pin
daveyerwin3-Aug-10 6:08
daveyerwin3-Aug-10 6:08 
GeneralRe: asp.net accross different domains. Pin
T M Gray3-Aug-10 9:04
T M Gray3-Aug-10 9:04 
QuestionLinq-to-sql Asp.Net Pin
Morgs Morgan2-Aug-10 22:06
Morgs Morgan2-Aug-10 22:06 
Hi guys,
Am using linq-to sql to read from the database which returns a LIST<>,
but i wana create a html Table on runtime and fill this table with data that is in the LIST<>
i have tried this:
List<campaign> search = new List<campaign>();
search = dbh.GetSearchCampaign();

//create a new table and insert search results..
Table csr = new Table();
csr.ID = "ctb";
TableRow tr;// = new TableRow();
//tr.ID = "ctr";
//tr.Style.Value = "cursor:pointer;";
                        
TableCell td = new TableCell();
//td.ID = "ctd";
//format the table
csr.CellPadding = 0;
csr.CellSpacing = 0;
//csr.Width = 578;
csr.Style.Value = "width: 578px; font-family: 'Adobe Caslon Pro'; font-size: 15px; padding-left: 10px; text-align: left;";
tr = new TableRow();
td = new TableCell();
for (int i = 0; i < search.Count; i++)
{
  td.Text = search[i];
}

But this only adds one row which is the last row in the
LIST<>...it's not appending all the rows that are in the
LIST<>

Does anyone know how i can write all the elements in this LIST<>
to an html Table?
Please help me. D'Oh! | :doh:
AnswerRe: Linq-to-sql Asp.Net Pin
R. Giskard Reventlov2-Aug-10 22:41
R. Giskard Reventlov2-Aug-10 22:41 
AnswerRe: Linq-to-sql Asp.Net Pin
Arun Jacob2-Aug-10 22:41
Arun Jacob2-Aug-10 22:41 
GeneralRe: Linq-to-sql Asp.Net Pin
brunoseixas5-Aug-10 9:36
brunoseixas5-Aug-10 9:36 
QuestionGet styles from StyleSheet .css Pin
vishnukamath2-Aug-10 21:26
vishnukamath2-Aug-10 21:26 
QuestionRestarting Session,. Pin
Hema Bairavan2-Aug-10 18:27
Hema Bairavan2-Aug-10 18:27 
AnswerRe: Restarting Session,. Pin
Herman<T>.Instance3-Aug-10 0:22
Herman<T>.Instance3-Aug-10 0:22 
GeneralRe: Restarting Session,. Pin
Hema Bairavan3-Aug-10 1:50
Hema Bairavan3-Aug-10 1:50 
AnswerRe: Restarting Session,. Pin
T M Gray3-Aug-10 5:16
T M Gray3-Aug-10 5:16 
GeneralRe: Restarting Session,. Pin
Hema Bairavan3-Aug-10 6:40
Hema Bairavan3-Aug-10 6:40 
AnswerRe: Restarting Session,. Pin
Rajendra Prasad Panchati18-Aug-10 1:39
Rajendra Prasad Panchati18-Aug-10 1:39 
Questiondiplaying problem in repeaters [modified] Pin
Dhyanga2-Aug-10 9:02
Dhyanga2-Aug-10 9:02 
AnswerRe: diplaying problem in repeaters Pin
T M Gray2-Aug-10 10:46
T M Gray2-Aug-10 10:46 
GeneralRe: diplaying problem in repeaters Pin
Dhyanga3-Aug-10 2:56
Dhyanga3-Aug-10 2:56 
GeneralRe: diplaying problem in repeaters Pin
T M Gray3-Aug-10 5:07
T M Gray3-Aug-10 5:07 
GeneralRe: diplaying problem in repeaters Pin
Dhyanga3-Aug-10 5:39
Dhyanga3-Aug-10 5:39 
GeneralRe: diplaying problem in repeaters Pin
T M Gray3-Aug-10 6:07
T M Gray3-Aug-10 6:07 
GeneralRe: diplaying problem in repeaters Pin
Dhyanga3-Aug-10 7:03
Dhyanga3-Aug-10 7:03 

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.