|
|
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
|
|
|
|
|
Below is one example of SMTP email setting defined in web.config file:
(Under <configuration> Section)
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="testuser@domail.com">
<network defaultCredentials="true" host="localhost" port="25" userName="kaushal" password="testPassword"/>
</smtp>
</mailSettings>
</system.net>
|
|
|
|
|
|
Respected,
How we send multiple sms in asp.net with c#.
I have use API for this.
Thanks in Advance;
|
|
|
|
|
|
you can append semicolon ";" with the number...
ex:- 9876543210;9812345665;98798790
Most of gateway providers provides this facility..
|
|
|
|
|
in visual studio 2005 how to mail 3 to 5 address at a time using asp.net with c#. can you give a simple example.
|
|
|
|
|
|
use bcc to send mail to multiple users each mail separated by a comma(,). hi
|
|
|
|
|
hi sir,
i am new in asp.net.sir i want to know that is there any java script with the help of which we can stop page reloading at the time of using ajax control.
sir i know that update panel can do this.but sir i do not want to use update panel.i mean i want to stop my page reload without using update panel while i am using ajax.
|
|
|
|
|
Hi guys need advise
Currently , i need to create a crystal report. However i need to create a very dynamic one as i do not have a fix amount of fields. I was just wondering is that any solution that i can create the field i need using code behind to display out on the rpt file.
Normally we will drag the field from dataset to define those fields to display. Now i am asking if there is a way to do it at code behind level with out dragging from dataset?
KaKaShi HaTaKe
|
|
|
|