Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Recommendation on a DB editing tool??

Author  Topic 

chrispy
Posting Yak Master

107 Posts

Posted - 2003-03-26 : 21:43:12
Hi all,

Short of creating a new Datagrid that I can edit can anyone recommend a tool that I can edit tables with dynamically.

What I have is a shopping cart that has it's own editing web page.

I have created some customization to it through tables, other than the table that it uses.

I am looking for a tool that will allow me to say; join two tables and be able to edit the data that way. Speed is an issue as well.

Any thoughts?

Thanks in advance,
Chris

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2003-03-26 : 21:50:33
What platform ? ASP / ASP.NET / VB / PHP / Perl ?

In any case, writing your own is a great learning experience.

Damian
Go to Top of Page

chrispy
Posting Yak Master

107 Posts

Posted - 2003-03-26 : 21:55:58
Merlin,
Either ASP or ASP.NET to MSSQL 2000.

I am assuming that creating a Datagrid in ASP.NET would be the way to go?

Just looking for something user friendly that was out of the box. Maybe a little more on the client side (adjust the width of field, etc). We might have some non-technical people doing it.

Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2003-03-26 : 22:05:49
In ASP, maybe look at this : http://www.aspgrid.com/

For .NET, there are a bunch here http://www.asp.net/ControlGallery/default.aspx?Category=5&tabindex=2

Haven't tried them but it's a good starting point.

Damian
Go to Top of Page

simondeutsch
Aged Yak Warrior

547 Posts

Posted - 2003-03-26 : 22:08:50
Either way, don't count on having an easy time updating a recordset that is a two-table join.
It's far better to run separate update statements on each table.

I should repeat what nr told me: Avoid editing recordsets directly, open forward-only, read only cursors, and use stored procedures to add, edit, and update data. Its longer in the short run, but saves debugging time in the long run. Speed will definitely be much improved, and you will not be dependent on flukes between releases of ADO.

Sarah Berger MCSD
Go to Top of Page

chrispy
Posting Yak Master

107 Posts

Posted - 2003-03-28 : 18:18:23
Thanks all,
Decided to go the route of writing my own. Found a nice add on datagrid called SQLSuperGrid at www.superexpert.com (I only plug it because it is free).

It takes the overhead out of the sorting and editing that is required in .net.

Makes it real easy.

Question I have no is with datgrids in general.

There is no way to edit data in a datagrid, if the query is a join.

There is one case were I do not need to join the data, but only check to see if the relationship is active in another table.

The table that I need to edit has the productid on each row, which corresponds to the UID of the product in another table. In the same table that has the UID, I need to check if IsActive is set to 1 ; if so that I want to bring it up in the datagrid to edit.

So I do not want to actually edit it in the datagrid.

Make sense?????

Does anyone know if this is possible to query the DB as such in a datagrid to allow it to be editiable?


Thanks in advance,
Chris

Go to Top of Page
   

- Advertisement -