Click here to Skip to main content
Page 1 of 8,816
Page Size: 10 · 25 · 50


Category filtered by:  General Programming [x]
Answer 14 May 2013   license: CPOL
Hello,I recommend you to start read here: ADO.NET -> http://msdn.microsoft.com/en-us/library/e80y5yhx.aspx[^]Bye.
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
$
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
Hello AllI have A Dataset and i also created some rows, but i want to add this table in my database how is that possible..??plz help... DataSet ds1 = new DataSet(); DataTable dt = new DataTable("Emp"); dt.Columns.Add("Name",typeof(string)); ...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Hello,Please read this articles:http://msdn.microsoft.com/en-us/library/bb896271.aspx[^]http://stackoverflow.com/questions/8056761/context-savechanges-not-working[^]Your object is probably detached from the context object.Bye.
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
hi, for my table i am having the data as belowRF_Code Date Time 104 2013-01-01 09:00:00104 2013-01-01 18:12:00104 2013-01-02 09:02:00104 2013-01-02 19:05:00105 2013-01-01 09:30:00105 2013-01-01 18:30:00for a particular month...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
You need to go through some articles and try to learn and implement. Follow the below ones.1. Lazy Load Plugin for jQuery[^].2. How to 'lazy'-load images with jQuery[^]
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Have a look here: Programmatically Complete PDF Form Fields using Visual Basic and the iTextSharp DLL[^]
General Programming » Uncategorised Quick Answers » General
VB
Answer 14 May 2013   license: CPOL
Don't post the same question more than once. I have already answered it here:How to find out if datetime picker value is changed or not?[^]
General Programming » Uncategorised Quick Answers » General
C#
Answer 14 May 2013   license: CPOL
Please use JQUERY$(document).ready(function(){ $("[$id='btnSubmit']").click(function(){ if($("[$id='txtBloodGroup']").val() == ''){ alert("Please enter blood group name"); } });});
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
That's a job for a custom UITypeEditor[^]. See the link for an example on building an editor for your custom object that works with .NET's PropertyEditor.
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
Hello Proffessionali am developing Window Application With MYSql Database for some reasons.but i dont know how to make setup of my window project in Visual Studio with Mysql Database.that can easily run on client computer without installing MySql DataBase Setup.Have Any...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
you cannot do a logical comparison on an event.ValueChanged is an event on the control not a property.Hence your error.
General Programming » Uncategorised Quick Answers » General
C#
Question 14 May 2013   license: CPOL
This might be difficult to explain but please bear with me... So, I have a model that combines two different models so that I can utilize data found in both in one view: Combined:public class EventFullModel{ public AccessListModel AccessPointsList; public EventListModel...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Hi nandkishore,Try using distinct keyword to remove duplicates from the table.likeSELECT DISTINCT(Name),ID FROM tablenameI hope this could help you out.Regards,RK
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
Please help me in solving the error. My Problem is I actually getting xml String from Web service,I am storing that string into XML File and reading the file using xml.reader();But will getting the string from web service if there is empty xml node the node is geting in single tag...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Hello,View this article:ASP.NET SQL Server Registration Tool - http://msdn.microsoft.com/en-us/library/ms229862(v=vs.100).aspx[^]This tool creates all the objects needed in the sql server.Bye.
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
An XML file normally has a header line such as you describe - it is optional, but recommended, and XDocument always adds it when you use the Save method.If it really disturbs you, you need to use an XmlWriter instead - it has an option to turn it off. XDocument doc = new...
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
Please how can I get the right LPITEMIDLIST to use for IShellLink::SetIDList?I triedHRESULT hr = S_OK;ULONG celtFetched;LPITEMIDLIST pidlItems = NULL;LPITEMIDLIST netItemIdLst = NULL;IShellFolder* pPrinterFolder = NULL;IEnumIDList* pEnumIds = NULL;IMalloc* pMalloc =...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Hello You can restrict anonymous user by two methods1)By Using Session In this method you have to mantain the UserId in session and have to check the session variable on PageLoad or PageInit event of the page.If the UserId is your you can carry on , else you can redirect the user to...
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
Hi AllI want to implement a Lazy Loading using jquery to implement this what are the thing we need to do.Thanks in Advance.
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
Hi allI have to remove declaration from existing xml using C#
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
If you mean the extension of a file, this is a good example.http://www.richelbilderbeek.nl/CppGetExtension.htm[^]If you don't, please put your question more elaborate.
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
Hi,I am planning to implement Membership into my Asp.Net-MVC web application.My question is, which table should I used to provide application page based access to respective User roleEx. Customer - View Only, AddAdmin - Add,Update,DeleteSomething like this.Do I need to...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Hi sharmarun,Did you check all constructors available for XDocument class? Check hereYou need to instance XDocument class with no declaration element/object.For example:XDocument doc = new XDocument();doc.Add(new XComment("This is a comment"));doc.Add(new XElement("Root",...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Here is the [Sample link] as required by you.
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
How to Remove duplicate data From table in sqlserver tableMy table Data :ID                  Name344B6794      VisalCA6B5B10      Raghu9DC012F7      VisalFDC12AC1      Raghu9B439B6F      RakeshF9F7D96A      NareshA28909C3      RakeshI need to get below data...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
put your buttons inside the System.Windows.Forms.Panel and set AutoScroll = truemore info here:Customize a panel with Autoscroll property[^]
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
You can't use them like that. They're events - not properties. You need to add an eventhandler. Something like:public partial class Form1 : Form{ private bool dateChanged = false; private void Form1_Load(object sender, EventArgs e) { dateTimePicker1.ValueChanged...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Hi, as an alternative to C# word automation (Office Interop)you can also very easily C# create Word and edit Word files with this .NET Word component.Here is an example that shows how easy it is to C# edit Word file and save it:// Load a document.var document =...
General Programming » Uncategorised Quick Answers » General
C#
Answer 14 May 2013   license: CPOL
You can refer this MSDN article - Sample: Create, Retrieve, Update and Delete Using the REST Endpoint with Silverlight[^].Please go through this and try to implement.
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
hi m new to the dynamics CRM 2011. and i want to show all accounts using custom button which i have already added at the main ribbon. now i want to show all accounts when user click button.please help me in this regardThnx in advance.
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Hi...its may helpful to u.write blow cmmd in mysql command promt window.Load data local infile ‘file path’ into table databasename fields terminated by ‘,’ enclosed by ‘”’ lines terminated by ‘\n’;this way also excel file insert into database through command.thank u.
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
I want to add a custom attribute to a custom button control like Items attribute of ListBox Control so that user can add item to custom button control using designer editor.public List LstOfValues = new List(); ...
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
Query as follows; select Sch_Date,session,Faculty_Code from Tb_SCh_TIme_Table where course = 'cl2'; when i execute the above query,output as follows in Ms access...
General Programming » Uncategorised Quick Answers » General
C#
Question 14 May 2013   license: CPOL
There are two events. One is ValueChanged and another one is TextChanged If value is changed then I can do something that is my need actually But following two conditions getting same error How to know the value is changed or not? if (datetimepicker.ValueChanged == true) ...
General Programming » Uncategorised Quick Answers » General
Question 14 May 2013   license: CPOL
Hi,This is my view Does the school have staff houses? @Html.RadioButtonFor(model => model.charSchoolHaveStaffHouses, "Y", new { onclick = "StaffHouses_Click()", name = "rdoSchStaffHostel", id = "rdoSchStaffHousesY" })Yes ...
General Programming » Uncategorised Quick Answers » General
MVC
Answer 14 May 2013   license: CPOL
"is it posible to take reference to c#."Yes. You can use assemblies from any .NET language in any other .NET language."how to get dll or reference file."Right click your project, and select "Add Reference". It's pretty obvious from there, but the exact details will depend on your...
General Programming » Uncategorised Quick Answers » General
C#
Answer 14 May 2013   license: CPOL
http://stackoverflow.com/questions/10477184/pure-css-vertical-menu-with-submenu[^]http://www.welovecss.com/showthread.php?t=922[^]
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
Hi, just to add to Sergey's solution, if you use FlowDocument for your GUI than try this C# Word component. With it you can easily implement your business layer for manipulating in .NET docx files.
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
"ok but please give me url of page where i can ask question ."You mean you can't find the "support" link all on your own? :WTF:Try here: http://www.nopcommerce.com/boards/default.aspx[^]Or here: http://www.nopcommerce.com/p/541/nopcommerce-premium-support-services.aspx[^]
General Programming » Uncategorised Quick Answers » General
C#
Answer 14 May 2013   license: CPOL
Just change your SQL statement from select Sch_Date,session,Faculty_Code from Tb_SCh_TIme_Table where course = 'cl2'; to select Sch_Date,session,Faculty_Code, Comments from Tb_SCh_TIme_Table where course = 'cl2';You just need to add the comments field.
General Programming » Uncategorised Quick Answers » General
C#
Answer 14 May 2013   license: CPOL
Have you tried with W2A & A2W convertion
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
I prefer to use Common Table Expressions[^]:DECLARE @tdata TABLE (grp INT, val INT)DECLARE @dtmp TABLE (grp INT, val INT)INSERT INTO @tdata (grp, val)VALUES(301, 1)INSERT INTO @tdata (grp, val)VALUES(301, 2)INSERT INTO @tdata (grp, val)VALUES(301, 5)INSERT INTO @tdata (grp,...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
string a = "1,2,3,4"; string b = "2,3,4,5"; string[] a_array = a.Split(','); string[] b_array=b.Split(','); var c = b.Except(a).ToList(); string result=""; foreach (var item in c) { result =...
General Programming » Uncategorised Quick Answers » General
C#
Answer 14 May 2013   license: CPOL
Your recording device already produces binary streams, I suppose. You should read the device documentation for finding out what is the format used, study it and then develop an algorithm able to extract the needed data.
General Programming » Uncategorised Quick Answers » General
C++
Question 14 May 2013   license: CPOL
firstly I describe situation:From web page if i insert record successfully then no problem but if some error occur like email id already exist then it focus to the email id text box rather then other.In .aspx ...
General Programming » Uncategorised Quick Answers » General
Answer 14 May 2013   license: CPOL
HiHRESULT: 0x8002000B (DISP_E_BADINDEX)) this means invalid index, so within your for loop you are accessing a index that doesn't exists.1) check where the index is going wrong;2) make sure the cell is converted to range as below// Export titlesfor (int j = 0; j
General Programming » Uncategorised Quick Answers » General
C#
Answer 14 May 2013   license: CPOL
this is my code there is two events one is ValueChanged and another one is TextChanged if value is changed then i can do something that is my need actuallybut following two conditions getting same error how to know the value is changed or notif (raddtpJan.ValueChanged==true) ...
General Programming » Uncategorised Quick Answers » General
C#
Answer 14 May 2013   license: CPOL
Try this, it works for me, should work for u.protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e) { GridViewRow row = GridView1.Rows[e.RowIndex]; string constr = ConfigurationManager.ConnectionStrings["connstr"].ToString(); ...
General Programming » Uncategorised Quick Answers » General

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


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