Click to See Complete Forum and Search --> : new sql table class for my project
Saeed
November 16th, 2008, 10:34 PM
my project is interacting with a sql db and there are already existing tables (classes) that the project using to interact with the SQL Db thru these classes.
I ahev added a new table and am trying to avoid copy and pasting and modifying a new class for the new table.
>net should be able to allow me to create this class to interact with a prticular SQL table , but I just cant figure out how I can do it.
if you know how please do reply.
Cheers
vuyiswam
November 18th, 2008, 01:13 AM
Saeed Wrote: my project is interacting with a sql db and there are already existing tables (classes) that the project using to interact with the SQL Db thru these classes.
Do you have Access to the Class Code ? , if so why dont you add a Function that will do what you want and dont Touch the other Functions and call only your Function from the Presentation Layer ?
Saeed Wrote: net should be able to allow me to create this class to interact with a prticular SQL table , but I just cant figure out how I can do it.
Its Simple , you can Create your Class to do that and add functions. Why dont you make a Copy of the Class you dont want to touch and add functions to work for you, test it, if the functionalities are still working , then use it
Hope this Helps
HanneSThEGreaT
November 18th, 2008, 01:53 AM
vuyiswam, you could use the [QUOTE] and [/QUOTE] or the Quote button on the bottom right of each post, next to the Edit button. There's is also now a Multi Quote button, next to the Quote button, which allows you to Quote multiple posts. Instead of saying So and So Wrote :
It makes it easier to read posts :)
vuyiswam
November 18th, 2008, 02:04 AM
Thanks , i Struggled to understand how you do it.
Thanks :)
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.