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
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[^]
Question 14 May 2013   license: CPOL
hello to alli need server host to hosting web application use https with high secure
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
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
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 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...
Question 14 May 2013   license: CPOL
I have created a window and added almost 50 buttons to it. But the problem is that I can only see a few of those buttons as my window does not scroll up/down or left/right to show me the remaining buttons.If my window is an edit box, I can easily add AutoScroll to it i.e. as soon as the text...
Answer 14 May 2013   license: CPOL
I didn't got the exact reason for that '?'. I just got out of that by removing the element at zeroth position. I think the reason for that is same as stated by Sergey Alexandrovich.xmlOutput = xmlOutput.Remove(0, 1);
C#
Question 14 May 2013   license: CPOL
Hi experts,How to load data in jqGrid pagewise? For example if I have 100000 json records which I need to load in the jqGrid but not all at once because it takes a lot of time. So, I want to load first 500 records at first load of page. And then next 500..next 500 and so on. Could you please...
Question 14 May 2013   license: CPOL
hi. i am creating a win form using vb.net.. in this i want to read all the line from text file using FOR loop which user opens. so how should i do this?? please help me..
Question 14 May 2013   license: CPOL
hey, i am using treeview tool with check boxes in asp.net/vb. i want to read the checked node of tree view than want this to show in message box . i have used treeview1.selectednode.text code but its not working ... plz help
Question 14 May 2013   license: CPOL
int main () { ifstream file ("C:\\Users\\filetypes.txt", ios::in|ios::binary|ios::ate); if (file.is_open()) { size = file.tellg(); memblock = new char [size]; file.read (memblock, size); cout { cout...
Answer 14 May 2013   license: CPOL
Use the StreamReader.ReadLine method:http://msdn.microsoft.com/en-us/library/system.io.streamreader.readline.aspx[^]
Question 14 May 2013   license: CPOL
My connection string is to connect MySQL from client system isProvider=MySQLProv;Driver={MySQL ODBC 5.0.9 Driver};Server=IPAddress;Database=DBName;User=root;Password=adminadmin;Option=3;I have installed MySQL Connector/ODBC 3.51 and 5.0.9 alsoThanks
Question 14 May 2013   license: CPOL
hi,how to bind Date as Columns in mysqlex:01-01-2013 02-01-2013 03-01-2013 04-01-2013 -- -- ----?
Question 14 May 2013   license: CPOL
CodeSqlConnection con = new SqlConnection(@"server=ZAIN\SQLEXPRESS;database=Project;user id=sa;pwd=abdeen"); SqlDataAdapter com = new SqlDataAdapter("execute UpdateShopDetails '" + txtName.Text + "','" + txtAddress.Text + "','" + txtPhoneNo.Text + "'", con); ...
Answer 14 May 2013   license: CPOL
Try:SELECT username FROM MyTABLE WHERE userName LIKE '%a% ORDER BY userName ASC
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...
Answer 14 May 2013   license: CPOL
https://www.google.com/search?q=call+C+%2B+%2B+function+from+javascript[^].
Answer 14 May 2013   license: CPOL
First off, can I suggest that you only read the Sid and ContactId once per execution, and store them in a variable? Then ensure it returns only a single value:DECLARE @SID INTSet @SID = (SELECT TOP 1 Sid FROM MyTable WHERE Name=@Name)Then use the variable in each of your updates.
Question 14 May 2013   license: CPOL
hi everybody I have member in my site , who can see every page, but I wana limit some of my pages to visitors who are not my member.what should I do ?
Answer 14 May 2013   license: CPOL
Your getting this error because your subquery is returning more than one value and you are using “=” operator which is anticipating single value. One to way solve the problem is to use “TOP 1” in your subquery.For Exampleset Sid=(select Top 1 Sid from Shops Where Name= @Name)
Answer 13 May 2013   license: CPOL
The problem is with objDataAccessUtilities.ExecuteDataReader(command); instead of this we have to useobjDataAccessUtilities.ExecuteNonQuery(command);
Question 13 May 2013   license: CPOL
Dear Friends,I have struck at a position where i have created multiple forms & unable to get the same data into a pdf report .Report to consist of data which is been selected in the forms by using list box ,buttons,logo etc.,Could any one help out please.Regards,Yashnara
VB
Question 13 May 2013   license: CPOL
Iam having a usercontrol in that i have a menu content this content i want add inmy _layout.cshtml .can an one help methanxs
MVC

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


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