Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
AnswerRe: Video display Pin
Christian Graus20-Oct-09 0:04
protectorChristian Graus20-Oct-09 0:04 
QuestionHow to insert data into a GridView from the textboxes Pin
Nopo19-Oct-09 20:55
Nopo19-Oct-09 20:55 
AnswerRe: How to insert data into a GridView from the textboxes Pin
Calla19-Oct-09 21:12
Calla19-Oct-09 21:12 
GeneralRe: How to insert data into a GridView from the textboxes Pin
Nopo19-Oct-09 21:23
Nopo19-Oct-09 21:23 
AnswerRe: How to insert data into a GridView from the textboxes Pin
nagendrathecoder19-Oct-09 21:26
nagendrathecoder19-Oct-09 21:26 
GeneralRe: How to insert data into a GridView from the textboxes Pin
Nopo19-Oct-09 21:30
Nopo19-Oct-09 21:30 
GeneralRe: How to insert data into a GridView from the textboxes Pin
nagendrathecoder19-Oct-09 21:38
nagendrathecoder19-Oct-09 21:38 
GeneralRe: How to insert data into a GridView from the textboxes Pin
Nopo19-Oct-09 21:42
Nopo19-Oct-09 21:42 
Here is my code:

Page_Load:
protected void Page_Load(object sender, EventArgs e)
{
DataTable dt = new DataTable();
this.dgInfoProfile.DataSource = dt;
dgInfoProfile.DataBind();

}



ADD button:
protected void brtAdd_Click(object sender, EventArgs e)
{
try
{
////DataTable dt = new DataTable();
DataRow dr = dt.NewRow();
dr["Full Names"] = txtFirstName3.Text;
dr["Identifying Number"] = txtIdentityNo.Text;
dr["Passport Number"] = txtPassportNo.Text;
dt.Rows.Add(dr);

////Bind GridView Here with this Table
this.dgInfoProfile.DataSource = dt;
dgInfoProfile.DataBind();

}
catch (Exception ex)
{
Response.Write(ex.Message);
}

}
GeneralRe: How to insert data into a GridView from the textboxes Pin
nagendrathecoder19-Oct-09 21:45
nagendrathecoder19-Oct-09 21:45 
AnswerRe: How to insert data into a GridView from the textboxes Pin
stancrm19-Oct-09 21:41
stancrm19-Oct-09 21:41 
GeneralRe: How to insert data into a GridView from the textboxes Pin
nagendrathecoder19-Oct-09 21:42
nagendrathecoder19-Oct-09 21:42 
GeneralRe: How to insert data into a GridView from the textboxes Pin
Nopo19-Oct-09 21:59
Nopo19-Oct-09 21:59 
GeneralRe: How to insert data into a GridView from the textboxes Pin
stancrm19-Oct-09 22:01
stancrm19-Oct-09 22:01 
GeneralRe: How to insert data into a GridView from the textboxes Pin
Nopo19-Oct-09 22:11
Nopo19-Oct-09 22:11 
GeneralRe: How to insert data into a GridView from the textboxes Pin
nagendrathecoder19-Oct-09 22:04
nagendrathecoder19-Oct-09 22:04 
AnswerRe: How to insert data into a GridView from the textboxes Pin
nagendrathecoder19-Oct-09 21:51
nagendrathecoder19-Oct-09 21:51 
GeneralRe: How to insert data into a GridView from the textboxes Pin
Nopo19-Oct-09 22:16
Nopo19-Oct-09 22:16 
QuestionSSIS Pin
Iain Wiseman19-Oct-09 20:37
Iain Wiseman19-Oct-09 20:37 
AnswerRe: SSIS Pin
J4amieC19-Oct-09 21:48
J4amieC19-Oct-09 21:48 
GeneralRe: SSIS Pin
Iain Wiseman19-Oct-09 22:15
Iain Wiseman19-Oct-09 22:15 
GeneralRe: SSIS Pin
J4amieC19-Oct-09 22:33
J4amieC19-Oct-09 22:33 
GeneralRe: SSIS Pin
Mycroft Holmes19-Oct-09 22:50
professionalMycroft Holmes19-Oct-09 22:50 
GeneralRe: SSIS Pin
Iain Wiseman20-Oct-09 0:14
Iain Wiseman20-Oct-09 0:14 
QuestionApplication Error help plz.... Pin
JollyMansArt19-Oct-09 19:50
JollyMansArt19-Oct-09 19:50 
AnswerRe: Application Error help plz.... Pin
JollyMansArt19-Oct-09 20:07
JollyMansArt19-Oct-09 20:07 

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.