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:826472
More Search Options
RSS Available
Matching Posts
Re: Manipulate field values before insert or update occurs
Add those as 4 columns to all the tables. Then pass UserID or UserName to the Insert or Update Stored Procedure. In the Insert Procedure Set the columns addedBy to UserID and AddedOn with GetDate() function. In the Update Procedure Set the columns ChangedBy to UserID and ChangedOn with GetDate() function. I guess you got what i said.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
vemulapalli26
on 4/20/2009
Re: Sorting Gridview by Date and Time
You can use this way: Ascending: dt.DefaultView.Sort = "date ASC" Descending: dt.DefaultView.Sort = "date DESC"
Posted to
Data Presentation Controls
(Forum)
by
vemulapalli26
on 4/13/2009
Re: The timeout period elapsed prior to completion of the operation or the server is not responding.
try setting the CommandTimeout property for this command Object to higher times and give a try again. Let us know what u see.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
vemulapalli26
on 4/11/2009
Re: Remove dynamicly columns from an gridview
Try setting the visible= false statement after the DataBind. I think you are trying to hide the columns in gridview before binding the columns to gridview. Can't really say if this solves the problem.
Posted to
Data Presentation Controls
(Forum)
by
vemulapalli26
on 4/9/2009
Re: retrieving multiple IDs from gridview
Keep a checkbox column in the gridview and let the user select any number of rows. Upon button click go through all rows and find out which rows are user selected n create a comma delimited string of ID's. Perform whatever operation you want to do.
Posted to
Data Presentation Controls
(Forum)
by
vemulapalli26
on 4/8/2009
Re: Re-populate CheckBoxList with selected items
Load all the Data into Hastable using the following code. Here dt is the Datatable and hs is the hashtable. if (dt.Rows.Count > 0) { foreach ( DataRow dr in dt.Rows) { hs.Add(dr[ "ID" ].ToString(), dr[ "Title" ].ToString()); } } After this use the following logic: if (chklstBox.Items.Count > 0) { for ( Int32 i = 0; i < chklstBox.Items.Count; i++) { if (hs.ContainsKey(chklstBox.Items[i].Value)) { chklstBox.Items.FindByValue(chklstBox.Items[i].Value).Selected = true ;
Posted to
Data Presentation Controls
(Forum)
by
vemulapalli26
on 4/8/2009
Re: DropDownList Question...
Any Dropdown list has DataTextField and DataValueField properties. With DataTextField you can assign the text data which is visible to users and DataValueField is related ID value for each item. So you can assign your GUID value to the DataValueField. You can assign like this: DropDownList.DataSource = DATASET or DATATABLE; DropDownList.DataTextField = ItemText ; DropDownList.DataValueField = GUID; DropDownList.DataBind();
Posted to
Web Forms
(Forum)
by
vemulapalli26
on 4/8/2009
Re: try catch finally - CS0165: Use of unassigned local variable error
What you wrote in example 1 is the right code for using the Try Catch Finally block. Just remove the dbReader.Close() from the finally block and see. Just assigning NULL to dbReader will be sufficient. we needn't close it. One more idea is try the "using" keyword for automatic object cleaning.
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
vemulapalli26
on 4/8/2009
Re: Remove dynamicly columns from an gridview
You might be trying to access the columns which were removed. Check out if thats the case.
Posted to
Data Presentation Controls
(Forum)
by
vemulapalli26
on 4/8/2009
Re: Access javascript function from js file to asp.net
whats the error you are getting. Do you have any parameters for that javascript function. You pass Login and itemIndex to the function. What is the parameter Login inside that code?
Posted to
Client Side Web Development
(Forum)
by
vemulapalli26
on 4/7/2009
Page 1 of 12 (115 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online