|
|
Hi,
If I create a private WebMethod, will it expose to the application ? If not, then what is the use of that ?
Rahul
|
|
|
|
|
NO it will not be available. Private methods are made for operations within that class. 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/
|
|
|
|
|
Hi,
I want the control like used in
https://online.epocrates.com/noFrame/
in "Drugs" tab in this site.
Which has A-Z links and on click of each letter showing list of medicines.
If someone knows, pls help me.
|
|
|
|
|
A very easy control to implement, what have you tried, what are your ideas? We are not here to write code for you. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
As Mark has said this is a very easy control, you could use ASP.NET AJAX to do something like this, but since we are not going to give you the code you should check this link[^] and start learning.
|
|
|
|
|
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
|
|
|
|