Click here to Skip to main content
15,902,845 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: on the fly adding DataFormatString to a TableCell in a GridView Pin
tech60318-Mar-09 13:59
tech60318-Mar-09 13:59 
GeneralRe: on the fly adding DataFormatString to a TableCell in a GridView Pin
Herman<T>.Instance19-Mar-09 2:46
Herman<T>.Instance19-Mar-09 2:46 
GeneralRe: on the fly adding DataFormatString to a TableCell in a GridView Pin
Herman<T>.Instance19-Mar-09 5:29
Herman<T>.Instance19-Mar-09 5:29 
QuestionProblem with my windows service [modified] Pin
gottimukkala18-Mar-09 6:30
gottimukkala18-Mar-09 6:30 
AnswerRe: Problem with my windows service Pin
Herman<T>.Instance18-Mar-09 6:48
Herman<T>.Instance18-Mar-09 6:48 
GeneralRe: Problem with my windows service Pin
gottimukkala18-Mar-09 6:50
gottimukkala18-Mar-09 6:50 
GeneralRe: Problem with my windows service Pin
Herman<T>.Instance18-Mar-09 6:57
Herman<T>.Instance18-Mar-09 6:57 
GeneralRe: Problem with my windows service Pin
gottimukkala18-Mar-09 7:05
gottimukkala18-Mar-09 7:05 
Here is the code of my messaging class:
public class Message : IDisposable
{
public Hashtable HtEmails;
public HttpContext Context;
public bool ThreadExecution = false;
public string From;
public string Subject;
public string SmtpClient;
public string Body;
public string EmailProvider;
public string Username;
public string FullName;
public string ActivationMessage;
public Guid UserId;
public GlobalSettings gs;
public Uri Url;
public string ApplicationPath;

public enum Box
{
Inbox,
Outbox
}

DataAccess _da;
DataSource _ds;

public Message()
{
_da = new DataAccess();
_ds = new DataSource(_da);
ConfigurationProvider cp = new ConfigurationProvider();
gs = cp.GlobalSettings;
}
public bool InsertMessage(string from, string to, string subject, string body, string senderIPAddress)
{
try
{
SqlParameter[] _params = {
new SqlParameter("@MessageId", Guid.NewGuid()),
new SqlParameter("@From", from),
new SqlParameter("@To", to),
new SqlParameter("@Subject", subject),
new SqlParameter("@Body", body),
new SqlParameter("@SenderIPAddress", senderIPAddress)
};

_ds.ExecuteNonQueryProcedureProxy("InsertMessage", _params);

return true;

}
catch (Exception e)
{
EventLog.WriteEntry("WideDocs", e.ToString(), EventLogEntryType.Error);
return false;
}
}
}
GeneralRe: Problem with my windows service Pin
Herman<T>.Instance18-Mar-09 7:57
Herman<T>.Instance18-Mar-09 7:57 
QuestionListening for database updates in asp .net Pin
hardboy11118-Mar-09 5:00
hardboy11118-Mar-09 5:00 
AnswerRe: Listening for database updates in asp .net Pin
Abhijit Jana18-Mar-09 5:16
professionalAbhijit Jana18-Mar-09 5:16 
AnswerRe: Listening for database updates in asp .net Pin
Yusuf18-Mar-09 6:15
Yusuf18-Mar-09 6:15 
GeneralRe: Listening for database updates in asp .net Pin
hardboy11118-Mar-09 7:06
hardboy11118-Mar-09 7:06 
QuestionGeneral Webparts Related Question. Pin
mr_muskurahat18-Mar-09 4:21
mr_muskurahat18-Mar-09 4:21 
AnswerRe: General Webparts Related Question. Pin
Abhishek Sur18-Mar-09 5:20
professionalAbhishek Sur18-Mar-09 5:20 
QuestionDropdownlist problem Pin
khuzwayom18-Mar-09 4:19
khuzwayom18-Mar-09 4:19 
AnswerRe: Dropdownlist problem Pin
Abhijit Jana18-Mar-09 4:35
professionalAbhijit Jana18-Mar-09 4:35 
GeneralRe: Dropdownlist problem Pin
khuzwayom18-Mar-09 4:43
khuzwayom18-Mar-09 4:43 
GeneralRe: Dropdownlist problem Pin
Abhijit Jana18-Mar-09 5:04
professionalAbhijit Jana18-Mar-09 5:04 
GeneralRe: Dropdownlist problem Pin
khuzwayom18-Mar-09 5:09
khuzwayom18-Mar-09 5:09 
GeneralRe: Dropdownlist problem Pin
Abhijit Jana18-Mar-09 5:13
professionalAbhijit Jana18-Mar-09 5:13 
GeneralRe: Dropdownlist problem Pin
khuzwayom18-Mar-09 5:16
khuzwayom18-Mar-09 5:16 
AnswerRe: Dropdownlist problem Pin
Abhijit Jana18-Mar-09 5:43
professionalAbhijit Jana18-Mar-09 5:43 
QuestionUsing URL to link to a page, and load from a database using values in the URL Pin
Ragonastick18-Mar-09 3:48
Ragonastick18-Mar-09 3:48 
AnswerRe: Using URL to link to a page, and load from a database using values in the URL Pin
Yusuf18-Mar-09 4:14
Yusuf18-Mar-09 4:14 

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.