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
S

Syed Mujtaba Hassan

@Syed Mujtaba Hassan
About
Posts
45
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SQL Server Stored Procedure Encryption
    S Syed Mujtaba Hassan

    Well I wonder why this idea didn't struck me. :) that was too simple. Thanx for help SimulationofSai.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database sharepoint sql-server sysadmin security

  • SQL Server Stored Procedure Encryption
    S Syed Mujtaba Hassan

    Hi there, I am trying to encrypt my sotred procedures with "WITH ENCRYPTION" clause like this ALTER PROC myProcedure WITH ENCRYPTION. It works well for the stored procedure that has not parameters but for a stored procedure with parameter list it generates the following error. "Incorrect syntax near '@p_param1'." where @p_param1 is the first parameter. Note that this SP is giving the proper results and runs well. Thanx in advance

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database sharepoint sql-server sysadmin security

  • Insertion in table
    S Syed Mujtaba Hassan

    Thank u very mcuh Henlon. That was AWESOME. [:)] That really works. When I opened the database from bin folder it contained all the data that was inserted earlier. I don't know how should I say thank u to u. Thank u so much. [;)]

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database csharp css sharepoint sql-server

  • Insertion in table
    S Syed Mujtaba Hassan

    Well everything is fine with connection string and application works fine enough as far as it is in RAM but acutal changes are not commited.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database csharp css sharepoint sql-server

  • Insertion in table
    S Syed Mujtaba Hassan

    Yes this property is set to true as 'User Instance = True'. I think it might be some limitation of SQL EXpress but uptil now I haven't come to know about any such limitation. Same problem also posted here by someone. http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2555908&SiteID=17[^]

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database csharp css sharepoint sql-server

  • Insertion in table
    S Syed Mujtaba Hassan

    No I am not using this statment and I have also checked SqlCommand object's propertys using it like this com.Transaction.Commit(); function but it is not working. :( I think it is the problem of SQLEXPRESS that may does not allow inserting or updating by default. If anyone give any idea about it, I shall be thankful.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database csharp css sharepoint sql-server

  • Insertion in table
    S Syed Mujtaba Hassan

    Yes I have tried the procedure in query analyser and it inserts data successfully. I have added 4 records in tabale using this SP but and everytime I start application, it starts from ID = 5 (ID is IDENTITY column).

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database csharp css sharepoint sql-server

  • Insertion in table
    S Syed Mujtaba Hassan

    I am using SQL Server EXPRESS Edition for my C# client. I have written an SP InsertData for inserting data into a table. Another SP GETDATA fetch all the data from the table. Now the problem is with my C# client application. On the main Form I have placed a grid which is filled by calling GETDATA stored procedure. There are text fields and an ADD button on the main form. When I click add button I call InsertData SP and then in the same event handler I call GETDATA SP again to refresh my grid. It works well and show data in grid but later when I check the database no entry is inserted in the database. Again I run the application and database is in the previous state (i.e. no data is found that was inserted in the previous run). In other words data is shown to be inserted but is not actually inserted in the database. What could be the problem? For refernce I have checked msdn where someone has posted the same problem here. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2888935&SiteID=1[^] but no satisfactory answer found up till now.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database csharp css sharepoint sql-server

  • Encryption / Decryption
    S Syed Mujtaba Hassan

    Hi there, Can someone tell me, is it possible in SQL Server 2005 how to Decrypt and Encrypted SP or View.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database sharepoint database sql-server sysadmin security

  • Saving Image to a file from database.
    S Syed Mujtaba Hassan

    Hi there, I am trying to save an Image from a database to a file but it only save the following to the file "System.Byte[]".

    fileWriter.Write(dsExportDataTypes.Tables[0].Rows[i]["ATTACHMENT"]);

    fileWriter is an object of StreamWriter Class.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    C# database

  • Finding triggers that are disabled or not?
    S Syed Mujtaba Hassan

    HI could anyone tell me how to find all the disabled trigers in the database?

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database tutorial question

  • Importing Data From Excel
    S Syed Mujtaba Hassan

    Thnx buddy that was useful. :)

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database sql-server sysadmin

  • Importing Data From Excel
    S Syed Mujtaba Hassan

    Hi All, Can somebody tell me the easiest way to import data from and Excel sheet to a table in Sql Server 2005 database. An immediate response would be appreciable. Thanx in advance.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database sql-server sysadmin

  • Get databases
    S Syed Mujtaba Hassan

    OK thanx buddies. So nice of u.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database sql-server sysadmin

  • Get databases
    S Syed Mujtaba Hassan

    Hi there, I am new to sql server 2005 can somebody tell me is there any sql command that returns all databases hosted on SQL server 2005.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    Database database sql-server sysadmin

  • Loading Datasets
    S Syed Mujtaba Hassan

    Is there any exception? If yes then what is the exception message?

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    C# database help

  • message count down counter
    S Syed Mujtaba Hassan

    If you are using a textbox say txtName then you can write an event handler for KeyPressed event. Like.... private void txtUname_KeyPress(object sender, KeyPressEventArgs e) { if (txtUname.Text.Length == 160) { MessageBox.Show("Text5"); } } Hopefully it will solve your problem.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    C# question

  • NULL problem
    S Syed Mujtaba Hassan

    I think your grid must be having only 5 records from 0 to 4. So its not geting the 6th record.

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    C# help question

  • Columns of dataset and sql server table [modified]
    S Syed Mujtaba Hassan

    Hi all I am writing a program in which I want to read all the column names of a table in db of sql server and against every column I want to check wether it is NULLABLE or not. I am using MyDataset.Tables[0].Columns[j].AllowDBNull property of dataset but it shows always a true. I mean all the columns are shown as NULLABLE. Could someone help me? -- modified at 1:44 Friday 24th August, 2007

    Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    C# database sql-server sysadmin help question

  • How to print datagidview with form control
    S Syed Mujtaba Hassan

    I think here[^] is the thing at CP that you want.

    Mujtaba "If both of us are having one one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."

    C# csharp database tutorial
  • Login

  • Don't have an account? Register

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