4
Answers

how to Pass 1st Page (Comp.aspx) PK key value to Fk Key

priyanka dodda

priyanka dodda

9y
415
1
I have Two tables like 
 
create table Product
(
prodid varchar(50) primary key,
prodname varchar(50),
price int
)
 
create table Customer
(
custid varchar(50) primary key,
custname varchar(50),
custaddress varchar(50),
prodid varchar(50) foreign key references Product(prodid)
)
 
I have two pages like ProductDetails.aspx and
CustomerDetails.aspx
 So now i want to pass the PK value(Product Table) in Productdetails.aspx  to FK Key(Customer)CustomerDetails.aspx,
So please help me how to pass this task.....
 
 
Thanks in Advance 
 

Answers (4)