Hello,
I am using a GridView control which displays data from 2 SQL tables.the columns are project_name,cl ient_name which are from mstproject(its fields are project_id,proj ect_name,client _id,which is a FK to mstclient(its fields are client_id,clien t_name)respecti vely.
When the user tries to insert/update the client_name the client_id should be stored in the table mstprojectSo even though in gridview client_name is displayed but client_id should be stored in the db.(i know it is confusing but)Plz tell the Sql command needed.
Please help!
Its urgent
fireburns
I am using a GridView control which displays data from 2 SQL tables.the columns are project_name,cl ient_name which are from mstproject(its fields are project_id,proj ect_name,client _id,which is a FK to mstclient(its fields are client_id,clien t_name)respecti vely.
When the user tries to insert/update the client_name the client_id should be stored in the table mstprojectSo even though in gridview client_name is displayed but client_id should be stored in the db.(i know it is confusing but)Plz tell the Sql command needed.
Please help!
Its urgent
fireburns
Comment