Search

You searched for the word(s): userid:630670

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
  • 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 ยป