Find Gridview TextBox in client side using javascript
Here this article show show how we can find gridview textbox which is inside Template Field and validate the entry while
editing the record.
function ValidateGridEditMode()
{
var n = document.getElementById('ctl00_ContentPlaceHolder1_tbcLocation_tpnlCountry_gvEmp').rows.length;...
Tuesday, March 30, 2010
Saturday, March 27, 2010
Single Stored Procedure for Insert and update record
It good idea to use a single stored proceude instead of write two stored procedure for insert and update.So i am here explainig how to do this.here we can check if EnquiryId ==0 then insert otherwise update.Create PROCEDURE [dbo].[uspEnquiry_AddEdit]( @EnquiryId bigint , @EnquiryNo varchar(20) output , @ClientId bigint , @ContactPerson...