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 HussainPosted Aug 21, 2013, 1:06 AM
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 RockyPosted Aug 21, 2013, 6:19 AM
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
Rocky RockyPosted Aug 21, 2013, 1:42 AM
oops sorry dude... ll check it and let me back if any doubts ask to u
Iftikar HussainPosted Aug 21, 2013, 1:34 AM
<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 RockyPosted Aug 21, 2013, 1:21 AM
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?