Click here to Skip to main content
Page 1 of 337
Page Size: 10 · 25 · 50


Tag filtered by:  C#3.0 [x]
Answer 13 May 2013   license: CPOL
I think it is better to use XmlReader for reading xml files.Refer this link: http://stackoverflow.com/questions/5827668/how-to-read-xml-file-using-xml-reader[^]
Answer 13 May 2013   license: CPOL
Refer this link to manipulate with xml data'sManipulate XML data with XPath and XmlDocument (C#)[^]
Question 13 May 2013   license: CPOL
I am working on generalized component which is developed in C# .net. In this component i get an XML file as input parameter. After process I have to create a new XML File and write my Output into it. I do google and found many solutions but not sure which is the best approach to follow.Please...
Answer 12 May 2013   license: CPOL
Solution 2 is the code which I wrote for generating dynamic groupbox and dynamic checkbox inside groupbox.I got help from
Answer 12 May 2013   license: CPOL
Here is code after modification which gave me my desired resultprivate void RO_SelectedIndexChanged(object sender, EventArgs e) { groupBox1.Controls.Clear(); String m = RO.SelectedItem.ToString(); Console.WriteLine(m); aCommand2 =...
Question 12 May 2013   license: CPOL
hi can anyone help me how to update the database value when the check box in grid view is checked using c#thank you in advance
Tip/Trick 12 May 2013   license: CPOL
A basic yet generic state machine implementation
Answer 12 May 2013   license: CPOL
You can do it in 2 ways:1) creating query that returns nth record: http://www.techrepublic.com/blog/msoffice/an-access-query-that-returns-every-nth-record/3617[^]2) fetching all data into datatable and then looping through the rows collection. More about DataTable class...
Answer 12 May 2013   license: CPOL
Please, read these articles:Convert.ToBoolean Method (Int32)[^]Convert.ToInt32 Method (Boolean)[^]
Question 12 May 2013   license: CPOL
I have a access database from where I am populating the datagridview on button click event. but what I exactly I want to add record of access database in datagridview when button is clicked. Means on 1st click 1 record should be add in datagridview, on 2nd click another record should be add and...
Answer 12 May 2013   license: CPOL
Tryhttp://www.dotnetpools.com/Article/ArticleDetiail/?articleId=143[^]http://www.dotnetspider.com/forum/181808-Radio-button-creating-dynamically.aspx[^]http://p2p.wrox.com/c/40016-dynamic-checkbox-radiobutton-lists.html[^]
Question 12 May 2013   license: CPOL
Dear AllI am trying to create groupbox dynamically and these GB will create on selection on checkbox.Means I have 5 check boxes now if I select 1st CB then 1 GB with some other dynamic checkbox shall be created, if I select 3rd check then another GB shall be created with few more other...
Question 11 May 2013   license: CPOL
How do i make check box in grid view checked when the database value is 1
Question 11 May 2013   license: CPOL
how to make checkbox checked depending on the database value in gridview
Answer 11 May 2013   license: CPOL
Get the database values using a datareader.Loop through the returned records and then write code similar to the following -if (dr["colName"] == "Yes"){ ckBox.Checked = true;}else{ ckBox.Checked = false;}
Tip/Trick 11 May 2013   license: CPOL
A solution for monitoring Events called during test
Answer 10 May 2013   license: CPOL
include#host:[];local/port GET;SET;
Article 10 May 2013   license: CPOL
This article provides and describes the EnumerableExt class, which simplifies the display and formatting of lists, collections, and arrays. It accomplishes this by implementing extension methods (Append, BuildString, and Write) that are available via the IEnumerable interface.
Question 10 May 2013   license: CPOL
himy project is WPF program and use on form Datagrid. soi want to set any object(etc TextBox) Text Properties from datagridview and my selection rowbut I dont Know ?For Example :TextBox1.text = dgv.currentrow.column[0].tostring();help me
Answer 10 May 2013   license: CPOL
/*****************************...
Answer 10 May 2013   license: CPOL
Use: select * from master_table where id not in (select id from daily_att);where id is the primary key for the tables
Answer 10 May 2013   license: CPOL
try like this ..conn.Open();DataTable dtusers = new DataTable(); SqlDataAdapter da = new SqlDataAdapter("select name from admin_table where name not in (select name from daily_att where tdate='"+tdat+"' ) ", conn); SqlCommandBuilder cmd = new...
Question 10 May 2013   license: CPOL
hi , every one: i am using a attendance concept in my windows application, one table is have all name in the concern all details are filled by admin. Another table is filled by entry of employee in to company. now i have to seperate presented list and absented list. i am showing 2...
Question 10 May 2013   license: CPOL
i have a stored procedure which return an xml stringhow to get this xml string in mvc.net with entity framework
Tip/Trick 9 May 2013   license: CPOL
How to bind Derived Type in MVC View
Tip/Trick 9 May 2013   license: CPOL
Versioning file inclusion JavaScript by date of last modification
Answer 9 May 2013   license: CPOL
1. store an array of labels, just like you do with an array of CheckBoxes and create the labels at the same time you create checkboxeslabel= new Label[bran_count];for (int i = 0; i
Answer 9 May 2013   license: CPOL
I suggest you write some code then ... seriously - we dont give people code here - we help them with something they have bothered to write themselves When you have something specific you need help with in the code, then you can ask questions on it here 'g'
Question 9 May 2013   license: CPOL
Hi,Need sample simple Multi Tenancy Application in MVC Architecture.Note:- That application should like to generate creating a dir by own ..ex:- www.xxxxx.com\abc\adminthe abc is dir have to generate by code.Thanks,Vijay Dhulipudi
Question 8 May 2013   license: CPOL
HelloI am making a win form application on frame work 3.5 using C#. I am creating dynamic checkboxes depending on the numbers of records in access table. After this I am also able to get the name, text and other properties of dynamically created checkboxes and I am displaying the name of...
Answer 8 May 2013   license: CPOL
Sir As I told you I am newer in Crystal report , So please clarify how to do it.
Answer 8 May 2013   license: CPOL
either decrease fontsize of fieldsorset paper "Landscape" or e.g. if using A4 size then increase Papersize to A3 you can also set paper margin it also affect available-space in Paper to paste fieldsHappy Coding!:)
Question 8 May 2013   license: CPOL
Dear Sir, I have 26 column to create the crystal report, but after 10 column its going over pap to each other.Please suggest as soon as possible. And also suggest for design in crystal report . I am new in crystal report,
Question 8 May 2013   license: CPOL
Hi Friends,I my project i have to control the session using Response.AddHeader("Refresh", Convert.ToString((Session.Timeout * 60) + 5));but the problem is :1)Login as Staff through staff login page2)Goto-->the page called Showlist.aspx and check the data available 3)Next Goto -->...
Answer 8 May 2013   license: CPOL
Did anyone suggest you multithreading yet? :-)"Safe, Simple Multithreading in Windows Forms, Part 1"[^].
Answer 8 May 2013   license: CPOL
Did you hear about threads?Threading tutorial[^]How to create threads[^]How to: Create and Terminate Threads (C# Programming Guide)[^]
Answer 8 May 2013   license: CPOL
1. Run your DLL.function() on a separate thread. 2. Have the DLL.function() fire an event every time a foreach loop has completed and increment the value.3. Have you main project listen for this event. Every time the event is triggered update your progress bar. You can pass the value for...
Question 8 May 2013   license: CPOL
I have created a class library in my project which scans a series of files. In my main project which uses this DLL as a reference, I'd like to create a progress bar which shows how many file have been scanned so far. The dll class makes use of a foreach loop since it's purpose is to turn...
Tip/Trick 8 May 2013   license: CPOL
This tip demonstrates user permissions in SharePoint-hosted apps in SharePoint 2013 with attention to a multiple user scenario.
Answer 8 May 2013   license: CPOL
Yes it should be possible.Have a read of the following links they should provide a good starting...
Question 8 May 2013   license: CPOL
How to archive tables in a database and add to another database? suppose, a database consists of 10 tables, and the tables are growing very fastly with new values. I would like to archive the values from a particula date(old data) and collect all those values from those tables and then create...
Answer 8 May 2013   license: CPOL
You will need to generate you report on server side and send it as content to the client. Start here: PDF reporting using ASP.NET MVC3[^].
Question 8 May 2013   license: CPOL
I need to generate a PDF report which contains some images, costume text info, and a table from my ASP.net MVC3 application. please give me any ideas on the best way to implement this?
Question 7 May 2013   license: CPOL
Hi Everybody,I have one problem with MS.Net Controls.I have use buttons in my project. When i click on windows form button that time my PC Memory(private working set ) automatically increase & after some days my application automatic throw exception of "Out Of Memory Exception".How can...
Article 7 May 2013   license: CPOL
A simple Util library.
Answer 7 May 2013   license: CPOL
There will be a web.config/app.config file existing on that application. Check that.That is xml file usually contains all the configuartion information for the application.You will find the key CheckPassword inside AppSettings tag under parent tag configuration inside that file something...
Answer 7 May 2013   license: CPOL
With this code you can read the variables of your program that is saved in the web.config or app.config.you can access to it from all forms.
Question 6 May 2013   license: CPOL
In my new project they have used one code likestring A = System.Configuration.ConfigurationManager.AppSettings["CheckPassword"];What is the use of this code? why the are using this?What could be the use of this code?

Page 1 of 337
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 13 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid