This is a general message.
Just because the question is basic, you should one consider it as bad question.
As the forum is not only for experts, i would request my friends that please don't vote a question as bad question just because the question is too easy.
Either help or ignore. Please don't insult anyone.
I don't think it is that the question is easy that bothers people. It is a matter of how much effort was made by the asker to answer it themselves before asking here. When people are just handed an answer they don't learn as much.
"Satisfaction lies in the effort, not in the attainment, full effort is full victory.” -- Mahatma Gandhi
I've a problem, I want my control CreateUserWizard save the data entered by users during registration on my database, not in the classic ASPNET.mdf that is created in the AppData folder by default.
To do this, I followed the wizard through the file aspnet_regsql.exe.
My problem is that even by following the procedure, the control doesn't save the data in my database but in ASPNET.mdf that is created by default.
Maybe I didn't set well Provider from Visual Web Developer? But not everything should be automatic?
Please help me!
PS: I've Microsoft Visual Web Developer Express 2008 and Microsoft SQL Server 2008 Express Edition
Here a link to two pictures to help you understand my problem:
My machine have a windows 7 operating system. and I have developed one application in .net with MS Access 2007 database. If I replace MS Access file it is converting in read only. And it is showing old data.
But in Windows Xp it is working properly.
I've used a third party Chart tool in Vb 2005. My Programming language is VB.
I export that control to the excel sheet i can't get the inner content of the chart.Can any one help me to achieve this. Thanks in advance
I want to create a common sqlConnection class so that I don't need to create a connection object in every class..
my code is :
public class clsConnection
private SqlConnection con = null;
public SqlConnection connectionMethod()
using (con = new System.Data.SqlClient.SqlConnection(ConfigurationSettings.AppSettings["cn"]))
if (con.State == ConnectionState.Closed)
now in another class, I want to inherit the "clsConnection" class like:
public class registrationDal:clsConnection
public bool SaveCandidateInfo(string jobTitle)
string encrPwd = Encrypt(this.pwd);
SqlCommand cmd = new SqlCommand("sp_candidateinfo", objCon.connectionMethod());
cmd.CommandType = CommandType.StoredProcedure;