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
B

brsecu

@brsecu
About
Posts
35
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • asp.net c# webcam
    B brsecu

    I'm looking to add webcam support to a web page but i really have no idea where to start. I can use any version of VS so thats not a problem. I've seen a few examples on here about how to do it but they were all over the place. Any ideas on where to start? I'm obviously not ask for code to do it but whats the easiest way to get it done would be helpful. Thank you in advance.

    C# csharp asp-net visual-studio help tutorial

  • formating numbers from strings
    B brsecu

    i have a string that always is 6 chars long. If it is not then zeros are added to it. I am pullinging this info out of the database and i need to add 1 to it. Example: I get "000456" and need to add 1 to it so its "000457" Is there an easy way to do that?

    C# database tutorial question

  • acessing an id from object sender
    B brsecu

    That did it thanks. Since im using asp i used myButton.id instead of name. Thanks again.

    C# csharp asp-net question

  • acessing an id from object sender
    B brsecu

    I've created buttons automatically based on rows of information. When someone pushes the button I call the eventhandler button1_Click(object sender, EventArgs e). Is there anyway to tell what the name of the button is? I'm using c# in asp.net. When debugging i can see the clientid but cant get it from sender.

    C# csharp asp-net question

  • Passing info from a thread
    B brsecu

    I'm running a process in a thread and want to put the results as they happen in a text box on my form. Is that possible? I cant seem to make it work.

    C# question

  • Navigating a web form
    B brsecu

    I'm trying to fill in a text box then hit the submit button using httpwebrequest. Here is a sample using googles home page(just because everyone can use it). I just cant seem to get it to work. Thanks for the help. string Uri = "http://www.google.com"; string requestString = "q=test&btnG=Clicked"; byte[] requestData = Encoding.UTF8.GetBytes(requestString); HttpWebRequest request = null; Stream stream = null; HttpWebResponse response = null; // set up request CookieContainer _cookies = new CookieContainer(); request = (HttpWebRequest)WebRequest.Create(Uri); request.Proxy = null; request.CookieContainer = _cookies; request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; request.ContentLength = requestData.Length; // make form post stream = request.GetRequestStream(); stream.Write(requestData, 0, requestData.Length); // get response response = (HttpWebResponse)request.GetResponse();

    C# com help

  • click a button with httpwebrequest
    B brsecu

    I'm trying to fill in a text box then hit the submit button using httpwebrequest. Here is a sample using googles home page. I just cant seem to get it to work. Thanks for the help. string Uri = "http://www.google.com"; string requestString = "q=test&btnG=Clicked"; byte[] requestData = Encoding.UTF8.GetBytes(requestString); HttpWebRequest request = null; Stream stream = null; HttpWebResponse response = null; // set up request CookieContainer _cookies = new CookieContainer(); request = (HttpWebRequest)WebRequest.Create(Uri); request.Proxy = null; request.CookieContainer = _cookies; request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; request.ContentLength = requestData.Length; // make form post stream = request.GetRequestStream(); stream.Write(requestData, 0, requestData.Length); // get response response = (HttpWebResponse)request.GetResponse();

    C# com help

  • backgroundworker vs threading
    B brsecu

    Whats the difference?

    C# visual-studio question

  • large scale inserts duplicate checking
    B brsecu

    I have 2 databases with over 7 million records where about half are probably duplicated. I would like to merge these tables and take out the duplicates. The problem comes in where the the only fields are name address and email address(sometimes). So i have to do a dup check on the name and address. The way im doing it is taking 5 min for every 1000 records. I tried writing a stored procedure that checked each one with a if exists statement then insert. I know there has to be a better way than that. ANy help or am i stuck waiting a couple weeks to be done. By the way the cpu i'm using is also using 85% cpu to do the checking.

    Database help database

  • xml serialization
    B brsecu

    I gotten to the point where i can serialize an xml document using a class. I just cant figure out how to get a complex type to serialize. How should my class look if i need something like Mary Cummings

    C# xml json tutorial

  • best way to program a huge xml file
    B brsecu

    Yes i am new to xml and serialization is a much better way than i was doing. Thanks again

    C# xml question

  • best way to program a huge xml file
    B brsecu

    Yes I have seen and practiced with a couple. It may be more overhead but i actually like using the excel object to parse the files I find it to be easier and it works better in my head. Thanks

    C# xml question

  • best way to program a huge xml file
    B brsecu

    I have to write a program converting a csv file into a huge xml file, about 100 elements. Is the best way to just create a class xmlfile.cs then read the info from another class pass the values to xmlfile one by one, then when done use xmlwriter, in the same class, to write the whole file? Is there a better way? Thanks

    C# xml question

  • close window and redirect to another site
    B brsecu

    Yeah. Thanks a million.

    ASP.NET com sysadmin tutorial question

  • close window and redirect to another site
    B brsecu

    Yes but how. I know it seems like a simple question but I want to do it out of the aspx.cs code not html. How do i link to it.

    ASP.NET com sysadmin tutorial question

  • close window and redirect to another site
    B brsecu

    I want to close my page and open another url outside of my local pages. example page1.aspx(close) www.google.com(open) when i use the server.Transfer it wont do it? Thanks in advance.

    ASP.NET com sysadmin tutorial question

  • adding info to another page
    B brsecu

    If someone fills in first name on page1.aspx and i want that to appear on page2.aspx, how do i do that? lets say the element name for both of them is fname. Thanks in advance

    ASP.NET question

  • assigning value to variable in stored procedure
    B brsecu

    Thanks a lot it worked I appreciate the help

    Database database sql-server sysadmin question

  • assigning value to variable in stored procedure
    B brsecu

    Thanks a lot it worked I appreciate the help

    Database database sql-server sysadmin question

  • assigning value to variable in stored procedure
    B brsecu

    I am trying to get info into a variable in a sql server 2000 stored procedure How can this be done. I thought i had it but it doesnt seem to work. This is what i have. Declare @var1 int Select @var1 Select max(List_ID) from table1 @var1 stays NULL What am i doing wrong?

    Database database sql-server sysadmin 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