View Complete Post
some unknown reason I suddenly am unable to create an object variable for a
Linq Data Class. If I create a new project and try the process again with the
same database everything works as advertized.
code I am using is Dim db As New RoggDataContext which gives me an error on the object variable
"db": Overload resolution failed because no accessibility 'NEW' accepts this number of arguments.
I have looked inside every file in the Web Project
like the web config to check the connection string, gobal, and designer.vb looking
for any errors whit no JOY. I also tried
to create a new form and code behind with a button and received the same error.
This is mind blowing because as I already stated, I can
create a new Web Site and the problem goes away.
Any help is appreciated!
MSDN Magazine May 2007
A flexible, customizable grid for displaying data is a useful tool for ASP developers. It allows Web visitors to customize their view of your data. This article takes the data grid presented in "Ad Hoc Web Reporting with ADO 2.0" by John Papa and Charles Caison (MIND, December 1998) and adds handy features such as a finds feature that supports multiple finds and a mode for adding and editing records. This version also improves response time by allowing asynchronous record download and it componentizes the code so it can be used as a standalone VBScript class object that can be reused in other pages.
MSDN Magazine July 2000
now i hav stored all data like user name, data fatched from database of that user
and i stored that data and user name such as:
string strUserName="user name"
dataset ds =new dataset();// data of that user
now i wan yo send d whole data from my login page to user profile page
can anybody help me for that...................
and plz tell me that how much is this way is benifitial to send data from one page to another page
plz........kindly waiting for positive rply
protected void GridViewTest_RowDeleting(object sender, GridViewDeleteEventArgs e)
int deleteKey = Int32.Parse(GridViewTest.DataKeys[e.RowIndex].Value.ToString());
OleDbCommand deleteCommand = new OleDbCommand();
deleteCommand.CommandType = CommandType.StoredProcedure();
private DataTable Connection1(string Storedprocedure)
using (OleDbConnection MyConnection = new OleDbConnection(ConfigurationManager.AppSettings.ToString()))
OleDbDataAdapter MyAdapter = new OleDbDataAdapter(Storedprocedure, MyConnection);
DataTable MyTable = new DataTable();
I need one help..I Don't know how to connect the command object with another Member function...I tried something in the above code...But i got error...Please put me in right direction...
Is there in C# such feature as in VB when you create some class which inherits some interface and after clicking Enter after line Inherits SomeInterfaceHere all properties and functions which you need to inherit appear?