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:765431
More Search Options
RSS Available
Matching Posts
Re: GridView Row Count after FilterExpression when AllowPaging = True
Using a SqlDataSource that would be: int totalRows = e.AffectedRows; In the Selected event of the SqlDataSource, this gives the total rows fected from the database, you can then use GridView.Pagesize and GridView.PageIndex to inform what rows are displaying is Paging is used. /Anders
Posted to
Data Presentation Controls
(Forum)
by
Ajes
on 4/30/2008
Re: Different menu for different login account
[quote user="rasberry81"]Ajes, can u show me in codes using "User.Identity.IsAuthenticated"?. i use windows authentication.[/quote] I haven't used windows authentication, but instead Forms, but i would think it works the same way when using User object. Lets say you have a btbButton on your page, which have its visible property set to false. Then what you have to do is have this code in your codebehind file. protected void Page_Load( object sender, EventArgs e) { btbButton
Posted to
Security
(Forum)
by
Ajes
on 4/14/2008
Re: Creating folders from last_insert_id()
Ok, so now i testet alot on this issue. I upgraded my .NET connector to 5.1.5, so im am able to use SqlDataSource with name parameters "?newid". Testet on a simple table "Test" with two columns id int auto_increment text char My SqlDataSource looks like this "SqlDataSource1" runat= "server" ConnectionString= "<%$ ConnectionStrings:ConnString %>" ProviderName= "<%$ ConnectionStrings:ConnString.providerName %>" InsertCommand
Posted to
MySQL
(Forum)
by
Ajes
on 4/12/2008
Re: Password Recovery not sending email
Glad i could help
Posted to
Security
(Forum)
by
Ajes
on 4/11/2008
Re: Different menu for different login account
You can set ASP button to Visible="false"; This you should do in the Page_Load event by checking User.Identity.IsAuthenticated Regards Anders
Posted to
Security
(Forum)
by
Ajes
on 4/11/2008
Re: Password Recovery not sending email
I have a site running use the same functionality without any problems. Only difference i can see is that my from="" is with @ and domain. Try adding some to our "admin", the email does not have to exists. Hope it works out. /Anders
Posted to
Security
(Forum)
by
Ajes
on 4/11/2008
Image resizer control
Hey people, I have this Custom Server Control. "C#" Class= "ShowImage" %> using System; using System.Web; using System.Data.Odbc; using System.Data; using System.IO; using System.Drawing; public class ShowImage : IHttpHandler { const int BUFFERSIZE = 1024; public bool IsReusable { get { return true ; } } public void ProcessRequest(HttpContext context) { Byte[] imgBytes = null ; context.Response.ContentType = "image/jpeg" ; String url = Utils.Decrypt(HttpUtility.UrlDecode
Posted to
Custom Server Controls
(Forum)
by
Ajes
on 4/11/2008
Max on datetime, with .net connector 5.1
´Hello people, I am rewriting my site to use .net connector 5.1, and have a problem with a select returning a date time. I use a SqlDataSource and wants to display the selected datetime like this. <% # Convert .ToDateTime( DataBinder .Eval(Container.DataItem, "submitted" )).ToString( "dddd dd MMMM kl. HH:mm" )%> This doesn't work for some reason. The datetime is selected by a sub select with max function, to get the newest datetime. Select executes fine but when evaluting
Posted to
MySQL
(Forum)
by
Ajes
on 4/4/2008
Re: Creating folders from last_insert_id()
Sorry cannot execute php pages. But executed select last_insert_id from dual in a query browser for MySQL, which worked fine.
Posted to
MySQL
(Forum)
by
Ajes
on 3/31/2008
Re: Creating folders from last_insert_id()
Sorry missed that last line. I have tried last_insert_id, and that returned the error posted in my previous post.
Posted to
MySQL
(Forum)
by
Ajes
on 3/30/2008
Page 1 of 4 (34 items) 1
2
3
4
Next >
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online