GridView data table and MS Access table. Some time I like MS Access...

Hi:

I want all the rows and coloums data showing in the GridView can be editable, just like the MS Access table on the form, you can modify and update any cell and it will be saved if your mouse leave that cell (or you click "Save" button).

The reason I ask is: everyday I have about hundrands of data need to be set the date(Today's date), to be set the status (on/off), and input Receipt Num, if I using Gridview's "Edit" "Update" feature, I find there are still two many clicks, and also the selected rows changing the size and position.... (well, that is the design problem).

Is there any control in Asp.net which has same behavior as the Ms Access table: you have one "Edit" button, if clicked, all the data are editable, if you click "Save" button, all data saved back in db, and the table on the form are changed back to unEditable mode, also, you can copy one row of date from Excel and paste to the table row....

 Thank you very much.

 jt

 

0
jamest85
10/12/2007 7:42:07 AM
asp.net.presentation-controls 72751 articles. 3 followers. Follow

2 Replies
948 Views

Similar Articles

[PageSpeed] 5

Try reading through the "Learn" section at http://asp.net/learn which includes simple videos and tutorials such as this one:

http://asp.net/learn/data-access/tutorial-64-vb.aspx 


Website Design Darlington - http://mdssolutions.co.uk
http://lessthandot.com - Experts, Information, Ideas & Knowledge
http://aspnetlibrary.com - An online resource for professional ASP.NET developers


Please remember to click "Mark as Answer" on this post if it helped you

0
ca8msm
10/12/2007 10:49:21 AM

Hi: Camsm

Thanks for your info, that is exactly what I want.

Jt 

0
jamest85
10/14/2007 3:10:35 AM
Reply:

Similar Artilces:

update Sybase table with MS Access table
We would like to update the route and block fields in the Sybase TableA with route and block fields in MS Access TableB based on the following conditions: update tableA set TableA.block = TableB.block, TableA.route = TableB.route where format(timeOnly(TableA.ts)) between TableB.tmMin and TableB.tmMax and TableA.ts between '2005-02-02 04:00:00.000' and '2005-02-03 03:59:00.000' Can we update a Sybase table directly from MS Access table? We can export Sybase TableA to MS Access database then try to update. But this would take more steps. Thanks for any suggest...

Update Sybase table with MS Access table #2
We would like to update the route and block fields in the Sybase TableA with route and block fields in MS Access TableB based on the following conditions: update tableA set TableA.block = TableB.block, TableA.route = TableB.route where format(timeOnly(TableA.ts)) between TableB.tmMin and TableB.tmMax and TableA.ts between '2005-02-02 04:00:00.000' and '2005-02-03 03:59:00.000' Can we update a Sybase table directly from MS Access table? We can export Sybase TableA to MS Access database then try to update. But this would take more steps. Thanks for any suggest...

MS access to MS access problem
I always used MS Access Database In my programs, now I want to use SQL SERVER database and so I started to design one. but it’s a little bit confusing ,I don’t know what can I use in change of these access Data type : MS access // MS access -------------- -------------------- Memo >>>>>>>> ?? AutoNumber >>>>> ?? * and if you think there is some difference between Ms access and SQL in D...

Migrating Data from one Access Database table to a different Access Datbase / Table
A little background Company has a database that must have new records added to it weekly.  The new data is provided via an access database.  The old data is in a another access database.  What I want to do is have them upload the new access database to the ASP (not .net) server and then copy the new records over to the old data to bring it up to date.  At this point they can upload the new database. But I am having a hard time getting that info into the old database.   This is what I have so far,  but I get the following error Microsoft JET Database Engine...

accessing MS Access from .net
hi I am accessing ms access data base which has a table called customers. when i try to insert data into the table i am gettign the error like "Operation must use an updatable query" and the line its showing is myOleDbcommand.ExecuteNonQuery() here is my code in page lode event Sub Page_Load(Sender As Object, E As EventArgs) Dim StrConnectString as String Dim strStatement as String strConnectSTring = "Provider=Microsoft.Jet.OLEDB.4.0;Password='';User ID=Admin;Data Source=C:\Inetpub\wwwroot\Srinu\WebApplication2\...

MS Access tables
I have MS Access tables that I would like to display as a datagrid...I have no problems displaying the tables but when I select the Fields property of any of the Access tabels to view the Collection there are no columns or fields listed in the collection dialogue box. Is anyone out there using MS Access as their backend database? I am very new to this and can really use some help here. Thanks. Aaron-Shiner...

Finding data in 2 tables from a MS Access database
Hello, I have a database that contain 2 tables . first table is 1st and contain :UserID , First Name , Last Name ....and the second one is 2nd and contain : UserID , Age , Location ,  Comment.I want to add 2 search box , when a user type the UserID and the First Name , then the visitor view the UserID First Name Last Name Age Location & Comment in FormViewplease send  me a full code for that. Best regards,Shad  SELECT table1.UserID, table1.FirstName, table1.LastName, table2.Location, table2.Comment FROM table1 INNER JOIN table2 ON table1.UserId = table2.UserId...

Inserting into multiple tables at once with ADO.NET and MS ACCESS
Hi, I'm coming from a SQL Server 2005 express background with ADO.NET to working with MS ACCESS which is what my employer is using.Lets say I have 2 tables: A Parent Table called Authors:  with columns AuthorID(Primary key), AuthorFirstName,AuthorLastName A Child Table called Books: with columns BookID(Primar key),BookTitle,AuthorID(Foreign key) Those tables are linked together in a one-to-many relationship. Now I have a windows forms that lets the user insert a new author and any new books he wants to insert.  If this was a Sql server database, I could use eith...

Put selected data items into ms access table
'ShoppingCart function If Session("ShoppingCart") Is Nothing Then Cart = New DataTable() Cart.Columns.Add(new DataColumn("Omschrijving", GetType(string))) Cart.Columns.Add(new DataColumn("Prijs", GetType(string))) Session("ShoppingCart") = Cart Else Cart = Session("ShoppingCart") End If CartView = New DataView(Cart) ShoppingCart.DataSource = CartView ShoppingCart.DataBind Dim dr As DataRow = Cart.NewRow() So, you see this is a dynamic datatable that can filled by an user. But how to put (wit...

Users unable to delete records when accessing SQL 2005 tables via MS Access 2007
The background: we have a number of databases in SQL 2005, which our primary users access via MS Access 2007. For some reason, in some (but not all) newer tables in these databases, our users are unable to modify or delete records, even though the users have all the permissions they should need to do so. In one case, the user will get a message that someone else is accessing the same data at the time, even though nobody is. Another user gets no error message, her machine just beeps at her and does nothing. We're completely stuck - does anyone have any ideas as to what might be causi...

accessing linked Access table from .net
We have an access database with a linked table to MYOB through ODBC. The MYOB table appears in access with a green dot indicating it's a linked table. In Access it all works fine. When we try to get at it through .net, it brings up DB_SEC_E_AUTH_FAILED(0x80040E4D) which as far as I can see indicates authentication failed. Any idea what is required to be able to use it from.Net? You might try this stepp0, put in admin for the username and leave the password blank (unless you specified other) Source=C:\Inetpub\wwwroot\Components\Databases\Db.m...

Accessing Data via MS Access
Hi Really stupid Question :( Ive created an database with MS Access... but for the life of me I can not remember how to connect to the database - AT ALL(by using code)If I remember correctly I need to import the system.data.oledb .... but I can not remember how to use the imports statement and where to put it ect..... I havent used VS.net 2005 in quite some time.... Please could someone assist.... Then my next question is - Once ive connected to the database..... how to I COUNT the number of "Clients" i have in my Clients table...... Do I use the select query eg. ...

Need Help--Removing Redundant Data in Table Join (MS Access)
 Hi can you guys help  me in removing redundant data in joining multiple tables. I have this syntax: SELECT ProgramCategoryMstr.programCategoryID, SuspenseMstr.ProgramID, SuspenseMstr.namaProgram, SuspenseMstr.Budget, SuspenseVoucher.PenggunaanBudget, SuspenseVoucher.No_Voucher, [Budget]-[PenggunaanBudget] AS Balance FROM VendorMstr, ProgramCategoryMstr, SuspenseMstr, SuspenseVoucher, SuspenseSteps, SubAreaMstr, AreaMstrand the result is Data duplicacy, can you help me solve this out, thanks.  --Please put "Mark as Answer" if I help you solve your problem,...

DropDown List based on MS Access table data
I have created a dynamic drop down list using a field from an MS access database table. The field in the MS access is defined as a date/time field, with a format of LONG TIME. This stores the data is this field like this: 05:24:23PM. When I display this field and its value in drop down list, it keeps displaying the data like this: 12/30/1899 12:00:00pm 12/30/1899 01:00:00pm 12/30/1899 02:00:00pm 12/30/1899 03:00:00pm The file contains an entry for every hour in the day, so this dropdown box shows the 24 entries with the same date, as shown above. However, when I look a...

Web resources about - GridView data table and MS Access table. Some time I like MS Access... - asp.net.presentation-controls

GridView SelectedItem Binding Gotcha in WinRT
Last night when I was doing some WinRT hacking I was trying to setup databinding to the selected item in the GridView control and I ran into ...

CNW Group
Home Services Beyond the Wire About CNW Financials Webcasts Events My CNW All News Releases Advanced Search Gridview Latest News Releases All ...

CNW Group
... Services Beyond the Wire About CNW my CNW CNW Access CNW Directories Financials Webcasts Events my CNW All News Releases Advanced Search Gridview ...

CNW Group
Home Services Beyond the Wire About CNW Financials Webcasts Events My CNW All News Releases Add a Filter Gridview Latest News Releases All Today ...

New CmdLets of Powershell 2.0
New CmdLets of Powershell 2.0

Price Drop: Softbox
... objects- create product reflection- changing the background with something more interestingUse it as:- softbox- honeycomb softbox- gridview ...

Profile.aspx: ASP Alliance
.NET,ASP,ASP.NET,SQL,XML,HTML,ADO,ADO.NET,JavaScript,JScript,CSharp,VBScript and VB tutorials from AspAlliance.

Quick Answers - CodeProject
Questions - Free source code and tutorials for Software developers and Architects.; Updated: 25 Oct 2012

DotNetKicks.com - Upcoming stories
DotNetKicks.com is a community based news site edited by our members. It specialises in .NET development techniques, technologies and tools including ...

View Features - ExtendASP
Call 847-681-9827 or Request a Demo View Features Testimonials Pricing About Us Coming Soon ExtendASP exposes every feature, more than any other ...

Resources last updated: 12/7/2015 10:29:57 AM