Hi Reddy, I couldn't restrict copy and paste in a textbox but colud restict copy and paste on whole form. here's the solution add oncontextmenu="return false" to the body tag
Naveen G MCSD.Net
Hi Reddy, I couldn't restrict copy and paste in a textbox but colud restict copy and paste on whole form. here's the solution add oncontextmenu="return false" to the body tag
Naveen G MCSD.Net
use IDENT_CURRENT( 'table_name' ) to get the last identity value generated for a specified table or view in any session and any scope.
Naveen G MCSD.Net
You cannot Dispose Command Object after ExecuteReader Method, the datareader object maintains the connection to the database as it will not pull all data at once, and it will pull data record by record. So dispose the command object after getting all the data.
Naveen G MCSD.Net
Set the Read only Property of Datagrid to true Navi
use Microsoft Word Object Library to read and write Word documents Navi
Session["variablename"]=null; Navi
check out this code aspx page asp:datagrid id="Datag" runat="server" Width="100%" AutoGenerateColumns="False" PageSize="10" asp:TemplateColumn HeaderText="Dropdown test" ItemTemplate asp:DropDownList id="DropdownAction" AutoPostBack="True" OnSelectedIndexChanged="DdAction_SelectedIndexChanged" Runat="server" Code behind file (.cs) public void DdAction_SelectedIndexChanged(object sender, System.EventArgs e) { DropDownList list = (DropDownList)sender; if (list.SelectedIndex == 0) { //Actions for item 1 } else if (list.SelectedIndex == 1) { //Actions for item 2 } } Navi
Check out the following link http://web6.codeproject.com/printing/printing\_wo\_docview.asp?df=100&forumid=147&exp=0&select=862397 Navi
Check out this link www.datagridgirl.com Navi
Mark the prwebsr as application in the IIS Hope this will solve your Problem Navi
Check out this link http://aspnet.4guysfromrolla.com/articles/031903-1.aspx Navi
insted of using [SELECT MAX(l_id) FROM listings] use IDENT_CURRENT(listings) IDENT_CURRENT Returns the last identity value generated for a specified table Navi
Try this Copying a Table into an Existing Table insert into originaltable select * from mytablecopy where [Condition] Navi
Use image button Navi
Check out this link http://msdn2.microsoft.com/en-us/library/49b92ztk.aspx Navi
Check out this link http://aspnet.4guysfromrolla.com/articles/062905-1.aspx Navi
yes the ViewState property should be set to true for paging (default) Navi
Check out this link http://www.vbcity.com/forums/topic.asp?tid=20175 Navi
The window.history property is an array of URL strings which reflect the entries in the History object the previous property contains the complete URL of the previous element in the History list, and is the equivalent of the URL the user would go to if they selected Back in the Go menu. Syntax: history.previous Navi