Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:710803
More Search Options
RSS Available
Matching Posts
Re: How to send zip to client after successful sql insertion?
I tried this and the same thing happened, the multiview never switch before the user is prompted download the file. Any idea why? 1 protected void btnSubmit_Click( object sender, EventArgs e) 2 { 3 BHData mailer = new BHData(); 4 5 if (mailer.AlreadyOnMailingList(txtEmail.Text)) 6 { 7 lblError.Text = "You are already subscribed." ; 8 } 9 10 if (!mailer.AlreadyOnMailingList(txtEmail.Text)) 11 { 12 if (mailer.AddMailingList(txtEmail.Text)) 13 { 14 MultiView1.SetActiveView(submitted); 15 DownloadEP
Posted to
Web Forms
(Forum)
by
frist44
on 8/26/2008
How to send zip to client after successful sql insertion?
I have a email address submittal on my page. A button inserts the email into the database, and if successful, i have a multiview change from one view to another, and then if successful, i'd like to send the client a zip package. Right now I have: protected void btnSubmit_Click( object sender, EventArgs e) { string strConnection = ConfigurationManager .ConnectionStrings[ "bh" ].ConnectionString; SqlConnection myconnection = new SqlConnection (strConnection); string insertCmd = "INSERT
Posted to
Web Forms
(Forum)
by
frist44
on 8/26/2008
Re: Redirect based on Login username
Ok, i figured it out. Roles and different authorization for those areas and redirecting based on a role or username.
Posted to
Security
(Forum)
by
frist44
on 7/28/2008
Redirect based on Login username
Hi -- i have a probably simple login question. I want to allow users to login, but based on the username, direct them to a certain VD. I suppose you could easily do Response.Redirect ("VD"), but what kind of security do i put on the VD, because i don't want to have them have to login again, but I also don't want to allow anonymous. Somehow those credentials from the initial login page need to be carried over. Thanks!
Posted to
Security
(Forum)
by
frist44
on 7/28/2008
Re: Database growing rapidly. What to do?
Thanks for all the good info. I guess relative to other databases, mine is probably not that big. Everything seems to be functioning find with regards to its performace on the asp site. I have a couple years of administration, but none really tuning anything. Anyway, sounds like maybe I jumped the gun a little bit. Thanks again for all the good info!
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
frist44
on 6/17/2008
Database growing rapidly. What to do?
We have a database that's growing pretty fast because of firewall logs. We need the data available via an asp.net application. I don't have great experience with SQL other than installing and doing some development as a back end, so i'm wondering if there's a general rule of thumb of database size, when you should start breaking it out into smaller segments? if so, what are some good practices?
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
frist44
on 6/16/2008
Re: Check db input for duplicates
I was hoping to get some other opinions, but sure....
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
frist44
on 6/4/2008
Re: Check db input for duplicates
gotcha, thanks.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
frist44
on 6/4/2008
Check db input for duplicates
I was just thinking about a situation... Let's say hypothetically, I have a textbox, that i would like someone to input their email address to be added to a mailing list. I would like to first check to see if that email address exists in the database, rather than run a sql statement to check, and then run the update command, is it better to run an IFEXIST() type thing in sql and do the code there?
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
frist44
on 6/4/2008
Re: content editor in for multiline textbox
Yes. Look at the read me file with the package. You have to tell it not to autogenerate the toobars, and then specify each one you want. <FTB:FreeTextBox ID="FreeTextBox1" AutoGenerateToolbarsFromString="false" runat="Server"> <Toolbars> <FTB:Toolbar> <FTB:FontSizesMenu /> <FTB:FontForeColorsMenu /> <FTB:Bold /> <FTB:Italic /> <FTB:Underline /> <FTB:RemoveFormat /> </FTB:Toolbar> </Toolbars> </FTB:FreeTextBox>
Posted to
Web Forms
(Forum)
by
frist44
on 5/30/2008
Page 1 of 45 (447 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
UAG reaches RTM
Channel 9:
Who, What, When, Where, Why and How of MIX10
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 2, Installation
Silverlight:
Contributing to the SL HVP
Silverlight:
Best SF Books of All Time
Channel 9:
Reactive Extensions API in depth: Repeat
Channel 9:
Jeffrey Van Gogh: Testing Rx with Pex
Channel 9:
The Visual Studio Documentary: Dan Fernandez Full Length Interview
ASP.NET:
Search Engine Optimization (SEO) Toolkit
Channel 10:
This Is Your Data on Silverlight
ASP.NET:
How the IIS SEO Toolkit Saved My Butt
TechNet Edge:
Windows 7 XP Mode User Experience
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 9:
endpoint.tv - Windows Server AppFabric in action monitoring and troubleshooting
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online