Click here to Skip to main content
15,913,339 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionActiveX Control Security-Warning prompt messages Pin
alisolution20-May-09 20:47
alisolution20-May-09 20:47 
AnswerRe: ActiveX Control Security-Warning prompt messages Pin
Ramesh Swaminathan20-May-09 22:12
Ramesh Swaminathan20-May-09 22:12 
QuestionHow to create buttons dynamically with events Pin
antony beula20-May-09 20:33
antony beula20-May-09 20:33 
Answer[Message Deleted] Pin
padmanabhan N20-May-09 20:37
padmanabhan N20-May-09 20:37 
GeneralRe: How to create buttons dynamically with events Pin
antony beula20-May-09 20:51
antony beula20-May-09 20:51 
AnswerRe: How to create buttons dynamically with events Pin
padmanabhan N20-May-09 20:53
padmanabhan N20-May-09 20:53 
QuestionAdd multiple rows to a gridview Pin
manchu_200920-May-09 20:19
manchu_200920-May-09 20:19 
AnswerRe: Add multiple rows to a gridview Pin
padmanabhan N20-May-09 20:25
padmanabhan N20-May-09 20:25 
public void EmptyGrid()
{
DataTable TempTable = new DataTable();
TempTable.Columns.Add("sino");
TempTable.Columns.Add("name");
TempTable.Columns.Add("gender");
TempTable.Columns.Add("qualification");
TempTable.PrimaryKey = new DataColumn[] { TempTable.Columns["sino"] };
TempTable = BindEmptyRows(3, TempTable);
GridView1.DataSource = TempTable;
GridView1.DataBind();
}

//Method to Bind Rows

private DataTable BindEmptyRows(int nofoRows, DataTable dt)
{
for (int i = 0; i < nofoRows; i++)
{
DataRow dr = dt.NewRow();
dr["sino"] = dt.Rows.Count + 1;
dr["name"] = string.Empty;
dr["gender"] = "0";
dr["qualification"] = "0";
dt.Rows.Add(dr);
}
return dt;
}


//refer :Temporary Values in Grid[^]">

Padmanabhan

GeneralRe: Add multiple rows to a gridview Pin
manchu_200920-May-09 22:02
manchu_200920-May-09 22:02 
GeneralRe: Add multiple rows to a gridview Pin
manchu_200920-May-09 22:36
manchu_200920-May-09 22:36 
GeneralRe: Add multiple rows to a gridview Pin
padmanabhan N20-May-09 22:40
padmanabhan N20-May-09 22:40 
Questionwindow.open Pin
kanadoss20-May-09 20:03
kanadoss20-May-09 20:03 
AnswerRe: window.open Pin
Ramesh Swaminathan20-May-09 20:12
Ramesh Swaminathan20-May-09 20:12 
GeneralRe: window.open Pin
kanadoss20-May-09 20:46
kanadoss20-May-09 20:46 
GeneralRe: window.open Pin
wenweiping21-May-09 15:45
wenweiping21-May-09 15:45 
QuestionHow to get the datakeys of GridView in second page? Pin
meeram39520-May-09 19:22
meeram39520-May-09 19:22 
AnswerRe: How to get the datakeys of GridView in second page? Pin
padmanabhan N20-May-09 19:40
padmanabhan N20-May-09 19:40 
GeneralRe: How to get the datakeys of GridView in second page? Pin
meeram39520-May-09 20:30
meeram39520-May-09 20:30 
GeneralRe: How to get the datakeys of GridView in second page? Pin
padmanabhan N20-May-09 21:00
padmanabhan N20-May-09 21:00 
GeneralRe: How to get the datakeys of GridView in second page? Pin
meeram39520-May-09 23:13
meeram39520-May-09 23:13 
AnswerRe: How to get the datakeys of GridView in second page? Pin
Ramesh Swaminathan20-May-09 19:53
Ramesh Swaminathan20-May-09 19:53 
QuestionRange values in Crystal Report Pin
Girish48120-May-09 19:21
Girish48120-May-09 19:21 
AnswerRe: Range values in Crystal Report Pin
Ramesh Swaminathan20-May-09 19:36
Ramesh Swaminathan20-May-09 19:36 
GeneralRe: Range values in Crystal Report Pin
Girish48120-May-09 20:01
Girish48120-May-09 20:01 
QuestionMessagebox and alerts Pin
jainiraj20-May-09 18:44
jainiraj20-May-09 18:44 

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.