Click here to Skip to main content
14,841,844 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: MS access in .net Pin
Not Active11-Mar-10 1:16
mentorNot Active11-Mar-10 1:16 
AnswerRe: MS access in .net Pin
Ersan Ercek11-Mar-10 1:42
MemberErsan Ercek11-Mar-10 1:42 
QuestionCan i export third Party tool to excel Pin
ksss_maheshece10-Mar-10 22:49
Memberksss_maheshece10-Mar-10 22:49 
AnswerRe: Can i export third Party tool to excel Pin
Vimalsoft(Pty) Ltd11-Mar-10 3:08
professionalVimalsoft(Pty) Ltd11-Mar-10 3:08 
GeneralRe: Can i export third Party tool to excel Pin
ksss_maheshece12-Mar-10 1:15
Memberksss_maheshece12-Mar-10 1:15 
GeneralRe: Can i export third Party tool to excel Pin
Vimalsoft(Pty) Ltd12-Mar-10 1:43
professionalVimalsoft(Pty) Ltd12-Mar-10 1:43 
AnswerRe: Can i export third Party tool to excel Pin
carlecomm11-Mar-10 15:18
Membercarlecomm11-Mar-10 15:18 
Questionproblem in creating comman connection class Pin
Amit Spadez10-Mar-10 22:15
professionalAmit Spadez10-Mar-10 22:15 
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
{}
}
GeneralRe: problem in creating comman connection class Pin
Pranay Rana10-Mar-10 22:30
professionalPranay Rana10-Mar-10 22:30 
GeneralRe: problem in creating comman connection class Pin
Amit Spadez10-Mar-10 22:46
professionalAmit Spadez10-Mar-10 22:46 
AnswerRe: problem in creating comman connection class Pin
Pranay Rana10-Mar-10 22:57
professionalPranay Rana10-Mar-10 22:57 
GeneralRe: problem in creating comman connection class Pin
Amit Spadez10-Mar-10 23:07
professionalAmit Spadez10-Mar-10 23:07 
GeneralRe: problem in creating comman connection class Pin
Pranay Rana10-Mar-10 23:11
professionalPranay Rana10-Mar-10 23:11 
QuestionSlideShow Extender autoplay seems not working Pin
Ersan Ercek10-Mar-10 22:09
MemberErsan Ercek10-Mar-10 22:09 
AnswerRe: SlideShow Extender autoplay seems not working Pin
Ersan Ercek11-Mar-10 1:39
MemberErsan Ercek11-Mar-10 1:39 
GeneralRe: SlideShow Extender autoplay seems not working Pin
sanjay.netgains22-Nov-10 18:21
Membersanjay.netgains22-Nov-10 18:21 
QuestionHow to check whether the user logged in or not? Pin
Paulraj G10-Mar-10 22:07
MemberPaulraj G10-Mar-10 22:07 
AnswerRe: How to check whether the user logged in or not? Pin
Pranay Rana10-Mar-10 22:28
professionalPranay Rana10-Mar-10 22:28 
Questionwhat setting have to be made in web.config to send email from asp.net with c# Pin
developerit10-Mar-10 21:52
Memberdeveloperit10-Mar-10 21:52 
AnswerRe: what setting have to be made in web.config to send email from asp.net with c# Pin
Pranay Rana10-Mar-10 22:00
professionalPranay Rana10-Mar-10 22:00 
GeneralRe: what setting have to be made in web.config to send email from asp.net with c# Pin
developerit12-Mar-10 20:07
Memberdeveloperit12-Mar-10 20:07 
QuestionHow we send multiple sms Pin
lrsalunkhe10-Mar-10 21:47
Memberlrsalunkhe10-Mar-10 21:47 
AnswerRe: How we send multiple sms Pin
SeMartens10-Mar-10 21:55
MemberSeMartens10-Mar-10 21:55 
AnswerRe: How we send multiple sms Pin
jayantbramhankar11-Mar-10 0:26
Memberjayantbramhankar11-Mar-10 0:26 
Questionhow to mail 3to 5 address using asp.net with c# Pin
developerit10-Mar-10 21:43
Memberdeveloperit10-Mar-10 21:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.