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:630670
More Search Options
RSS Available
Matching Posts
Re: best approach
There a lots of ways to do this. Maybe you could use a Ajax modal popup control?
Posted to
Web Forms
(Forum)
by
HypAJace
on 10/9/2008
Re: Gridview Edit Parameters for ObjectDatasource
When I initially tried to Bind() I was getting a two way binding error, what solved it was adding a function specifically for populating the dropdownlist like DataSource='<%# PopulateDDL() %>' and then setting the SelectedValue property to a Bind() then worked without throwing the error. Thank you for your repsonses and time!
Posted to
Data Presentation Controls
(Forum)
by
HypAJace
on 10/9/2008
Re: Gridview Edit Parameters for ObjectDatasource
Well.. changing from Eval to Bind did the trick on all but the ddlInstructors DropDownList. It is the only one that is dynamically populated... I do that with this code in the code behind: protected void gvwClasses_rowdatabound( object sender, GridViewRowEventArgs e) { //Setup database connection string qryString1 = "SELECT [ID],[NAME],[Abbreviation] FROM [Instructors]" ; SqlConnection connection = new SqlConnection ( ConfigurationManager .ConnectionStrings[ "LocalSqlServer"
Posted to
Data Presentation Controls
(Forum)
by
HypAJace
on 10/8/2008
Re: Creating a table in an SQL Server database using a C# coded button
It can be done via SQL syntax like such "CREATE TABLE tablename" you will also have to ensure that the user you are connecting to the DB with has the appropriate permission to create tables. If your asking how to send that.. it would be something like : string qryString1 = "CREATE TABLE [TableName]" ; SqlConnection connection = new SqlConnection ( ConfigurationManager .ConnectionStrings[ "LocalSqlServer" ].ConnectionString); SqlCommand command = new SqlCommand (qryString1
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
HypAJace
on 10/8/2008
Re: .Net Framework 3.5 sp1
Short answer.. yes, I believe you will need SP1 installed! Happy Coding! Jace
Posted to
ASP.NET MVC
(Forum)
by
HypAJace
on 10/8/2008
Re: Gridview Edit Parameters for ObjectDatasource
Thank you for the quick response, I tried that, same thing. I will keep them seperate anyways, thats just good advice. The classesID (DataKeyName) and the querystring parameter (ScheduleID) are the only values getting passed. The name, Day, StartTime and Instructor are all not getting passed into the object. There is also an error in that code I posted: < asp : DropDownList runat ="server" ID ="ddlInstructors" SelectedValue =' <%# Eval("InstructorID") %>
Posted to
Data Presentation Controls
(Forum)
by
HypAJace
on 10/8/2008
Gridview Edit Parameters for ObjectDatasource
I have been trying everything I could think of or find to fix this but I just can't seem to get it working. I have a page with a FormView (frmViewClasses to insert classes) and a GridView (gvwClasses to view and edit classes) that both use an ObjectDataSource. I load values into DropDownList's (static for days and times and dynamically for the instructors) in edit mode for the Grid but when I update the row the parameters passed are not correct (there still at 0 instead of the selected value
Posted to
Data Presentation Controls
(Forum)
by
HypAJace
on 10/8/2008
Re: DateTime format question
Told you i was tired... thank you very much.
Posted to
Getting Started
(Forum)
by
HypAJace
on 9/15/2008
DateTime format question
Ok, I have created a custom CreateUserWizard with additional steps that save to the profile in the UserCreated event. This line is throwing an error that 9/4/2008 : String was not recognized as a valid DateTime. Also what would be the best way to handle null values? Condition on text for the text box? I am tired been working on this thing all day and now this pops up. Any help would be appreciated. p.BirthDate = DateTime .ParseExact(txtBirthDate2.Text, "MM/dd/yyyy" , System.Globalization
Posted to
Getting Started
(Forum)
by
HypAJace
on 9/14/2008
Re: calling db connection string from within http module?
Looks to me like you are missing the reference to System.Configuration VB Imports System.Configuration C# using System.Configuration;
Posted to
Getting Started
(Forum)
by
HypAJace
on 9/3/2008
Page 1 of 8 (79 items) 1
2
3
4
5
Next >
...
Last ยป
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
JScript location bar silliness
WindowsClient:
Anybody build a XAML parser in C or C++ yet?
WindowsClient:
Silverlight use, power and deployment keeps growing; so does WPF
ASP.NET:
T4CSS: A T4 Template for .Less CSS With Compression
WindowsClient:
JSON-P: An Elegant Hack
Channel 9:
Photosynth Update and New UI
Channel 9:
First Look: Streetside in Bing Maps
Channel 9:
Coding4Fun at PDC 2009
WindowsClient:
10 Must-See PDC 09 Sessions
Channel 10:
Photosynth Updated with New Release and New UI
Channel 10:
WindowsBlinds 7 Now Works with Windows 7
Channel 10:
Zune HD Launches New Colors
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online