|
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
|
|
|
|
|
Anurag Gandhi wrote: Please don't insult anyone.
And what about the OP insulting us by not doing even a modicum of research to find the answer to such a simple question. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hello everyone!
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:
Image 1
Image 2
|
|
|
|
|
|
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.
Any solution ???
|
|
|
|
|
Yes, don't use Access. Windows 7, or any other OS, is not going to mark a file as ReadOnly on its own, what are you doing differently? I know the language. I've read a book. - _Madmatt
|
|
|
|
|
It might be that you forgot to close the connection to ms access...
|
|
|
|
|
Hi all,
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
Mahesh
|
|
|
|
|
You are using the ThirdParty control to display the Chart and you want to export the chard data to Excell ? but what third party control are you using ? Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
|
its better you post your question here
http://www2.nevron.com/forumIndex.html[^]
because i have never heard of those Controls before, i use Infragistics, Telerik and ComponentUIVuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I think you can insert the chart to excel as a picture, but I am not sure about this. Maybe you can have a try:P
modified 27-May-14 4:50am.
|
|
|
|
|
hello all,
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)
{
con.Open();
return con;
}
}
return con;
}
public clsConnection()
{
}
}
now in another class, I want to inherit the "clsConnection" class like:
public class registrationDal:clsConnection
{
public bool SaveCandidateInfo(string jobTitle)
{
try
{
string encrPwd = Encrypt(this.pwd);
SqlCommand cmd = new SqlCommand("sp_candidateinfo", objCon.connectionMethod());
cmd.CommandType = CommandType.StoredProcedure;
}
catch
{}
}
|
|
|
|
|
so what is the error in that ?
|
|
|
|
|
i want to know ..what is the use of inheriting a clsConnection??
for instance, in class
"public class registrationDal:clsConnection "
|
|
|
|
|
There is no need to inherite class in second fine instead of that you have to create one instance of that class and you have to use that one for ex.
public class registrationDal
{
public bool SaveCandidateInfo(string jobTitle)
{
clsConnection oclsConnection = new clsConnection ();
SqlConnection con = oclsConnection.connectionMethod();
try
{
string encrPwd = Encrypt(this.pwd);
SqlCommand cmd = new SqlCommand("sp_candidateinfo", con);
cmd.CommandType = CommandType.StoredProcedure;
}
catch
{}
}
|
|
|
|
|
ok thanx ...but could u tell me the use of inheriting the class in this case???
|
|
|
|
|
hi according to me there is not use to inherit the class over here
as per inheritance defination one of the use of inheriatance is to reuse your existance class methods and member
|
|
|
|
|
Dear All,
I have looked so many sites and slideshow extender is a quite easy to set-up. and all sites gives the pretty much same codes. And noone seems to have a problem with the codes.
However when I try to run the code autoplay seems not working. But the buttons (next pre) do loop among the images. I tried so many things, such as reinstalling ajaxToolkit, does anyone have an idea what might I miss?
Thanks alot.
|
|
|
|
|
Dear All,
the problem is solved I found the problem but in any case I will not delete the question since somebody else could come acrross with the same problem.
The problem was that I used Script Manager instead of toolkitScriptmanager...
when I added:
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</ajaxToolkit:ToolkitScriptManager>
it worked fine...
|
|
|
|
|
|
Hi...
i have to check the whether the user get logged in or not all pages...
how do i use Default.aspx page output in all pages?
any help will be appriciated.
Thanks...G.Paulraj
|
|
|
|
|
Use form authentication
or
Create one user control and insert that in your all page
in that user control check for the Session["username"]
and insert value in this Session["username"] when user login to system
|
|
|
|
|
what setting have to be made to send email from asp.net with c#
any settings in web.config file and any other setting please give simple example
|
|
|
|