Click here to Skip to main content
15,897,315 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Webservice returning Dataset Pin
kjosh29-Aug-06 15:30
kjosh29-Aug-06 15:30 
GeneralRe: Webservice returning Dataset Pin
ToddHileHoffer30-Aug-06 2:43
ToddHileHoffer30-Aug-06 2:43 
QuestionDisplay random image form folder. Pin
munklefish29-Aug-06 6:38
munklefish29-Aug-06 6:38 
AnswerRe: Display random image form folder. Pin
ToddHileHoffer29-Aug-06 6:48
ToddHileHoffer29-Aug-06 6:48 
GeneralRe: Display random image form folder. Pin
munklefish29-Aug-06 6:57
munklefish29-Aug-06 6:57 
GeneralRe: Display random image form folder. Pin
ToddHileHoffer29-Aug-06 8:26
ToddHileHoffer29-Aug-06 8:26 
QuestionAdd/Delete Record Pin
shapper29-Aug-06 6:24
shapper29-Aug-06 6:24 
AnswerRe: Add/Delete Record Pin
ToddHileHoffer29-Aug-06 6:43
ToddHileHoffer29-Aug-06 6:43 
SQL
create proc insertEmail
(@email varchar(50)) as

if exsist( select * from dbo.yourTable where
where email = @email )
delete dbo.yourTable where
where email = @email
else
begin
insert into dbo.yourTable
(email) select @email
end

C#
SqlConnection conn = new SqlConnection();
conn.ConnectionString = "YourString";
SqlCommand cmd1 = new SqlCommand();
cmd1.CommandText = "insertEmail";
cmd1.Connection = conn;
cmd1.CommandType = CommandType.StoredProcedure;
cmd1.Parameters.Add(new SqlParameter("@email", stringEmail))
conn.Open();
cmd1.ExecuteNonQuery();
conn.Dispose;







how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things
--thedailywtf 3/21/06

GeneralRe: Add/Delete Record Pin
shapper29-Aug-06 11:02
shapper29-Aug-06 11:02 
GeneralRe: Add/Delete Record Pin
eggsovereasy30-Aug-06 3:29
eggsovereasy30-Aug-06 3:29 
AnswerRe: Add/Delete Record Pin
YeHtut29-Aug-06 20:24
YeHtut29-Aug-06 20:24 
QuestionForms Authentication and Crystalreportviewer.ReportSource Pin
vonny23229-Aug-06 5:46
vonny23229-Aug-06 5:46 
QuestionDatasets all over again Pin
drc_no129-Aug-06 4:56
drc_no129-Aug-06 4:56 
Questiondelete file from drive Pin
playout29-Aug-06 3:51
playout29-Aug-06 3:51 
AnswerRe: delete file from drive Pin
ToddHileHoffer29-Aug-06 4:12
ToddHileHoffer29-Aug-06 4:12 
GeneralRe: delete file from drive Pin
playout29-Aug-06 4:31
playout29-Aug-06 4:31 
GeneralRe: delete file from drive Pin
ToddHileHoffer29-Aug-06 4:32
ToddHileHoffer29-Aug-06 4:32 
GeneralRe: delete file from drive Pin
Baj2229-Aug-06 5:24
Baj2229-Aug-06 5:24 
GeneralRe: delete file from drive Pin
ToddHileHoffer29-Aug-06 6:21
ToddHileHoffer29-Aug-06 6:21 
QuestionFormatting the Data Display asp.net 2.0 Pin
Jay_se29-Aug-06 3:26
Jay_se29-Aug-06 3:26 
AnswerRe: Formatting the Data Display asp.net 2.0 Pin
ToddHileHoffer29-Aug-06 4:05
ToddHileHoffer29-Aug-06 4:05 
QuestionRe: Formatting the Data Display asp.net 2.0 Pin
Jay_se30-Aug-06 1:56
Jay_se30-Aug-06 1:56 
AnswerRe: Formatting the Data Display asp.net 2.0 Pin
ToddHileHoffer30-Aug-06 4:02
ToddHileHoffer30-Aug-06 4:02 
Questionrefresh problem Pin
fouad88829-Aug-06 0:53
fouad88829-Aug-06 0:53 
AnswerRe: refresh problem Pin
_AK_29-Aug-06 1:02
_AK_29-Aug-06 1:02 

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.