1
Answer

update the tables sql,asp.net c#

Prakash P

Prakash P

12y
1.5k
1


hi, i have two table t1,t2 and one target table t3
 
t1 have 3 columns
t2 have 3 columns (different columns)

i inserted t1,t2 tables and stored successfully
  now i want to copy(column values) the all t1,t2 values in t3 table based on (t1.id=t2.id )

and next i want to fetch all  t3 column values in a gridview
 plz help



Answers (1)
0
Prem Anandh Natchatran

Prem Anandh Natchatran

NA 678 6.6k 9y
Ok Nithin ... carry on...
Accepted
0
Nitin Sharma

Nitin Sharma

NA 154 40.3k 9y
thanks for your reply
 i have solved it just now .
thanks 
0
Prem Anandh Natchatran

Prem Anandh Natchatran

NA 678 6.6k 9y
I tried the same in my project ... It is working
 
Check the data type of date field .Write the show alert code in the form_load function 
post your code for further steps...
-------------------------------------------------------------------
If you find anything useful please accept my answer
 
0
Nitin Sharma

Nitin Sharma

NA 154 40.3k 9y
already try this not working
0
Prem Anandh Natchatran

Prem Anandh Natchatran

NA 678 6.6k 9y
Hi Nithin,
Use two tables
1. contain followupdate
2. customer information
update the followupdate by some form
on form load of your resultant from use this query and update your fields or Datagrid.
"Select A.name ,A.mobile,A.address,A.order from customer A ,followup B Where B.folloDate=CURDATE() "
-------------------------------------------------------------------
If you find anything useful please accept my answer