Agha Usman

Lives in Karachi (Pakistan) and work for Ciber Strategies

Browse by Tags

All Tags » Vb.net (RSS)
How to pass parameters to the dynamically added user control
In this post, I will explain how you can pass parameter to the dynamically added (from code behind) User Control. Most of you might aware of how we can achieve this in web application project. Following is the code for that 1: Dim objCon As Control =...
Get Repeater Control Output in String
In this post I will share with you a small code snippet which will help you to get the repeater control output in string variable. 1: Dim sb As New StringBuilder() 2: Dim objHtml As New HtmlTextWriter( New System.IO.StringWriter(sb)) 3:   4: If dt...
Posted: Apr 13 2009, 09:30 PM by aghausman12 | with 1 comment(s)
Filed under: ,
Get Column name From Stored Procedure
The requirement of the day is to extract the name of the columns returned by procedures. Stored Procedures are dynamic that is why we need to create a function that takes Stored Procedure name as parameter and return the column names in string. So here...
Posted: Mar 09 2009, 06:54 PM by aghausman12 | with 6 comment(s)
Filed under: , ,
Long Waited Task in Asp.net
Yesterday, one my my friend ask me a query about sending some 500+ emails using an asp.net page. Sending bulk email using asp.net is obviously an issue. I mean, You cannot keep the page on the post back state for the five minutes. Your page will get expired...
Get Primary key on Row Command (GridView)
Some days back I got a query from one of my fellow, regarding a very normal situation I mean that’s the day to day task that we as a developers are doing. Here is the scenario Scenario: Consider you have a data grid view which show a list of products...
Prevent .js caching in asp.net
This is like a very common issue, specially for those who are working on public site which is live and they have to release the builds every week or month and if the new build contain JS files then your change will not reflect on the client browser until...
More Posts