Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i have a small form

employeenumber ---textbox

employee name ---- textbox

employee department ---- textbox

employee sal ----- textbox

employee age ---- textbox



now i have a webpage with search textbos

employeenumber ----- textbox (search crtiretia)

when user types employee number all the sql realted data should fill the form conataineing employee name, sal, age , dept etc.

next

i have 2 buttons

excel export

automail



in excel export i have a specified format




WHAT I ACTUALLY NEED IS

WHEN I CLICK EXPORT BUTTON TEXTBOX DATA SHOULD BE SEND TO EXCEL FILE

AND PARTICULAR TEXTBOX DATA SHOULD BE RECEIVED AT PARTICULAR CELL.

E.G:- TEXTBOX1 TO SEND TO C3 OR C4

TEXTBOX 2 TO SEND G9



WHEN I CLICK MAIL BUTTON

THAT DATA SHOULD BE SEND TO EXCEL AND AUTOMAILED AS ATTACHMENT





, I HAVE 3 EXCEL FILES WITH DIFFERENT FORMATS

EXPORT BUTTON SHOULD VIEW ALL THE EXCEL FILES WITH THEIR RESPECTIVE DATA

AND MAIL BUTTON SHOULD SEND MAIL THE EXCEL FILES WITH DATA , 1 USER I EXCEL FILE

2ND USER 2ND EXCEL FILE

3RD USER 3 EXCEL FILE




PLEASE HELP , ITS VERY URGENT

AND PLEASE HELP WITH COMPLETE SOLUTION.
Posted
Updated 26-Apr-12 22:13pm
v13
Comments
Sebastian T Xavier 27-Apr-12 1:30am    
Your question is not clear. Make it short & understandable. Even if you are urgent no one is going to help you, unless the question is legible.
mani.kishore.asp.net 27-Apr-12 2:46am    
i have just created a webform

and i have a excel files 3 of them

i have inserted resuired data to sql using the web form

i have created a dataview and a where condition to that which connecting to data base
to retrieve data

now how to get the textbox data to excel files all 3

in different cells
and how to auto mail using mail button
Sandeep Mewara 27-Apr-12 5:07am    
Can you please not write in CAPS, it's irritating to read.
bbirajdar 2-May-12 5:33am    
Reason for my vote of 1
Homework

1 solution

Hi, please check this article: Exporting Data to Excel[^]
 
Share this answer
 
Comments
mani.kishore.asp.net 27-Apr-12 1:35am    
no please provide some more
best solution

please , it's urgent
Pandvi 27-Apr-12 1:44am    
If you want help for your coding, please show us what you have done please. or you just wish to have a third party tool to deal with?
mani.kishore.asp.net 27-Apr-12 1:50am    
i have just created a webform

and i have a excel files 3 of them

i have inserted resuired data to sql using the web form

i have created a dataview and a where condition to that which connecting to data base
to retrieve data

now how to get the textbox data to excel files all 3

in different cells
and how to auto mail using mail button
Tisfy 27-Apr-12 1:56am    
Hi, can you show some codes, in that case, we will find where to solve.
mani.kishore.asp.net 27-Apr-12 2:00am    
i apolozie as i have just code for saving the data

if you want that i can put

but for going from textbox to excel i have no code
and even that code for auto mail
but i require your help please. help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900