6
Answers

how can check query is working is not in sp

Najim Mulla

Najim Mulla

8y
415
1
how can check query is working is not in sp. as like C# method of function to return value is true or false
Answers (6)
0
o k

o k

NA 3 2k 11y
code  to insert data  into table .program ask user to enter item name , id , price ,quantity .


public static void save(EntityPurchase epr)
        {
            OleDbDataAdapter da=new OleDbDataAdapter("Insert into shop values ('"+epr.Itemid+"','"+epr.Iname+"','"+epr.Quantity+"','"+epr.Price+"','"+epr.Curdate+"')",con);
            ds=new DataSet();
            da.Fill(ds,"temp");
        
        }


i have no idea about using sum clause n group by clause can you just explain it here ? any related links will be helpful
0
Veena Sarda

Veena Sarda

NA 18.3k 1.5m 11y
Could you show your code for adding 10 Car and trucks. Have you tried using sum clause and group by statement.