View Complete Post
We have a transactional replication database where in we have set the schema change property to false. Now we have added a new column and to the table and wanted this column also to be replicated. But before enabling the allow schema replication parameter,
we have altered the article added a column.
Now we reliazed that we have not enabled the sehema replication option. The database is very large and reinitializing the subscription remains our last option.
Could anyone suggest us the right way forward.
Thanks in advance.
I have a gridview with Enable selection and Enable Paging equals to TRUE.
I also set the PageSize of my gridview to 4 so that I only displays 4 rows per page.
The problem is when I click the pager in the bottom of my gridview, my gridview is disappearing and no records appear.
Here is code behind of my gridview:
If e.Row.RowType = DataControlRowType.DataRow Then
e.Row.Attributes("style") = "cursor:pointer"
e.Row.Cells(2).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
e.Row.Cells(3).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
e.Row.Cells(4).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
e.Row.Cells(5).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
e.Row.Cells(6).Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
I'm running VS2010 with .net 4.0, and am running into issues with the .net ajax script tags mysteriously not being rendered to the browser.
So far I've reduced it to a scenario where I set the DataSourceID property of a databound control. More specifically, I've only tested it on a Gridview and a DropDownList.
This can be reproduced fairly easily on my machine by following these steps:
1. Create a new empty Web Application Project
2. Create a new Web Form
3. Add a ScriptManager inside the form
4. Add a DropDownList and a DataSource (I used an ObjectDataSource)
5. Set the DataSourceID property of the DropDownList to the ID of the DataSource. This can be done either declaratively on the .aspx page, or in the code behind in the aspx.cs page, and both produce the same results.
Here's my source code showing my set up:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ScriptResourceFAIL.Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 T
in my MVC 2 application, and in the shared Master Page I wrote this little script for menu handling :
The script, that shows menu items when the
explain this one - - (please)
2 projects - same code - one, using 2008, one using 2010 - a textbox a button and a label, using html code in the textbox
In the Page Directive:EnableEventValidation="false" ValidateRequest="false&q
Sorry I am kinda new in web services, so it may sound a bit newbish question.
We have a web service that comunicates with the database and exposes web methods that enables the application to access the database. Each method does only one operation (Insert, Update or Delete). What I need to do is create a transaction that will be consisted of multiple calls to the database, meaning multiple calls of more then one web methods. Can I do that? (I read that if the web method does not throw exception - or ContextUtil.SetAbort() is not called - the transaction will be commited automatically when the web method finishes executing, which I don't want to happen because I want to call another web method in the same transaction, and then manually commit the transaction)
Thank you in advance.
Why do I keep getting this error, even when not using any data on the report. When I run the query in SQL server I get a resultset. However when I try to render the report I get this error.
MSDN Magazine May 2007
Everything you need to know about locales in Windows Vista.
Kieran Snyder and Shawn Steele
MSDN Magazine December 2006
How does Visual Studio 2005 Team System and Team Foundation Server facilitate the process of agile development and continuous integration? Here Ben Waldron explains it all.
MSDN Magazine March 2006
ASP. NET client callbacks represent a neat and elegant way to execute server-side code without posting and refreshing the current page. I discussed ASP. NET callbacks in the August and December 2004 installments of Cutting Edge, considering them from the perspective of rendered pages making background callbacks to the server, sending input data to the relevant page, and receiving a response.
MSDN Magazine January 2005
Script callbacks in ASP. NET 2. 0 is a feature whose time has come. Script callbacks can significantly speed up an application by limiting server postbacks. They also allow you to execute small portions of server-side code without having to manage the view state for reading or writing.
MSDN Magazine December 2004
If you're involved in Web development you may have faced a problem that you couldn't find a good solution for-making client-to-server calls outside the current page. For example, you might want to validate the content of a textbox against data stored on the server asynchronously, without interrupting the continuity of the work or without forcing a full page refresh, which is particularly heavy for UI-rich pages.
MSDN Magazine August 2004
This article presents a general-purpose client quality reporting mechanism that can be used in any .NET-based transaction system that employs HTTP/SOAP. The design uses client response time and quality recording, upload of logs as SOAP headers attached to new transaction requests, and server handoff of these headers to a low priority queue for logging and analysis. This technique gives an enterprise near real-time information on actual end-user response times. These response times reflect network delays, client application overhead and server delays. By using this technique, enterprises can avoid the need to develop custom software to mine HTTP logs.
MSDN Magazine July 2004