How to display record of database in gridview using linq in asp.net using c#

Posted by Unknown On Wednesday, 9 October 2013 3 comments
Hi, I am mentioned in this post that how display a record in gridview from database using linq. For this purpose you have to follow the below instruction. First of all see my How to Insert record using linq. Now I design the page up to textbox and button, now below that take a grid view...
READ MORE

How to insert record in database using linq in asp.net using c#

Posted by Unknown On Tuesday, 8 October 2013 0 comments
Hi, in this post I mentioned that how to insert using Linq in asp.net with c#. So for this purpose you have to follow instruction as below. First of all take one LinqtoSql file,by right click on project and select addnewitem and add the SqltoLinq file give the name LinqDemo to this...
READ MORE

How to display alert message using javascript in asp.net using c#

Posted by Unknown On Sunday, 6 October 2013 0 comments
Hi, In this post I describe that how to give alert msg on button click event using javascript. For this I have take one Example as follow. First of all take one .aspx form and put one text box and one button. And then define the function Confitm() in between <head></head>...
READ MORE

How to give alert message box using jquery in asp.net using c#

Posted by Unknown On Saturday, 5 October 2013 0 comments
Hello, in this post you can display a alert msg using jquery when the textbox is empty. For doing this you have to do as follow. First take one .aspx form and then give the jquery link in between head tag. Before giving jquey you have to put your jquery file in script folder as shown...
READ MORE

How to create key press event using javascript in asp.net with c#

Posted by Unknown On Friday, 4 October 2013 0 comments
Hi, in this post I describe that how to define the textbox keypress event using javascript in asp.net using c#. For that you have to simple take one textbox and write the javascript function as follow. I have give the whole design of page, in this nothing came in backend page coding. <head> <script type = "text/javascript" >         function...
READ MORE

How to insert valid date in textbox in Asp.net using C#

Posted by Unknown On Friday, 4 October 2013 0 comments
Hi, In this post i describe that how to select the particular valid date from calendar extendar user not allow to enter invalid date. For That you have to just use the some ajax control like following way.before use you have to register the ajax toolkit and put the tool script manager in your code.<asp:TextBox ID="txtbx_registrationdate" runat="server" CssClass="textbox"  TabIndex="11"></asp:TextBox><asp:CalendarExtender...
READ MORE

How to allow only numeric or float value in textbox in asp.net using c#

Posted by Unknown On Friday, 4 October 2013 0 comments
Hi, In this post I mentioned that how to allow insert only numeric or float value in textbox. For doing this you have to just put the compare validate control and set the property and you work is done. First take one text box and then take compartmentalize and set its property as follow. <asp:TextBox ID="txtbx_issuedqty1" runat="server"></asp:TextBox> <asp:CompareValidator...
READ MORE