Type: Posts; User: mcmcom
Search took 0.04 seconds.
November 2nd, 2007, 02:40 PM
make a method called somethign like
myDropDownList_SelectedIndexChanged(object sender, EventArgs e)
November 2nd, 2007, 02:36 PM
check this link out : http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-Roles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx
just a bit down the page...
November 2nd, 2007, 02:10 PM
can you be a bit more specific? what do you mean by "get" ?
do you want them to have to login with their windows username or do you want to display it on a page?
November 2nd, 2007, 02:05 PM
whats eactly the question here ?
and where exactly does this break ? error messages? stack trace? anything?
August 27th, 2007, 03:39 PM
you should put a breakpoint somewhere in the pre-render code and do a Watch on the frmBudgetSummary. It may have the control but you may need to drill down to it. using watch will let you know how...
August 27th, 2007, 11:30 AM
using System.Web.Mail shouldn't depend on the users SMTP settings. It depends on your Servers smtp settings. So all you have to worry about is that the server has access to a SMTP server. For...
August 27th, 2007, 11:25 AM
All you really need to do is upload the ASMX and binaries to a virtual directory or a site on IIS.
this page gives you some step by step:...
August 7th, 2007, 03:06 PM
heres an article that may help. It shows you how to download in the background while the app is running.
August 7th, 2007, 03:05 PM
Your attempting to use the InterOp classes for integration with MS Word. However it can't find the .dll your referencing. Add the Reference to your project by going
ADD REFERENCE (in solution...
August 4th, 2007, 06:12 PM
just a quick note. i would not name your Sql Command after your button. It may end up causing confusion when you look and notice you have multiple objects with the same name.
just name the...
August 3rd, 2007, 07:12 PM
you cant use DSN For SqlConnections (not to my knowledge anyways) but i think the reason SQL works but not ODBC is because of your ODBC Driver versions. We had the same symptoms a while back. The...
August 3rd, 2007, 02:17 PM
i suppose, although i dont know how to do it.
Also what kind of database are you using? if your finding troubles with ODBC and your using a SQL Database i would suggest using SqlCommand objects...
August 3rd, 2007, 02:06 PM
you would have to inject html into the string your putting into the cell
so if your string was "This is my great string" and you wanted great to be bold you would first have to get the string and...
August 3rd, 2007, 02:04 PM
open IIS And create VirtualDirectories named
point them all to the "application" directory
August 3rd, 2007, 02:03 PM
swap these lines
m_cmdStoredProc.Connection = m_oConn;
you have to assign the connection to the command object before you open it.
also check this article out, it...
August 3rd, 2007, 01:48 PM
also may want to try "ExecuteUpdate()" if your stored proc is updating (i dont know if it will help though)
August 3rd, 2007, 01:47 PM
ok show me your whole code block your using to call the SP Again please?
and verify with me you get No errors when you execute it?
August 3rd, 2007, 01:39 PM
how many parameters are you passing the Stored Proc from C#?
August 3rd, 2007, 01:11 PM
well its pretty much the exact same code for a windows form, the calls to SQL server are irralavant to the fact that its win forms or a web app. you still need a :
August 3rd, 2007, 01:09 PM
you dont need to put BEGIN and all that. it knows if its a stored procedure
m_cmdStoredProc.CommandType = CommandType.StoredProcedure;
m_cmdStoredProc.CommandText = storProc;
August 3rd, 2007, 12:15 PM
stored procedures are a bit better, that way if you got to change something you can usually get away without having to re-comple your app.
firstly you need to define what your using. You going...
August 3rd, 2007, 12:13 PM
can you show us the entire block of code making the call to the database?
do you have all the necessary libraries in your "using" statements at the top ?
August 3rd, 2007, 11:48 AM
i think the first thing i would try is this
//change this line
int rows = dsCreditors.Tables.Rows.Count;
//to this line
DropDownList ddl =...
July 18th, 2007, 12:41 PM
1. To Maintain code you re-use, create a separate class for the code. For example, if you have a function that calculates a total cost based on a product, price, and quantity you could create a...
July 18th, 2007, 12:36 PM
m.To = new MailAddress(txtEmail.Text);
MailAddress m = new MailAddress(txtEmail.Text);
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.