Browse by Tags

Related Posts

  • How to display data in Uppercase in some Datagrid columns?

    In some of the columns on my datagrid the data are displayed in mixed cases; some data are "all Caps" (all upper case letters), some are in "Title Case" format (Capitalized frist letter followed by lower case letters), while other are in lower case (this is the way they are stored...
    Posted to Web Forms (Forum) by sg2000 on 10-22-2006, 12:00 AM
    Filed under: ASP.NET 1.x, form, c#, Database
  • How to add a "dummy" dropdown list item

    My Web form contains a dropdown list which is populated by data from the database table; the dropdown list will thus display a list of items from the DB. Since this particular field is optional, I want the dropdown list to be able to show a blank item that the user may select when the field is to be...
    Posted to Web Forms (Forum) by sg2000 on 10-26-2006, 12:00 AM
    Filed under: ASP.NET 1.x, c#, DropDownList, Database
  • Validating data in BoundColumn field

    i have a datagrid with boundcolumns. unfortunately, due to business rules, I have to use bound columns for displaying my editable data. I otherwise would use a template column and put and editItemtemplate tag in. the edit-mode textboxes basically need to be decimals(scale 2). if the user doesn't put...
    Posted to Data Presentation Controls (Forum) by isheahan on 12-20-2006, 12:00 AM
    Filed under: datagrid, database, BoundColumn, BoundField, edit, data, validation, c#
  • Retrieving byte data form data base

    Hi i stored document file in database.i am retrieve that document from data base it's get error.i am using ObjectDatasource. i am Accessing throught Storedprocedure and i am to know convertion of this document in main format.. can any help me on that issue.. thanks Rambhopal reddy
    Posted to Access Databases and AccessDataSource Control (Forum) by rambhopalreddy on 01-22-2007, 12:00 AM
    Filed under: database, access, c#, AccessDataSource INSERT problem, Access database query string
  • Saving images from formview

    Hello, At first when it was error free i thought it worked until i noticed the image field within my database was empty. Basically i am using visual studio 2005 with a ms sql 2005 database with c# and asp.net2.0. I have created a formview on my sell.aspx page which users can place items for sale. They...
    Posted to Data Presentation Controls (Forum) by copperchair32 on 01-28-2007, 12:00 AM
    Filed under: database, asp.net 2.0, datatype, insert, c#, fomview
  • Remote connecting MS Access

    Hello, I am using the Visual Sudio 2005 / C#. I have no prroblem to connect to a local MS-Access database. I would like to connect to a remote MS-Access What software should run on the machine that hold the MS-Access? Let say the the MS-Access name is AccessTest.mdb, the table name testtable, and it...
    Posted to Access Databases and AccessDataSource Control (Forum) by adembitz on 01-28-2007, 12:00 AM
    Filed under: database, access, c#, mdb
  • How to retrieve document file form database using ObjectDatasource

    Hi Friends i am storing document file in database like in UI HttpPostedFile selectedFile = FileUpload1.PostedFile; if (FileUpload1.HasFile) { if (CheckFileType(FileUpload1.FileName)) { fs = new FileStream (selectedFile.FileName, FileMode .Open, FileAccess .Read); FileSize = Convert .ToUInt32(fs.Length...
    Posted to Access Databases and AccessDataSource Control (Forum) by rambhopalreddy on 01-29-2007, 12:00 AM
    Filed under: database, access, c#, AccessDataSource INSERT problem, date
  • Re: Saving images from formview

    Ok, so i have now managed to save the image into my 'Images' folder on my server from a FormView. Now all i need to do is save the images url into my ms sql 2005 database. Does anybody know what datatype these images should be saved too and how i go about the coding behind it in c# and asp.net2.
    Posted to Data Presentation Controls (Forum) by copperchair32 on 02-02-2007, 12:00 AM
    Filed under: FormView, database, c#, sql, formview template insert
  • convert .net type to DbType (SqlDbType)

    Hello, I have following problem: I have object property (type of byte[]) which is null and I need to insert it into datatable in my sql database. But I have problems with DbParameter - when I set DbNull as its value, in DbParameter remains type of String. Which throw exception during execution of command...
    Posted to Data Access and ObjectDataSource Control (Forum) by vipi on 02-16-2007, 12:00 AM
    Filed under: ASP.NET, .NET SQL Server 2005, Database, Dataset population problems, 2.0, c#
  • Dataset showing inconsistent results

    This is a tricky one. I created a dataset using the designer, to produce a data table for use in a report. The query selects a student's name and other details based on a parameter, their student ID. I tested the results in the designer, using one student's ID. Everything worked fine. However, later...
    Posted to Data Access and ObjectDataSource Control (Forum) by wibblet on 02-22-2007, 12:00 AM
    Filed under: asp.net 2.0, output, data layer methods, database, DataTable.Select Method, Query string, dataset, data access, C#, data, asp.net.c#, newbie
Page 1 of 5 (43 items) 1 2 3 4 5 Next >