Adding New records from gridview control

Posted by Self-innovator under ASP.NET on 12/26/2011 | Points: 10 | Views : 1118 | Status : [Member] | Replies : 6
hi..
Pls go through my question i want to add a new record from gridview control by clicking on addnew (whether addnew may be a hyperlink or commandfield) pls do the needful with some good example i'll be waiting for ur responses..

Join Hands Change lives
Thanks & Regards
Straight Edge Society



Responses

Posted by: Pradeep417 on: 12/26/2011 [Member] Starter | Points: 25

Up
0
Down

Hi,

You can find the good example in attachment. There you can add records from gridview.
 Download source file

Pradeep

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Self-innovator on: 12/26/2011 [Member] Bronze | Points: 25

Up
0
Down
thanks pradip for ur nice article.....

Join Hands Change lives
Thanks & Regards
Straight Edge Society

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 12/26/2011 [Member] Silver | Points: 25

Up
0
Down
https://mail.google.com/mail/?shva=1#label/sanjay+dotnet/12dfc3220fe9ac2b
I hope this link will solve your problem.

Thanks,
Sanjay

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 12/26/2011 [Member] Silver | Points: 25

Up
0
Down
I am sorry ,Please use this link,
http://aspalliance.com/687_Preventing_Duplicate_Record_Insertion_on_Page_Refresh.all#Page1

Thanks,
Sanjay

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Self-innovator on: 12/27/2011 [Member] Bronze | Points: 25

Up
0
Down
hi pradeep will u tell me the parametre @strSort passing for bnding childgridview
i need sp in sql server wil u pls help
i've but throws error (i am bit confuesd wit parametr of @strsort)
create proc sp_GetCustomerDetails
@strCustomerId varchar(50)
as
begin
select Orders.CustomerId,Orders.OrderId,Orders.ShipAddress,Orders.Freight,Orders.ShipName from Orders where Orders.CustomerId=@strCustomerId
union all
select @strCustomerId,Orders.OrderId,Orders.ShipAddress,Orders.Freight,Orders.ShipName from Orders where CustomerId=@strCustomerId having count(*)=0
end
pls do it soon...

Join Hands Change lives
Thanks & Regards
Straight Edge Society

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Self-innovator on: 12/27/2011 [Member] Bronze | Points: 25

Up
0
Down
hi pradeep wil u pls help me on only row databoun_event( where u r binding the child grid)
will u pls Explain me by making comments in Row databound...

Join Hands Change lives
Thanks & Regards
Straight Edge Society

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response