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:721287
More Search Options
RSS Available
Matching Posts
Re: SQL Server 2005
You don't know the SA account password or what? You could connect to the Management Studio by using the Windows Authentication, or if your credentials are not enough you can run the Studio under the Administrator account. When you get access to the Studio you can create sql logings if desire or change the sa password, if you have enough credentials under the windows account you have logged on the server. But this is a long discussion, unless you provide us with more information about the situation
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
Denis Chiochiu
on 8/5/2008
Re: only allowing logged in users to insert
Page.User.Identity.Name gives you the username of the logging user. If you want the Id of the user you can cross reference the name with the user table to find your desided id.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
Denis Chiochiu
on 7/30/2008
Re: only allowing logged in users to insert
Go about it this way: - when the user wants to access a page/ option for witch he needs to be logged in, just check if he is. If he is not send him to the login page, if he is he will have access to the desired feature of your site, be it a web form or a resource. - You check if you user is authenticated by checking the Page.User.Identity.IsAuthenticated (bool)
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
Denis Chiochiu
on 7/30/2008
Re: Treeview Indent Issue
I have no idea what is wrong. I tried your code but i get a different result. In IE7 everything is ok and indeed there are some lines but they are invisible (you see them only if you select all), but in Firefox i don't see the tree at all.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
Denis Chiochiu
on 7/30/2008
Re: how to insert multiple rows using microsoft sql server 2005?
But you shouldn't look to the Insert statement , rather to the Update. I am guessing here but if line or rather post from one discussion are move to another discussion you will just need to update the IdDiscussion to see then in the proper place. But for argument sake you can call the stored proceduce over and over again fron code... feading it all the values it need.
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
Denis Chiochiu
on 7/30/2008
Re: designing gridview paging /sorting and others
[quote user="seth69"] is it better to use the paging option in the gridview or use code behind paging.. can anyone help me with this ? [/quote] Takes longer, it's error prone to make it yourself when it is already done.
Posted to
Data Presentation Controls
(Forum)
by
Denis Chiochiu
on 6/12/2008
Re: designing gridview paging /sorting and others
For the Paging part, you have a Pager Template. You will do your magic there. Put all the controls you need, like the DropDownList and Lable/s to tell you : Displaying 1 - 15 of 217298 For the Display part, you need only one templateColumn to make it happen. In it you will bind stuff like photos , links, data, etc. This is all you need. If you want a more sophisticated grid, look to third-party control suite provider.
Posted to
Data Presentation Controls
(Forum)
by
Denis Chiochiu
on 6/12/2008
Re: WOW!picture to text!
You transform you picture into a map of grayscale values, 0..255. So each letter in the text you see is in fact a mapping between the numbers 0 ... 255 and a letter or group of letters.
Posted to
Web Forms
(Forum)
by
Denis Chiochiu
on 6/6/2008
Re: ExecuteNonQuery Affected Rows returns -1
If you want to return the number of affected rows even if you are in stored procedure take a look at this script: UPDATE authors SET city = 'Oakland' WHERE city = 'Salt Lake City' SELECT @@rowcount AS 'RowsChanged' Information about @@rowcount : http://msdn.microsoft.com/en-us/library/ms187316.aspx
Posted to
Getting Started
(Forum)
by
Denis Chiochiu
on 6/6/2008
Re: ExecuteNonQuery Affected Rows returns -1
Take you code to a fresh page, remove all your try catch cause they will hide any errors and see what you get. It should be ok. But just in case use the SQL Profiler to see what happens to your command.
Posted to
Getting Started
(Forum)
by
Denis Chiochiu
on 6/5/2008
Page 1 of 20 (198 items) 1
2
3
4
5
Next >
...
Last ยป
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Channel 10:
ASUS Brings GUI to BIOS
ASP.NET:
Microsoft AJAX CDN โ Now with SSL Support
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
ASP.NET:
PDC09 Talk: Building Amazing Business Applications with Silverlight 4, RIA Services and Visual Studio 2010 โ Now in Visual Basic!!
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles โ Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online