Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

h ma

@h ma
About
Posts
30
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • connection code in app_cofig file using windows form
    H h ma

    my connection code is: String strConnection; strConnection = "server=localhost;User ID=sa;Password=sas;database=db"; SqlConnection conn = new SqlConnection(strConnection); conn.Open(); how will i write it in any application configuration file working in windows form,and call it on every page that needs to b connected?? can any body help me??

    $h@ma!|@

    ASP.NET database sysadmin help question workspace

  • update dataset
    H h ma

    thx but i dun understand how to create dataset from user entered values and update to db:(:doh:

    $h@ma!|@

    ASP.NET question announcement

  • update dataset
    H h ma

    i m using dataadapter to handle dataset..the date is shown in the datagrid..now i want to update the records edited by the user i have used one button to show the records,(in which i hv declared dataadapters and dataset) and behind "edit record" button i want to write the code for updation if i use the command DataAdapter.Update(Dataset); what should i do as the dataadpter and dataset are declared behind the other button?? is there any other option ( i m not using stored procedures)

    $h@ma!|@

    ASP.NET question announcement

  • wildcard charcters
    H h ma

    wild card characters are used to match strings as select * from table where name LIKE '%brown%'; but doesnt supports matching of dates,number what will we do if we want approximate matching of dates and numbers??

    $h@ma!|@

    ASP.NET regex question

  • problem in SELECT statement
    H h ma

    well tbl is the tablename in databases..actually these are not the actual tablenames but it was to simplify the query to post

    $h@ma!|@

    ASP.NET help

  • problem in SELECT statement
    H h ma

    still no progress!!:(

    $h@ma!|@

    ASP.NET help

  • problem in SELECT statement
    H h ma

    some exception is handled at runtime

    $h@ma!|@

    ASP.NET help

  • problem in SELECT statement
    H h ma

    if(combobox2.text==" teachers name") str="t_name"; //giving field name //many if statements here strQuery = " SELECT * FROM tbl1,tbl2,tbl3 WHERE tbl1." + str + "=" + textBox1.Text+"AND tbl1.t_id=tbl2.tb_id AND tbl.t_id=tbl3.tb3_id "; it works but when i do //tablename=combobox1.text; //or tablename="tbl1"; strQuery = " SELECT * FROM tbl1,tbl2,tbl3 WHERE" + tablename + "." + str + "=" + textBox1.Text+"AND tbl1.t_id=tbl2.tb_id AND tbl.t_id=tbl3.tb3_id "; it gives error

    $h@ma!|@

    ASP.NET help

  • problem in SELECT statement
    H h ma

    in my windows form,for search,two combo boxes are provided.the first one gives the table names and in second combo box the respective fields are provided ,by selecting any field the user enters the required value according to which te search is done i m storing both tablename and field name in string now in my select statement when i append the string with field name (with hard coded table name); it functions well but when i concatenate string having table name it gives errors..

    $h@ma!|@

    ASP.NET help

  • fill dataadpter with more then one table
    H h ma

    well leave it i did it....

    $h@ma!|@

    ASP.NET css wpf wcf

  • fill dataadpter with more then one table
    H h ma

    i want to fill dataadapter with more then one table what will be the syntax for it and binding more then one datamembers(tables) with grid

    $h@ma!|@

    ASP.NET css wpf wcf

  • binding data to datagrid
    H h ma

    thx alot it really worked :-D so nice of u...and m feeling sorry as i found ur reply too late

    $h@ma!|@

    ASP.NET wpf wcf question

  • binding data to datagrid
    H h ma

    waiting for ur answer:confused:

    $h@ma!|@

    ASP.NET wpf wcf question

  • binding data to datagrid
    H h ma

    hmmmm but as i told i m working in windows application and it doesnt support databind option is there any replacement or any directives/namespaces to include? and what if i want to update records using dataset?

    $h@ma!|@

    ASP.NET wpf wcf question

  • binding data to datagrid
    H h ma

    well! isnt there any need to use data reader?? well my code is //connection as conn strQuery = " SELECT * FROM table"; SqlCommand com1 = new SqlCommand(strQuery, conn); DataSet ds=new DataSet(); SqlDataAdapter da=new SqlDataAdapter(); SqlDataReader dr = com1.ExecuteReader(); if (dr.Read()) { da.Fill(ds,"table"); } its not working i mean data is not displaying in the grid..and the exception that is shown is "The SelectCommand property has not been initialized before calling 'Fill'."

    $h@ma!|@

    ASP.NET wpf wcf question

  • binding data to datagrid
    H h ma

    in windows apllication, i want to select table's data and show it in datagrid but i dont undertand how will i bind the data is there any way to use datagrd view manager or something like this???? m confused!!!:(

    $h@ma!|@

    ASP.NET wpf wcf question

  • connecting to sql server using application configuration file
    H h ma

    and i have written in app file rescue15 is it ok???

    $h@ma!|@

    ASP.NET database sql-server sysadmin help tutorial

  • connecting to sql server using application configuration file
    H h ma

    thx but it is giving error i.e; The name 'ConfigurationSettings' does not exist in the current context

    $h@ma!|@

    ASP.NET database sql-server sysadmin help tutorial

  • connecting to sql server using application configuration file
    H h ma

    i m working on widows application..for connectivity to sql i want to give datasource in app config file..and in every page i wan to call that string but i dont understand how to do that can anyone help me??

    $h@ma!|@

    ASP.NET database sql-server sysadmin help tutorial

  • data adpter
    H h ma

    ok fine i'll try thx

    $h@ma!|@

    ASP.NET question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups