1
Answer

file upload in windows form

Photo of b b

b b

15y
23.7k
1
hi, how to upload a file(.txt, .doc) into database with full file path name. In my application i have a text box and a browse button and a save button. when i click the browse button i am showing OpenFileDialog box,their i select a file and it will show into the textbox. Now when i click the save button i want the full path name from the textbox to save on the database. I am using .net windows application with C#. regards, bjb

Answers (1)

3
Photo of Tapan Patel
NA 8.1k 101k 7y
  1. Select DeptName, sum(salaries)  
  2. from   
  3. T1   
  4. inner join T2 on T1.empid=T2.empid  
  5. group by DeptName  
please mark it as answer if it addresses the issue.
1
Photo of Ravi Sangtani
NA 806 6k 7y
Hi, bala krishna
 
you can write below query....
 
select T1.d_name, sum(T2.salaries) from T1,T2 where T1.id=T2.id group by T1.d_name 
 
NOTE : d_name is department name
 
Happy Coding...
 
Thank you,
(Ravi D. Sangtani)