skip to Main Content

Call aspx.cs file function from jquery

I have button in aspx file as below : <asp:Button ID="btnSave" Style="display: none;" runat="server" OnClick="btnSave_Click" /> Now in aspx.cs file I have below function. protected void btnSave_Click(object sender, EventArgs e) { //some code } Now I want to call this…

VIEW QUESTION

Asp.net – Date Format COrrect

How can I modify the displayed date format in my database view to exclude the timestamp (00:00:00) and show only the date in the format (DD/MM/YYYY)? <td>@marks["Test_Date"]</td> I am fetching date here and i have tried like this <td>@((DateTime)marks["Test_Date"]).ToString("dd/MM/yyyy")</td> It…

VIEW QUESTION
Back To Top
Search