473,544 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET Framework Forum

Microsoft . NET Framework - Ask questions about Windows Communication Foundation(WCF), Windows Workflow Foundation(WF), applications (web, server, smart clients, console and database).
0
1,654
Pakmarshal
thread by: Pakmarshal | last post Feb 14 '12 by: Pakmarshal
Hi everyone, In our desktop application projects we use setting variables to store user setting for the applications. Moreover, with every latest version of the applications, we upgrade these variables to retain user settings. Normally, this works fine, but recently one of my end user reported an error i.e. “Configuration System failed to...
0
1,258
thread by: Gobi nath | last post Feb 13 '12 by: Gobi nath
i am creating vb.net application.. i need to set the width and height of crystalreportpages.. report is in a4 format...but i want to print tat A4 format to 15 * 11
2
1,501
thread by: Falkeli | last post Feb 12 '12 by: Falkeli
I'm writing a WinForms program, in which I have some user controls. Some of these user controls need to do things before being displayed, which cause the designer not to be able to use these controls. I've tried moving the relevant code from the constructor to the Load event, but it's still crashing the designer. Where should I put this code?
7
8,378
thread by: nluciano | last post Feb 11 '12 by: JoseLuis
I am trying to send xml to a java-based web service given to me by a thrid party via a c#.NET application, and I get the "org.xml.sax.SAXParseException: Content is not allowed in prolog" error. I have verified the xml against the schema, and I passed the memorystream I am using to hold the xml to an .xml file, then opened the file with a hex...
1
1,969
thread by: 18011989 | last post Feb 11 '12 by: PsychoCoder
ASP.NET 2.0 ImageField Upload Image Insert / Update
1
2,030
Carrie Green
thread by: Carrie Green | last post Feb 11 '12 by: PsychoCoder
Hello, I keep having issues with installing and/or updating .NET framework versions. I contacted microsoft support and they sent me a dotnetfx_cleanup_tool.zip, which I ran and then rebooted. I also ran CCleaner to check for registry entries and it found 385 missing dll entries, which I also cleaned up. (I thought the cleanup tool was meant to...
5
2,455
thread by: rajasekar s | last post Feb 10 '12 by: Newface
I want to store an image from PC to ms sql db , I want the details of the coding from the first step. From getting the image to converting to bytes and then storing, Can anyone please provide me the coding part of it..
1
2,071
thread by: Newface | last post Feb 10 '12 by: Newface
Error:Invalid parameter 7 ('@photo'): Data type 0x22 is a deprecated large object, or LOB, but is marked as output parameter. Deprecated types are not supported as output parameters. Use current large object types instead. my code is : protected void cmdActivatePofile_Click(object sender, EventArgs e) { SqlConnection...
0
1,577
thread by: Newface | last post Feb 9 '12 by: Newface
I am trying to read a word file and display it in a panel. my idea is like below,which is not providing correct output: protected void cmdView_Click(object sender, EventArgs e) { //ReadWriteData is a class ReadWriteData rwd = new ReadWriteData(); string sb = rwd.ReadFile(@"C:\Documents and...
2
2,176
thread by: Newface | last post Feb 9 '12 by: Newface
string SQL = "SELECT FileName,FileSize,ContentType,FileData FROM FileTable WHERE FileID = '" + FileID + "'"; SqlConnection con = Connection.GetConnection(); SqlCommand cmd = new SqlCommand(); DataTable dt = new DataTable(); SqlDataAdapter da = new SqlDataAdapter(SQL, con); cmd.CommandType =...
4
2,810
thread by: sachin Bhise | last post Feb 9 '12 by: sachin Bhise
i want to connect combo box of my vb.net project to a table in database.how should i achieve it please help me..pls illustrate full syntax for that connection.
1
5,609
thread by: riteshsingh | last post Feb 9 '12 by: PsychoCoder
Hi All, I am using EF 4,There is a instead of trigger in the table Service. The trigger get the value of the serviceTypeid and if the serviceTypeid is not present in the master table the trigger insert the record in the master table. Now when i am going to save the records in the Service, i am getting the error that "Store update,...
4
3,745
thread by: enggwaqas | last post Feb 8 '12 by: Emmet M
I have an Oracle stored procedure that takes approx 3 minutes to execute and I am using .net 2.0 data access provider for oracle. Now i want to cancel the execution of stored procedure from .net after few seconds, the code i wrote for this is: //Start main function System.Data.OracleClient.OracleDataAdapter objAdapter;...
3
19,551
thread by: PRR | last post Feb 8 '12 by: Andreas Lisker
i guess one can get username by variety of ways system.environment.user, system.sercurity.principal.windowsidentity and win32_useraccount i wanna know how to get current users.. who is logged in and running program... username and password..
5
12,030
thread by: sejal17 | last post Feb 7 '12 by: benaref
Hello Friends, I want Application that displays an image preview of a Word document (Like thumbnail View of word document) Following is my code but i got error on bold part of code Imports System Imports System.Text
1
1,850
thread by: Dev Sharma | last post Feb 6 '12 by: NeoPa
I m developing a software where i m using VB.NET 2008 as front end and ms access 2007 as back end. My problem is that when i m changing the schema of table in database it shows the changes for one or two time only. Then after the schema rolled back to previous stage. I m unable to proceed now because i want to change the schema but it is not...
0
1,256
thread by: Vijay Naihani | last post Feb 6 '12 by: Vijay Naihani
HI All, I have a gridview in which i want a scroll bar probelem is iam getting the scroll bar in IE but the same scroll bar is coming in disabled state in mozilla.
1
1,480
thread by: kanchan setia | last post Feb 6 '12 by: PsychoCoder
i want to know about the .net scope. i m working in .net from last 1 year and now i want to switch. i have applied at many companies and they usually said that we don't have requirement for .net developer. Because PHP is now days being famous. So should i switch to some other language or continue with it. Although i have a great command on...
7
8,255
thread by: kunku | last post Feb 5 '12 by: moosagahtani
Hi, I am using a query "Select SUM(Amount) from tblAccount where TransactionID=' "+textBox1.Text+" ' "; in my C# project this query return dataset.Tables.Rows.Count =1 eventhough there is no data in my table Account ie, No data row in that table i am expecting a count=0, but i am not getting the correct result Database is MS Access...
2
1,936
thread by: Parul Vinod | last post Feb 4 '12 by: Parul Vinod
My code is showing an error that not all code paths return a value. public bool ValidSession(string sessionid,string username) { SqConnection con=new Sqlconnection(str); string query,query1,database; DateTime date1; query="select username from ActiveUsers where sessionId='"+ sessionid +"'; query1="select datetime from ActiveUsers where...
1
1,744
thread by: RealKing | last post Feb 3 '12 by: PsychoCoder
can anybody plz tell how to codesign a .cab file??? I developed a project in dotnet framework using C# and i made a .cab file of setup of that project, .inf file and .pfx key... whenever i want to install this .cab file via browser it is not installing successfully, giving error as unknown publisher still when i build the certificate using...
1
2,457
thread by: swathi g | last post Feb 2 '12 by: PsychoCoder
how to convert nvarchar into int and string in asp.net and increment the int? eg:ssss3 it will be incremented as ssss4,ssss5............
1
3,467
thread by: satishv96 | last post Feb 2 '12 by: PsychoCoder
DECLARE @results table (result xml) DECLARE @xml XML SELECT @xml =CONVERT(XML, bulkcolumn, 2) FROM OPENROWSET(BULK 'D:\xmlfile\abc\Technicle1021012.xml', SINGLE_BLOB) AS x select @xml i want to stor this xml data in our sql database
0
1,173
thread by: vellor | last post Feb 2 '12 by: vellor
My DAL is written in LINQ. I need to wrap some parts of code in transactions. i want to have opportunity to do queries on table while transaction is running.But also i don't want to have problems with dirty reads. Which isolation level should i use?
1
1,660
thread by: furqi | last post Feb 2 '12 by: Joseph Martell
hey every body My name is furqan ahmed i am new in serial communication using c sharp.I am using a serial port through which i am getting data to the hyper terminal.The output is as follows D1U1201250000000085865000000S004100417001130034200820202710033000404102000004100759000080000200031004740010500097002250 can any body help me...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.