Browse by Tags

Related Posts

  • Data submission to SQL, presented in Gridview (repeat data submissions)

    Hello.... Just curious about how to clear out any data that might be held in the browser during the following scenario: -User inputs a massive amount of data into a text box. -Contents of text box are moved into an SQL table -Gridview displays the data from table ( no prob so far ) -Now, if the user...
    Posted to Data Presentation Controls (Forum) by FZero on 06-16-2009, 12:00 AM
    Filed under: GridView, back button, sql, repeat data, refresh browser
  • insert columns but get error about null datetime field

    Hi there, I am doing an INSERT into a table. I have a "DateCreated" field and I have set the field to ALLOW NULLS = FALSE but set the default value to getdate() When I execute the stored procedure it tell me "SqlException: Cannot insert the value NULL into column "DateCreated"...
    Posted to Data Access and ObjectDataSource Control (Forum) by mongoose_za on 06-11-2009, 12:00 AM
    Filed under: null, SQL, stored procedure, datetime
  • SQL AddWithValue problem

    The code below works fine: SqlStr = "UPDATE recorddb SET " + Target + " =@Record WHERE day=@Date" SqlCom = New SqlCommand(SqlStr, SqlCon) SqlCom.Parameters.AddWithValue( "@Record" , record) SqlCom.Parameters.AddWithValue( "@Date" , today) Note: Target is a string...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by kayson on 06-09-2009, 12:00 AM
    Filed under: sql, update, AddWithValue
  • Sum every column in Grid View

    i would like to ask how to sum each and every column in Grid View i've seen many posts on the web teaching how to sum a particular column. however, my GridView has some 40 columns. every column contains numbers which can be summed and there is no null value . is there a way which allows me to automatically...
    Posted to Data Presentation Controls (Forum) by kayson on 06-08-2009, 12:00 AM
    Filed under: sql, sum, gridview
  • SelectCommand SelectParameters not working correctly.

    I'm working on a form that is supposed to enter records into a table in an access db. While spitting out the results specific to the user, it only shows the first record. The Random Number part works perfectly, the insert statement works as well. It's the datalist that doesn't show up correctly...
    Posted to Data Presentation Controls (Forum) by InDeSkize on 06-04-2009, 12:00 AM
    Filed under: SelectCommand, SQL, AccessDataSource, controlparameter
  • Dealing with Images in SQL and ASP.net

    Hi There, I have a table in the database stored in SQL with the following specifications: IMAGES_TBL(SNO, ID,IMG) SNO- INT IDENTITY(1,1) ID - INT (can repeat through the table) IMG - of datatype IMAGE ( not stored as url but in bytes) In my code i upload images for a particular ID. There is no issue...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Deepa_Monteiro on 06-04-2009, 12:00 AM
    Filed under: sql, byte[], images, gridview
  • Convert sql query to e-mails using active directory LDAP

    I am not looking for specific code here, but more a general framework of how to tack this: I want to output e-mail messages to some users. But with the resources I am given I can only get names which are stored in our Active Directory (No there is no way I can just get the -mails). So I am querying a...
    Posted to Getting Started (Forum) by Gabriel_Haukness on 06-02-2009, 12:00 AM
    Filed under: SQL, Active directory, LDAP
  • Crystal report taking time in vb.net

    Hello everyone , I have an issue i.e, I am using crystal report(version 11 release 2) in my windows applications developed in vb.net (2005)and sql server(2005) as backend . In one of the forms i placed one reportviewer control, crystal report taking long time for preview & print(nearly 2 minute)...
    Posted to Crystal Reports (Forum) by ssrinimca on 05-31-2009, 12:00 AM
    Filed under: sql, taking time, VB.NET, crystal report
  • Re: SqlCommand and SqlConnection

    // System.Globalization.CultureInfo TrCulture = new System.Globalization.CultureInfo("tr-TR"); public static SqlConnection sqlBaglanti = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["Baglanti"]); public static void Sorgu_Calistir(string sql) { SqlCommand...
    Posted to Getting Started (Forum) by ozel1 on 05-29-2009, 12:00 AM
    Filed under: MS Access, SQL, as.net, connect asp.net website database, example, Sample Codes
  • Update SQL using sqldataadapter

    I am trying to write a system which allows users to enter thier details in a form which is then submitted to the database which i have managed to do so far but now i want to be able to let the update the details that they have previously entered in the same form. I have a dataadapter which fills a dataset...
    Posted to Visual Studio .NET 2003 and Visual Studio .NET 2002 (Forum) by Dazza22 on 05-28-2009, 12:00 AM
    Filed under: SQL, sqldataadaptor, Vb.net help
Page 1 of 68 (680 items) 1 2 3 4 5 Next > ... Last ยป