|
-
Nov 7th, 2007, 12:31 AM
#1
Thread Starter
Lively Member
multiples fields to database problem
Hi,
I have several textbox/combo box controls...from which I would be getting data and passing to methods to insert/update to the database....
the thing is that these controls are by themselves...not inside a grid or anything......
Since i have 38 fields to pass...!!!....any advice on the best way to do it would be appreciated....
I usually have methods like for eg:
InsertMethod(int someval1, string someval2, string someval3)
{
the insert sql stmnt
}
Around 25 fields go to the same table...and the rest would be going to other various tables.....I cant pass 25 values as parameters...would not be good I guess!
Any ideas...please..?????????
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|