There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer audio black screen boot bsod computer connection crash css dell display driver drivers email error ethernet excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware network networking nvidia outlook outlook 2003 outlook express partition printer problem router slow software sound trojan usb video virus vista windows windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
DataGrid


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
LinuxGold's Avatar
Member with 86 posts.
 
Join Date: Oct 2003
24-Aug-2005, 02:53 PM #1
DataGrid
Is it possible to use DataGrid without ASP,PHP or etc, I'm running M$ SQL and MySQL. If so, where can I get started? I do not want to use Visual Studio, or any of memory hoggin' programs. I use stripped down html generated by ASP, created my own CSS for applications and a lot of stored procedures. I'm heavy on SQL and would like to use DataGrid for quick access between user and database.

It would be a good way for me to learn DataGrid technology itself and to optimize the way I deem appropriate.
coderitr's Avatar
Distinguished Member with 3,080 posts.
 
Join Date: Oct 2003
24-Aug-2005, 03:47 PM #2
I've got a program that I wrote that uses an ADO data grid and does runtime binding to manage data in a MS SQL database. Is this the kind of thing you're trying to do?
LinuxGold's Avatar
Member with 86 posts.
 
Join Date: Oct 2003
25-Aug-2005, 02:58 PM #3
Quote:
Originally Posted by coderitr
I've got a program that I wrote that uses an ADO data grid and does runtime binding to manage data in a MS SQL database. Is this the kind of thing you're trying to do?
Yep and to generate reports as well.
coderitr's Avatar
Distinguished Member with 3,080 posts.
 
Join Date: Oct 2003
25-Aug-2005, 05:54 PM #4
So what's your question? I'm afraid I can't help with the reports (we use Crystal Reports) but I'll do what I can to help you with the datagrid stuff.
LinuxGold's Avatar
Member with 86 posts.
 
Join Date: Oct 2003
26-Aug-2005, 11:37 AM #5
SQL (Stored procedure)
Code:
SELECT 
	ErrorDate,
	Br.Brand,
	HL.B_order,
	HT.CODE AS 'Hold Type',
	ET.Description AS 'Error Type',
	HL.Comments AS 'Description of Error',
	CASE WHEN HL.Corr=0 Then 'N' ELSE 'Y' END AS Corrected,
	CASE WHEN HL.Hldremvd=0 THEN 'N' ELSE 'Y' END AS 'Hold Removed',
	HL.ONTID AS Operator,
	HL.RNTID AS Reviewer
FROM HoldsLog HL
LEFT JOIN HoldType HT ON HT.Id=HL.HoldID
LEFT JOIN Brands Br ON Br.ID=HL.BrandID
LEFT JOIN Errortypes ET ON ET.ID=HL.ErrorTypeID;
RESULT (delimited by |):
Code:
2005-07-29 00:00:00|Basic|246274988|COFN|Error in Name|Ralph s/b Paul|Y|Y|ToniDan|AshleEll
2005-07-28 00:00:00|Basic|246234077|COFN|Error in Name|Douglas s/b rhett|Y|Y|ChantCum|AshleEll
I would like to be able to change Hold Type, Brands or ErrorTypes in drop down menu, delete a record row or toggle Y/N (data 0/1) on Corrected and Hold removed in DataGrid. I do not have ASP.NET, only ASP.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:52 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.