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


License filtered by: The Code Project Open License (CPOL) [x]
Answer 14 May 2013   license: CPOL
Required filed validator wont workcheck whether it has file or not usingFileUpload1.HasFileor !(FileUpload1.PostedFile.ContentLength>0)
Question 14 May 2013   license: CPOL
I'm getting an error when I'm exporting Excel to C# , I can't find where my code is wrong and the solution for my problem :sError :An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in GestãoSI.exeAdditional information: Índice inválido. (Excepção...
C#
Question 14 May 2013   license: CPOL
#includeclass CShape{private: char cType[20]; float fArea;public: CShape(){} CShape(char * cType_name , float fA) : fArea(fA) { std::strcpy(cType,cType_name); } virtual void print() { std::cout
C++
Answer 14 May 2013   license: CPOL
Yes you are right.. Using ContentPageID_ControlID not good,But we have an option try like below it will help you...On the Submit Button Client Click Event call a user defined function and on that function try the below code...JavaScript : var elems =...
Answer 14 May 2013   license: CPOL
The wen knows it all[^]
Answer 14 May 2013   license: CPOL
You need to reference a "connector" in your project. This one is free Connector/Net is a fully-managed ADO.NET driver for MySQL[^]
Answer 14 May 2013   license: CPOL
please remove the Quotation from below.....Existingif (st == "UsernametextBox.Text") { if (str == "PasswordtextBox.Text") {After Changeif (st == UsernametextBox.Text){ if (str == PasswordtextBox.Text) ...
C#
Question 14 May 2013   license: CPOL
Dear All Experts, I am trying to fix one bug from 2 days. But unable to fix it. My application's work is to edit one word file and saving that in server.but i am getting one exception after hosting. The exception message is given below:- Retrieving the COM class factory for...
Question 14 May 2013   license: CPOL
hello!!!i create windows(in C#) base application, its based on .dbf file so i want to fatch some column from .dbf file so how can i execute query on .dbf file.Thank you.
C#
Answer 14 May 2013   license: CPOL
Your conditional structure is not correct. please go through over your code.private bool ValidateForm(){bool returnVal = true;if (UsernametextBox.Text == ""){usernamelabelerror.Visible = true;usernamelabelerror.Text = "username should not be blank";returnVal = false;}if...
C#
Answer 14 May 2013   license: CPOL
Several things spring to mind:First off, you will only try to check details if the pasword is not blank - if the username is blank, you will check anyway. There are also better ways to check for empty stringsTry this:private void button1_Click(object sender, EventArgs e) { bool...
C#
Answer 14 May 2013   license: CPOL
I managed to solve the problem:Firststring alterSQL = "ALTER TABLE ADD NVARCHAR(5) ";Now comes the updatestring qryMove ="UPDATE SET = (SELECT FROM WHERE = )";After update I can remove...
Answer 14 May 2013   license: CPOL
Hi...see this may helpful to u. if (!fileupload.HasFile) { lbl.Visible = true; lbl.ForeColor = Color.Red; lbl.Text = "Please Select file"; //checking if file uploader has no file selected } ...
Question 14 May 2013   license: CPOL
Hi,I am working with delegates in one of my project. I know that Delegate is a class (Syatem.Delegate)and delegate is a keyword for the same. But I am not able to understand why I can not create delegate type in method but for Delaget it goes fine in a method(method can not have types...
Question 14 May 2013   license: CPOL
i wanted to know how to work with GetExtension Method in c++,can any one help me regarding this.i need to know how to use that.
Question 14 May 2013   license: CPOL
I'm writing a web-app that is required to present users with a login screen.Users can enter username/password and select a domain from a dropdown list.how to enumerate all available domains in the server's AD forest even before user login after basic authentication? I came to know that...
Answer 14 May 2013   license: CPOL
Here is the sample code for paging implementation in jqGrid.http://trirand.com/blog/jqgrid/jqgrid.html
Answer 14 May 2013   license: CPOL
Hi Vid,This is to vague for me but i would try thispostData = "__VIEWSTATE=" & vState & "&ddlRegion=" & merchantID.Substring(2, 2) & "&txtPassword=%24%24region15%23%23&btnEnter=Enter&__EVENTVALIDATION=" & eventvalidation...
Question 14 May 2013   license: CPOL
private void button1_Click(object sender, EventArgs e) { if (UsernametextBox.Text == "") { usernamelabelerror.Visible = true; usernamelabelerror.Text = "username should not be blank"; } if...
C#
Question 14 May 2013   license: CPOL
i integrate icici payment gateway in my site.my question is that how can i more secure this payment gateway.what security measurement is done for this payament systems to avoid hacking from hackers?.i am only checks only respose code for successfull transaction.in other payment gateway like...
Answer 14 May 2013   license: CPOL
try this.After collecting data in dataAdapter fill data set like this and move on..da.Fill(ds,"TableName")Dim cryRpt As New ReportDocumentcryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt")cryRpt.SetDataSource(ds.Tables(0))CrystalReportViewer1.ReportSource =...
Answer 14 May 2013   license: CPOL
We can also achieve this by disabling browser caching in code behind write the following lines of code in Page_Init event or Page_Load event and don’t forgot to add namespace using System.Web; because HttpCacheability related to that namespaceprotected void Page_Init(object sender,...
Question 14 May 2013   license: CPOL
I'm creating a RDLC report in C#. Is it possible to insert the content of a Word 2003 document (with formatting) in it (either in design time or programmatically) before exporting to PDF. The final result will be a PDF file containing the initial report (fields from database) and the Word...
Answer 14 May 2013   license: CPOL
Try Show instead of ShowDialog - it doesn't wait for the form to close before continuing.You might want to add the Form.TopMost = True as well, and possibly add a FormClosing event handler so that you only show one form if the user requests it twice.
Answer 14 May 2013   license: CPOL
Use Form authentication in your application follow this linkhttp://www.asp.net/web-forms/tutorials/security/introduction/an-overview-of-forms-authentication-cs[^]
Answer 14 May 2013   license: CPOL
private void ShowSubject(Subjects subject) { using (DbEntities db = new DbEntities()) { Subjects firstSubject = db.Subjects.FirstOrDefault(s => s.subjectNoted == false).Skip(1).Take(1) .FirstOrDefault(); if...
Question 14 May 2013   license: CPOL
hello to alli need server host to hosting web application use https with high secure
Question 14 May 2013   license: CPOL
I have a single server multiple client udp application. There is a single thread (thread#1) with a single socket (socket#1) to receive data from client#1 continuously. The task of this receiving thread is to continuously receive data at its socket.I have a button which says "Send data to...
Question 14 May 2013   license: CPOL
I downloaded ms sql server 2008 R2 Express from microsoft site i installed it successfully but i am unable to log into it whenever i use WIndows authentication i get this ...CLICK ME[^]
Question 14 May 2013   license: CPOL
Dear sir,i have plan for asp.net 70-515 microsoft certification,can u please help me out details from which site i can get the dumps for exam preperatin.Thanking you.
Answer 14 May 2013   license: CPOL
http://stackoverflow.com/quest...
Question 14 May 2013   license: CPOL
I have tried (for hours now) searching on Google for the answer to my problem without any joy - My biggest problem, I think, is not knowing what keywords to search for.I have also searched thru Code Project without any luck (though I am sure the answer resides there somewhere)I have a few...
Answer 14 May 2013   license: CPOL
Go with ASP.MVC4 and WCF REST, It would be more helpful for you.
Question 14 May 2013   license: CPOL
I am creating a custom control like :public class LocalizedLiteral : Literal { protected override void Render(HtmlTextWriter writer) { Text = MyResources.GetString(Text); base.Render(writer); }While using this custom control...
Question 14 May 2013   license: CPOL
I need some help on an ASP.Net project connected to a SQL Server 2008 database. The application is an Intranet using Web Forms. I am having trouble using session variables when querying the database.
Question 14 May 2013   license: CPOL
I have intention to open up an IT development business (set up a development team overseas). but not sure which tool is right for my goal such as SharePoint, SQL –BI or Android development etc. Doing business in Microsoft tools require a big investment. And I am not sure BI stuff can be out...
Answer 14 May 2013   license: CPOL
Hi Prince,You could use the WeekDay function to know which day you are signing in and act accordingly.Take a look at [this]Best Regards,VG
Question 14 May 2013   license: CPOL
Dear all Please help me anyone i want fill the value in combo box from Database in silver light any one give me Sample Code
C#
Question 14 May 2013   license: CPOL
Hi I have a requirement like thisi have the data like301 1301 2301 5301 7301 10302 2303 5303 6303 8303 9In this data i want find out missing number in each group.For example in 301 group the missing numbers are 3,4,8,9(Assume that the range is 1 to 10)in...
Question 14 May 2013   license: CPOL
Hi,I m working with Master page and contentpage. I want to validate content page controls in javscript using button click event. I give that following coding. but it is not access it.if (document.getElementById("txtBloodGroup").value == "") { alert("Please Enter Blood Group...
Answer 14 May 2013   license: CPOL
Try the below code, It will help you...If TreeView1.CheckedNodes.Count > 0 Then For Each node As TreeNode In TreeView1.CheckedNodes MessageBox.Show(node.Text.ToString()) NextEnd If
Question 14 May 2013   license: CPOL
Hi,I am trying to develop a monitoring tool for Hyper-V Server. By various resources i came to know that it can be done using WMI. I want to monitor(and also some management activity) CPU, Memory, Disk I/O and network performance of Hyper-V server and it's underlying VM's. Any kind of help is...
Answer 14 May 2013   license: CPOL
First put scriptmanager on your aspx page if (dtab.Rows.Count > 0) { GridView1.DataSource = dtab; GridView1.DataBind(); }else{ ScriptManager.RegisterStartupScript(this, GetType(), "alert", "alert('Record not Found');", true);}
Question 14 May 2013   license: CPOL
Hi,I am using asp.net reportviewer control in my aspx page deployed on SharePoint site.I am calling SSRS report in the reportviewer in Remote Processing mode.I am facing following issues and no workaround found on these issues in net:1) ReportViewer is throwing "ASP.Net session...
Answer 14 May 2013   license: CPOL
http://social.msdn.microsoft.c...
Answer 14 May 2013   license: CPOL
OnKeyUp event of textbox you need to do followingClear your listbox.Get matching names from database using sql like operator (pass textbox value in your sql).Fill your listbox with names returned from database.
Question 14 May 2013   license: CPOL
can any one ex plane how to create menu in mvc using razor
MVC
Answer 14 May 2013   license: CPOL
You're opening the file with ios:ate so that the file pointer is at the end of the file, which is why tellg returns you the size you need. You then need to reset the pointer to the start of the file, using seekg, before you call read.Regards,Ian.
Answer 14 May 2013   license: CPOL
you are initilizing the i value=0 each time. When you call the Method it will be set to 0.Instead of that Add a parameter to the Method which you need to pass when u call the Method please try followingpublic string Assigment { get; set; }private List_Assigment=new...

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


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