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:851820
More Search Options
RSS Available
Matching Posts
Re: How to Auto increment ID coloumn ?
[quote user="Qin Dian Tang - MSFT"] Hi sayed_mohamed_Darwish, I am not sure what the efficient way is. Based on my knowledge you can set it in ItemDataBound event by getting the max value of "ID" column: protected void ListView1_ItemDataBound(object sender, ListViewItemEventArgs e) { if (e.Item.ItemType == ListViewItemType.InsertItem) { TextBox tb = (TextBox)ListView1.InsertItem.FindControl("IDTextBox"); tb.Text = (Convert.ToInt32( yourDataTable .Compute("MAX(ID
Posted to
Data Presentation Controls
(Forum)
by
Steelymar
on 11/27/2009
Re: How to Auto increment ID coloumn ?
The ID is set to new row after you send insert statement to SQL server.... There is one solution but is not easy to achieve it: when user press button to add new row you can inset empty row in DB and after that instead of inserting switch to Updating this new row. in this case you will have ID in the textbox...
Posted to
Data Presentation Controls
(Forum)
by
Steelymar
on 11/23/2009
Re: Image not displaying through javascript
try : detailImage.src = "Images/" + image;
Posted to
Data Presentation Controls
(Forum)
by
Steelymar
on 11/23/2009
Re: How to Auto increment ID coloumn ?
read this to understand haw to use SCOPE_IDENTITY () http://forums.asp.net/p/1009434/1344886.aspx http://stackoverflow.com/questions/315963/getting-autonumber-primary-key-from-ms-sql-server http://msdn.microsoft.com/en-us/library/ms190315.aspx
Posted to
Data Presentation Controls
(Forum)
by
Steelymar
on 11/23/2009
Re: how to split a string
...and what is your slit criteria?
Posted to
Getting Started
(Forum)
by
Steelymar
on 11/23/2009
Re: using Regular Expression Validator for numeric values
try with: \d*
Posted to
Getting Started
(Forum)
by
Steelymar
on 11/23/2009
Re: Programmatically check if dll exists in GAC?
this can be useful: http://www.eggheadcafe.com/software/aspnet/32079348/determine-if-assembly-is.aspx
Posted to
Getting Started
(Forum)
by
Steelymar
on 11/23/2009
Re: using Regular Expression Validator for numeric values
use \d{5}-\d* this if you wont to have from 0 to X digits or \d{5}-\d+ for more then one
Posted to
Getting Started
(Forum)
by
Steelymar
on 11/23/2009
Re: Share Personalize Web Parts between admin and anonymous?
The easiest way is to copy all rows from database table aspnet_PersonalizationPerUser to aspnet_PersonalizationAllUsers where UserID is the ID of Admin ........................ otherwise you can add custom SqlPersonalizationProvider: http://msdn.microsoft.com/en-us/library/aa478955.aspx
Posted to
Web Parts and Personalization
(Forum)
by
Steelymar
on 11/23/2009
Re: error!!
read this: http://forums.asp.net/t/1494725.aspx
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Steelymar
on 11/23/2009
Page 1 of 125 (1242 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Getting ready to relaunch my site on Umbraco CMS
Channel 10:
Four Holiday Themes for Windows 7
Channel 10:
Windows Live Plugin "LiveUpload for YouTube" Updated
TechNet Edge:
Windows 7 BranchCache™ Explained
ASP.NET:
Localizing ASP.NET MVC Validation
WindowsClient:
Debugging Crash Dumps with Visual Studio 2010
WindowsClient:
Debugging Crash Dumps with Visual Studio 2010
Channel 9:
Channel 9 Live at PDC09 Kurt DelBene
Channel 9:
Channel 9 Live at PDC09 Mike Anguilo
Channel 9:
Channel 9 Live at PDC09: Dean Hachamovitch
Channel 9:
Channel 9 Live at PDC09: Gary Flake
Channel 9:
Channel 9 Live at PDC09: Mark Russinovich and Patrick Dussud
Channel 9:
Ping 40: Black screen claims- retracted, Windows 7, Bing Maps, Office 2010
WindowsClient:
WPF Touch Basics
WindowsClient:
WPF Touch Basics
TechNet Edge:
AlignIT IT Manager Podcast #32: Agile Application Lifecycle Management
Channel 9:
Bharat Shah: Microsoft Online Services Overview
WindowsClient:
Holland America adds Surface to several ships in it’s new Mix lounge
ASP.NET:
RIA Services Link Listing #1
Channel 9:
Reactive Extensions API in depth: Merge
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online