Click here to Skip to main content
15,897,891 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: repeater with multiple rows Pin
praveen.c@byzan.com8-Oct-09 0:25
praveen.c@byzan.com8-Oct-09 0:25 
QuestionConverting Asp.net application to run trust level medium ? Pin
rahul.net117-Oct-09 23:00
rahul.net117-Oct-09 23:00 
AnswerRe: Converting Asp.net application to run trust level medium ? Pin
Christian Graus7-Oct-09 23:10
protectorChristian Graus7-Oct-09 23:10 
GeneralRe: Converting Asp.net application to run trust level medium ? Pin
rahul.net117-Oct-09 23:26
rahul.net117-Oct-09 23:26 
GeneralRe: Converting Asp.net application to run trust level medium ? Pin
Christian Graus8-Oct-09 1:11
protectorChristian Graus8-Oct-09 1:11 
QuestionGrid To Excel Pin
4anusha47-Oct-09 20:57
4anusha47-Oct-09 20:57 
AnswerRe: Grid To Excel Pin
Christian Graus7-Oct-09 22:26
protectorChristian Graus7-Oct-09 22:26 
GeneralRe: Grid To Excel Pin
4anusha47-Oct-09 22:30
4anusha47-Oct-09 22:30 
not shown at all an empty row is being displayed


i used the code like this to add a row to grid

DataTable dt1 = dv1.ToTable(true, "nDepartmentID", "sDepartmentName");
int i = 2;
// Session["i"] = ds.Tables[0].DefaultView;
for (int m = 0; m <= dt1.Rows.Count - 1; m++)// foreach (DataRow dr in dt1.Rows)
{
DataTable dt = dv1.ToTable("dt", false);

object objCount = dt.Compute("count(nDepartmentID)", "nDepartmentID in (" + int.Parse(dt1.Rows[m]["nDepartmentID"].ToString()) + ")");
if (dt.Rows.Count > 0)
{
GridViewRow gvRow = new GridViewRow(i, 0, DataControlRowType.DataRow, DataControlRowState.Insert);
TableCell tblCell = new TableCell();
//Add Summary Row
tblCell.Text = dt1.Rows[m]["sDepartmentName"].ToString();
tblCell.ColumnSpan = 6;
tblCell.BorderWidth = 2;
tblCell.HorizontalAlign = HorizontalAlign.Left;
tblCell.ForeColor = System.Drawing.Color.Red;
tblCell.Font.Bold = true;
tblCell.Font.Size = 12;
gvRow.Cells.Add(tblCell);
gridView.Controls[0].Controls.AddAt(i, gvRow);
i = i + int.Parse(objCount.ToString()) + 1;
}
}
AnswerRe: Grid To Excel Pin
Sujit Mandal11-Oct-09 23:17
Sujit Mandal11-Oct-09 23:17 
QuestionTableInsideTableRow [modified] Pin
Yonathan11117-Oct-09 20:51
professionalYonathan11117-Oct-09 20:51 
AnswerRe: TableInsideTableRow Pin
Abhijit Jana7-Oct-09 22:55
professionalAbhijit Jana7-Oct-09 22:55 
AnswerRe: TableInsideTableRow Pin
Sujit Mandal11-Oct-09 23:19
Sujit Mandal11-Oct-09 23:19 
GeneralRe: TableInsideTableRow Pin
Yonathan111112-Oct-09 1:28
professionalYonathan111112-Oct-09 1:28 
QuestionImplementing logout functionality for web application Pin
Vishnu Nath7-Oct-09 19:49
Vishnu Nath7-Oct-09 19:49 
AnswerRe: Implementing logout functionality for web application Pin
janani137-Oct-09 20:00
janani137-Oct-09 20:00 
GeneralRe: Implementing logout functionality for web application Pin
Vishnu Nath7-Oct-09 20:28
Vishnu Nath7-Oct-09 20:28 
GeneralRe: Implementing logout functionality for web application Pin
Christian Graus7-Oct-09 20:32
protectorChristian Graus7-Oct-09 20:32 
GeneralRe: Implementing logout functionality for web application Pin
janani137-Oct-09 20:43
janani137-Oct-09 20:43 
GeneralRe: Implementing logout functionality for web application Pin
Abhijit Jana7-Oct-09 20:59
professionalAbhijit Jana7-Oct-09 20:59 
GeneralRe: Implementing logout functionality for web application Pin
Vishnu Nath7-Oct-09 22:39
Vishnu Nath7-Oct-09 22:39 
GeneralRe: Implementing logout functionality for web application Pin
Abhijit Jana7-Oct-09 22:50
professionalAbhijit Jana7-Oct-09 22:50 
GeneralRe: Implementing logout functionality for web application Pin
Christian Graus7-Oct-09 23:11
protectorChristian Graus7-Oct-09 23:11 
GeneralRe: Implementing logout functionality for web application Pin
Vishnu Nath7-Oct-09 23:20
Vishnu Nath7-Oct-09 23:20 
GeneralRe: Implementing logout functionality for web application Pin
Anuj Banka8-Oct-09 2:14
Anuj Banka8-Oct-09 2:14 
GeneralRe: Implementing logout functionality for web application Pin
Vishnu Nath8-Oct-09 7:20
Vishnu Nath8-Oct-09 7:20 

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.