473,320 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Insert new row in DataGrid (WebForm)

mg
Is there any example code that illustrate the DataGrid
insert operation?

I want to insert a new row into a DataGrid (WebForm/C#).
I'd like to press a button, enter the new column values
in some TextBoxs, press a second Button and have the new
row values appear in the DataGrid (and the underlying
database table).
Nov 18 '05 #1
4 1820
Hi,

Search here:
http://www.datagridgirl.com/articles.aspx

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"mg" <mg@theworld.com> wrote in message
news:06****************************@phx.gbl...
Is there any example code that illustrate the DataGrid
insert operation?

I want to insert a new row into a DataGrid (WebForm/C#).
I'd like to press a button, enter the new column values
in some TextBoxs, press a second Button and have the new
row values appear in the DataGrid (and the underlying
database table).

Nov 18 '05 #2
mg... working code at:

http://www.geocities.com/jeff_louie/net_insert.htm
Inserting a New Row

Regards,
Jeff
Is there any example code that illustrate the DataGrid

insert operation?<
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3
mg
Thank you!
-----Original Message-----
Hi,

Search here:
http://www.datagridgirl.com/articles.aspx

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"mg" <mg@theworld.com> wrote in message
news:06****************************@phx.gbl...
Is there any example code that illustrate the DataGrid
insert operation?

I want to insert a new row into a DataGrid (WebForm/C#). I'd like to press a button, enter the new column values
in some TextBoxs, press a second Button and have the new row values appear in the DataGrid (and the underlying
database table).

.

Nov 18 '05 #4
mg
Thank you!
-----Original Message-----
mg... working code at:

http://www.geocities.com/jeff_louie/net_insert.htm
Inserting a New Row

Regards,
Jeff
Is there any example code that illustrate the DataGridinsert operation?<
*** Sent via Developersdex http://www.developersdex.com

***Don't just participate in USENET...get rewarded for it!
.

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: geek | last post by:
Hi all, I have a datagrid I want to store the data in the datagrid to a dataset. Can anybody please tell me how to do this. TIA.
4
by: Angel | last post by:
How can I update the datatable with the datagrid values after the datagrid itself has been modified.? I assume it's not automatically done. Thanks.
2
by: Chris | last post by:
Hi, I use a datagrid in a webform but the grid is never visible in the browser (only at design-time is it visible). Using it in a Winform : no problem. How come ? Thnx
2
by: Daniel Walzenbach | last post by:
Hi, I created an ASP.NET Datagrid where a single row can be selected by clicking anywhere on the row (according to...
6
by: Sean | last post by:
HI There, I am making the transition from asp to asp .net, I am currenty writing an application that requires a bulk insert from a webform into SQL server, normally I would just create rows of...
4
by: Rod | last post by:
I posted a message to this group yesterday asking how to pass parameters to a web form that is the source of an IFrame on a parent web form. I've gotten my answer, and it works. Thanks! Now I...
1
by: Willem | last post by:
Hi, I'm using a datagrid on a webform with 4 visible and 1 invisible columns. When clicking a button I want to make the invisible column visible. I use the code DataGrid1.Columns(4).Visible =...
5
by: I'm Home | last post by:
I've read a lot of suggestions including the "javascript:printWindow()" command ... what I want ... the entire datagrid in printed form using my css style. What I get the page displayed on my...
0
by: herman404 | last post by:
Hi everyone, I'm trying to dynamically add 3 button columns to a DataGrid object that I have on an ASP.net webpage, but I don't see any documentation on how to do it. I've seen plenty of examples...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.