Want to create a Grid View in asp.net c# with CRUD operations. Please give me INSERT, UPDATE, DELETE queries -


select * book_master full outer join publication_master b on a.p_id=b.p_id 

above given statement query viewing tables

following tables (that included in query),

1.) book_master  b_id (primary key) [identity column] b_title b_author b_price b_quantity p_id (foreign key, link table publication_master)    2.) publication_master  p_id (primary key, linked p_id of book_master) [identity column] publication p_contact p_email 

p_id in book_master foreign key , in publication_master primary key. b_id , p_id identity columns (hence autogenerated)

please give me insert, update , delete queries put in grid view configuration wizard make grid view crud-ready. newbie programming , have complete project of inventory management system of books.

check this. refer fig 7 & 8 especially.

http://www.asp.net/web-forms/tutorials/data-access/accessing-the-database-directly-from-an-aspnet-page/inserting-updating-and-deleting-data-with-the-sqldatasource-cs

but if using joins & want update 2 tables, refer this:

how write update query update 2 tables sql data source?


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -