Hi Friends,
I m creating one new application in that application users required
grdiview
departuredate=textbox
from=textbox
to=textbox
ADD(button)
Edit(button)
they expecting each and every validation and control with in the gridview?
can you provide any link?
Loading

Iftikar HussainRank #423 · 5.9K reputationPosted Aug 20, 2013, 9:06 PM EDT
Please refer the below link
http://www.c-sharpcorner.com/uploadfile/john_charles/validation-controls-within-gridview-control-in-Asp-Net-2-0/
Regards,
Iftikar
Rocky RockyRank #7,391 · 242 reputationPosted Aug 20, 2013, 9:21 PM EDT
yor are saying
when the user enter the details ll on gridview with edit,update,delete.
but i m expecting with in the gridview add details how to doc code?
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 20, 2013, 9:34 PM EDT
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Name") %>'>asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage= "* Required Field">asp:RequiredFieldValidator>
EditItemTemplate>
Rocky RockyRank #7,391 · 242 reputationPosted Aug 20, 2013, 9:42 PM EDT
oops sorry dude... ll check it and let me back if any doubts ask to u
Rocky RockyRank #7,391 · 242 reputationPosted Aug 21, 2013, 2:19 AM EDT
in these concept possible to make validation for particular text box.
i.e
1) departuredate + no.of.days (after given the add) ll show date on departuredate
2)choose lodging means daily allowance is read only.
choosed daily allowance means food allowance & Lodging is read only