2
Answers

insert itemname into corresponding columns in sql 2005

Maneesh A N

Maneesh A N

11y
952
1
if we have got itemid in tableSalesItem, how to save itemname into corresponding columns in database.means ,example  itemname 'tea' ,corresponding itemid '1' getting,but not inserting...how to use if..else condition for each catagory...

tableSalesItem(i want to insert vTea    Coffee
                                                    Tea    Coffee  like this,here i have doubt..how?)

vTea        int,
vCoffe      int,
vSoft        int,
vMineral   int,
vFax         int,


tableItem(already inserted)

vItemName      iItemId

 
Tea                    1
Coffee                2
Soft                    3
Mineral               4
Fax                     5
Answers (2)
0
sailorfoley
NA 97 0 20y
yes it can i have gotten it to work.the only problem i came across is that the folder where you reference your dll must contain the xml file that contains the information about the DLL. Try making the XML file the same name as the assembly
Next Recommended Forum