In my previous article, I have shown that how to create a table valued parameter store procedure and how we can pass table valued parameter in SQL Server.Here, in this article, I will show you that how you can pass table valued parameter and call a stored procedure in ASP.NET. You have to add...

Recently I was working on an application and I was in a situation where I have to remove some specific words from a string. Words were in comma separated format. So I have written a function which gets two string parameters and return a string value. First parameter is the input string which I...

Adding watermark text is a nice way to tell user what to enter in a Textbox. It may help user to enter valid and exact value for that specific Textbox. It may also helpful for user when there are so many textboxes on the page and you want user to submit page after providing...

Many website have their feedback or suggestions and complaint pages so that user can post their feedback, give suggestions and write any complaint. These pages have a multi-line Texbox or text area but they restrict users to write fix number of characters. User cannot exceed from the given fixed number of characters because they...

In my previous article, I have briefly explained about iTextSharp and how we can read PDF file using iTextSharp in ASP.NET. In this article, I will show you how you can write a PDF file and how you can add an image to PDF file using iTextSharp. You will see that how easily an...

iTextSharp is an open source library for creating and manipulating PDF files in ASP.NET. It makes us really easy for us to to create and manipulate PDF files in ASP.NET code using iTextSharp library. Although many other open source libraries and APIs available for PDF files but I am a good admirer of ITextSharp....

Sometimes we need to take a screen shot of a webpage in our ASP.NET application. There are so many solutions available for this task. Many third party APIs and utilities available but you can simply do it by using ASP.NET built-in classes and objects. If you need to capture screen shot of your current...

Sometimes we have data in XML format and we need to bind it to GridView control or sometimes we need to bind single tag values of XML file to DropDownList. This can be achieved in a very simple way. We just need to create an object of XmlTextReader and read XML file data in...

View state is a state management technique in ASP.NET which works for a single page. It means ASP.NET framework uses view state to preserve page and control values during round trips. It is used automatically, unless you turn it off, by ASP.NET framework to keep information between postbacks of a page. You can also...

Getting GridView cell values using jQuery in ASP.NET is so simple. Let me show you how easily we can achieve it. Download any jQuery stable version and add to your project. Don’t forget to give reference to you jQuery file. Add a GridView, button and a label. Bind your GridView with data...