how to set entitydatasource select method to a function?
could i use objectdatasource with entity model?
View Complete Post
I want to select student who belogs to New York.so this purpose i write query as
ds.Tables("student").select("city==NewYork"); it is not work
"ds" is dataset
"city" is column name
"New York" is the string
Can anybody help me?
Give me suggestion
I am new to gridview.
I want to make a gridview. Its row when selected should direct me to a specific .aspx page.Each row should direct to a different page.
Should I use querystrings for this? Please suggest.
Let's say we have 2 time consuming functions, aaa and aaa1 inside a aspx page.
public static string aaa(int i)
public static string aaa1(int i)
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
<input type="button" value=
I face this "Jscript runtime error: Object does not support property or method" whenever im trying to run this page.
Im using Microsoft Visual web developer 2008, i wonder if this is related to my problem, i not sure there is anything i need to add as reference or update anything.
Anyway, it happen that last time i tried use the same type of jquery code in another project and it seems to work well without an error.
But now when im try to use it again in this recent project i created, it come out with this error and i have no idea how to solve it even look through google and this forum.
So below is my code that i need to use.
I have staff area of my site I am protecting with forms authentication using c# and .Net 4.0. What I want to do is let the staff members register on the site but instead of the confermation email being sent to them I want it sent to me so I can go in and approve it. I have been trying to use the SendingMail method but can not figure out how to get it to email me instead of the person that registered. I have searched around this site and find many topics on the SendingMail method but none seem to properly address my issue. Can anyone help me out?
i am posting my vb.net problem .plz tell me how to resolve this :-
Dim conn As String = ConfigurationManager.ConnectionStrings("NorthwindConnectionString").ConnectionString 'Dim mysqlconnection As New SqlConnection(conn) 'If mysqlconnection.State=ConnectionState.closed Then mysqlconnection.Open(); 'Dim mySqlcommand As New SqlCommand("select CategoryId,CategoryName from Categories", mysqlconnection) 'Dim mySqlDataAdapter As New SqlDataAdapter(mySqlcommand) 'Dim mydataSet As New DataSet() 'mySqlDataAdapter.Fill(mydataSet); 'Gridview1.DataSource=ds; 'Gridview1.DataBind(); 'if mysqlconnection.State=ConnectionState.closed Then mysqlconnection.Open();
i m getting 5 errors in this code
declaration expected in mySqlDataAdapter.Fill method; Gridview1.DataSource=ds; Gridview1.DataBind();
I got a recent working code from client.I see errors in the get methods when i compile , below are some place where the error happens.Can any one help me out?
Error 2 'System.Environment.NewLine.get': cannot explicitly call operator or accessor C:\Documents and Settings\shankar\My Documents\Visual Studio 2008\Projects\DKCLwin\DKCLwin\LocalizationAdmin.cs 150 170
This month Stephen Toub answers questions pertaining to the Windows Vista Restart Manager API and generic method compilation.
MSDN Magazine April 2007
Before you can test any software system effectively, you must understand the system under test. If the system includes the MicrosoftÃÂ® . NET Framework, understanding the system under test includes understanding its assembly and method dependencies.
MSDN Magazine March 2006
MSDN Magazine January 2004
MSDN Magazine October 2003
This month Aaron Skonnard covers how keys work in XSLT, XSLT match and select attributes, SelectNodes order, finding