Search

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

Matching Posts

  • Re: how to show related product, featured product and new product??

    Have you tried using a Child Gridview? I have a training video which may help some. http://www.youtube.com/watch?v=VSU51pv-IWI
    Posted to Data Presentation Controls (Forum) by Snot on 12/9/2009
  • Re: problem in using placeholders with sql insert query

    This is how I do it, have not heard about the @ being old style... public static bool InsertCompany(string companyID, string companyName, string companyEmail, string companySize) { bool success = false; string sql = "INSERT INTO COMPANY (COMPANYID, COMPANYNAME, COMPANYEMAIL, COMPANYSIZE) " + "VALUES (@prmCOMPANYID, @prmCOMPANYNAME, @prmCOMPANYEMAIL, @prmCOMPANYSIZE)"; using (SqlCommand command = new SqlCommand(sql, ConnectionManager.GetConnection())) { command.Parameters.Add("
  • Re: GridView Columns problem, Auto-Generate working fine but custom fields no !!!

    You need to make sure you have your data within the gridview inside of a Template filed, i.e. ItemTemplate or EditItemTemplate. You can check out a Lesson I create that covers something similiar. http://www.youtube.com/watch?v=Nxi0r4scTx0 Good luck.
    Posted to Data Presentation Controls (Forum) by Snot on 10/12/2009
  • Re: modal popup control GUI problem

    I had thsi problem and it was solved by putting a DTD reference in my aspx file. Example: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> At the same time, this had a lot of look and feel impacts on my website, however it solved my AJAX modal popup problem.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by Snot on 10/12/2009
  • Add picture to profile - How to

    Can someone let me know how to add my picture to my profile?
    Posted to Feedback on this website (Forum) by Snot on 8/20/2009
  • Re: connection string

    Then do this to access it: using System.Configuration; using System.Data; using System.Data.SqlClient; public static SqlConnection GetConnection() { // Build the connection string from Web.Config file string connectionString = ConfigurationManager.ConnectionStrings["YOURNAME"].ConnectionString; SqlConnection connection = new SqlConnection(connectionString); connection.Open(); return connection; }
    Posted to MySQL (Forum) by Snot on 8/19/2009
  • Re: connection string

    This is how I do it. <?xml version="1.0"?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <connectionStrings> <add name="YOURNAME" connectionString="Data Source=XXXXX\SQLEXPRESS; Initial Catalog=masterXXX; Integrated Security=SSPI; Persist Security Info=False"/> </connectionStrings> </configuration>
    Posted to MySQL (Forum) by Snot on 8/19/2009
  • Re: Problem executing simple SQL update

    The only thing I do different than what you are doing is using: cmd.Parameters.Add("@prmCUSTID", SqlDbType.NVarChar, 20).Value = CUSTID; instead of: cmd.Parameters.AddWithValue("@val1", catname.Text); Hope it helps.
  • Re: how to write CSS to Support All Browsers

    CSS is for IE. I suggest using DOCTYPE. http://www.w3.org/QA/2002/04/valid-dtd-list.html I personally use: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> However, you should do some research to find out which DOCTYPE meets your requirements.
    Posted to Getting Started (Forum) by Snot on 8/10/2009
  • Re: Multithreading

    Multithreading is by no means simple to implement. I provide the below code only as an example and a means to further your study. C#: using System.Threading; namespace THR { public partial class THREXAMPLE : Form { private Thread pThread; private MethodInvoker progbarDelegate, progbarDelegateReset; private void THREXAMPLE_Load(object sender, EventArgs e) { // Set up the progress bar progressBar1.Step = 1; progressBar1.Minimum = 0; progressBar1.Maximum = 60; // Create the progress bar thread object
    Posted to Visual Basic .NET (Forum) by Snot on 8/10/2009
Page 1 of 2 (19 items) 1 2 Next >