Monthly Archives: April 2011

Getting all checked checkboxes from Treeview in using c#

if i have a Treeview like this image and if i want to track all the lable names of check boxes which are checked into textbox like this then i have to write my code like this ArrayList al = … Continue reading

Posted in Articles, Database, Programming | Tagged , , | 2 Comments

Providing hyperlink to GridView Contents

if i have a to write programe such that the file location comes from database and i need to provide hyperlink to it in gridview i will do like this <asp:TemplateField HeaderText=”Download”> <ItemTemplate> <a href=”/GO notifications<%# DataBinder.Eval(Container.DataItem,”File_path”)%>” target=”_blank”>Download</a> </ItemTemplate> </asp:TemplateField> … Continue reading

Posted in Articles, Programming, Uncategorized | Tagged | Leave a comment

Fixed Validating Date Less than Today using DOTNET

To Validate Date entered by user to check wether it is “Less than Todays Date” we can use Compare field validator like this  <asp:CompareValidator ID=”CompareValidator1″ runat=”server” ControlToValidate=”Date_Txtbox” Display=”Dynamic” ErrorMessage=”Date Should not be Greater than Today” Type=”Date” ValueToCompare = ‘<%#DateTime.Today.ToShortDateString()%>’ Operator=”LessThan” … Continue reading

Posted in Articles, Programming | Tagged , , , | Leave a comment

Button Click event Firing Twice

When i was migrating code form C# to i face one problem that is when i perform action on button my Click event was Firing twice … the solution for this was first step is to make AUTOEVENTWIreup = … Continue reading

Posted in Uncategorized | Leave a comment

Creating Sequence Numberin sql server 2008

if we have a Query to generate one auto number to one coulmn(Ack__no) when ever one row data is inserted we do it like this make the column as int data type in sql serevr 2008 then go to its … Continue reading

Posted in Articles, Database | Tagged , | Leave a comment


SQL SERVER – ACID ACID Followed When we r designing the databases and application architectures. Atomicity is an all -or-none Operations are performed in Transaction Consistency guarantees that a transaction never leaves your database in a half-finished state. Isolation keeps … Continue reading

Aside | Posted on by | Tagged , , | Leave a comment

its Time to leave client place :) for me

i worked till today at client place (ap commercial taxes ) leaving now to main branch to do VATIS project for the same client in head Quarters of my Company Loved this place and people and Work cant forget this … Continue reading

Posted in Uncategorized | Tagged | Leave a comment