Friday 30 November 2012

how disable previous entered textbox value in asp.net

enter image description here

for that u can use like this

in  .aspx page

<asp:TextBox id="Textbox1" runat="server" autocomplete="off"></asp:TextBox>

in .cs Page

Textbox1.Attributes.Add("autocomplete", "off");

Wednesday 21 November 2012

how to check the modified date of stored procedure in sql server

 for getting single stored procedure details use this


SELECT namecreate_datemodify_dateFROM sys.objectsWHERE type 'P' AND name 'yourstoredprocedurename'


 for getting All stored procedure details use this 


SELECT namecreate_datemodify_dateFROM sys.objectsWHERE type 'P'
order by modify_date desc

Tuesday 6 November 2012

add double quotes to string in c#


Just use this technique 

String myString = "I like \"doublequt\""; 

OUTPUT= I like "doublequt"