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


Author filtered by: snehal harawande [x]
Article 12 May 2013   license: CPOL
This article presented how to use code coverage during regression tests (auto/manual).
Answer 1 May 2013   license: CPOL
Check another example.http://www.dotnetspeaks.com/DisplayArticle.aspx?ID=29[^]
Answer 1 May 2013   license: CPOL
Check example given in below linkhttp://www.c-sharpcorner.com/uploadfile/dhananjaycoder/collection-in-wcf/[^]
Answer 1 May 2013   license: CPOL
While Adding service reference select list as return type for array.
Handle DateTime in .net by snehal harawande
Answer 19 Apr 2013   license: CPOL
user DateTime.ToString("dd/MM/yyyy).
Answer 16 Apr 2013   license: CPOL
Recently I used AjaxTabContainer with Modalpopup it worked.I placed modalpopup outside the tab container & called from code.Use below link http://jamestsai.net/Blog/post/How-to-use-ASPNET-AJAX-UpdatePanel-in-ModalPopup.aspx[^]Download sample...
Answer 16 Apr 2013   license: CPOL
Use below link to open.download excel fileExporting DataGrid to Excel, Word and Text Files[^]To upload data from excel use below linkImport Data from excel to SQL server using C# in ASP. NET[^]
Answer 14 Apr 2013   license: CPOL
amperayani is correct use if(session["username"]!=null) in master.Why u r redirecting to master page from login page?You should redirect to .aspx page.
Answer 11 Apr 2013   license: CPOL
While working on email functionality I also had same issue.It's because we are directly using file name from upload.To solve issue I saved the file from uploaded to temporary upload folder on server.Then send the mail with attachment.After that clear uploaded file from temporary upload...
Answer 8 Apr 2013   license: CPOL
There are quite a few overloads to create an Attachment, none of them match the way you initialised the Attachment.When creating an Attachment the second parameter needs to be either NULL or identify a valid MIME-type for your attachment.Please refer below...
Answer 8 Apr 2013   license: CPOL
In create statement column is not allowing null as below[OrigLoanAmt] [decimal](18, 0) NOT NULL,Change it to allow null.
Answer 8 Apr 2013   license: CPOL
Please refer below linksInsert, Update, Delete with Gridview ... Simple Way[^]http://aspnet-with-c-sharp.blogspot.in/2011/02/insertupdatedelete-in-gridview-aspnet.html[^]http://www.aspdotnetcodes.com/GridView_Insert_Edit_Update_Delete.aspx[^]
Answer 4 Apr 2013   license: CPOL
You needs to register for domain of your website. Domains are acquired through a Domain Registry agent. Often, these companies also provide hosting services. GoDaddy is one, for example.You will first need to find a name that isn't already taken and register it. This makes it "yours" -- at...
Answer 4 Apr 2013   license: CPOL
Try Below Linkshttp://stackoverflow.com/questions/12578492/error-in-deserializing-body-of-request-message-for-operation-try-changing-maxn[^]http://stackoverflow.com/questions/2765598/wcf-the-maximum-nametable-character-count-quota-16384-has-been-exceeded-whil[^]
WCF
Answer 3 Apr 2013   license: CPOL
For such scenarios you needs to implement dynamic query.Check below linkhttp://flylib.com/books/en/1.142.1.57/1/[^]
Answer 3 Apr 2013   license: CPOL
Master Page is concept of Asp.Net.Before ASp.net in ASP or HTML we simply use to copy paste code for common layout.
using next button in c# by snehal harawande
Answer 28 Mar 2013   license: CPOL
As you said there are 3 records then inc should vary from 0 to 2.& Condition if (inc
C#
Answer 28 Mar 2013   license: CPOL
On delete button click try to delete data from database.Then retrieve data & bind to grid.
Answer 26 Mar 2013   license: CPOL
Please provide more details with steps what u r doing n code.
Making GridView Clickable by snehal harawande
Answer 26 Mar 2013   license: CPOL
You needs to use Templates for edit update & deletePlease use belowlinksEditable GridView in ASP.NET 2.0[^]Full-featured Editable GridView Control[^]
asp.net code for treeview by snehal harawande
Answer 25 Mar 2013   license: CPOL
Please check below linkhttp://msdn.microsoft.com/en-us/library/d4fz6xk2(v=vs.80).aspx[^]ASP.NET TreeView Control & the Client's Browser[^]http://msdn.microsoft.com/en-us/library/d4fz6xk2%28v=vs.80%29.aspx[^]
Automating executable code by snehal harawande
Answer 25 Mar 2013   license: CPOL
You needs to create Sql Server Agent jobs for such requirements.Please refer below links & serch for more info.http://www.aspsnippets.com/Articles/Automated-Email-Notifications-using-SQL-Server-Job-Schedular.aspx[^]http://msdn.microsoft.com/en-us/library/ms190268.aspx[^]
Making GridView Clickable by snehal harawande
Answer 25 Mar 2013   license: CPOL
You can unable AutoSelectColumn & write code for event SelectedIndex Change.So that extra column shown to select grid view row.You can also use below links to do this without using AutoselectColumn property & make complete row click able. But I never tried...
how to use join in update query by snehal harawande
Answer 25 Mar 2013   license: CPOL
Use merge instead of update as belowMERGE INTO Sales_Import USING RetrieveAccountNumber ON Sales_Import.LeadID = RetrieveAccountNumber.LeadIDWHEN MATCHED THEN UPDATE SET AccountNumber = RetrieveAccountNumber.AccountNumber;...
Answer 25 Mar 2013   license: CPOL
You need Sql Server on that machine.You can create deployment package 1) open output window2) right click project Create Build Deployment package3) open folder from path given in output window4) Copy & paste contents from package folder to destination system & host in iis.5) Change...
Answer 25 Mar 2013   license: CPOL
You just needs to change connection string as per user details.Check below linksBind multiple databases to a single DataGridView[^]How to work with Multiple SqlServer 2005 databases with ASP.Net C# Application[^]
C#
Answer 25 Mar 2013   license: CPOL
Solution will be simple as below1) Add connection string for centralized db in web.config. & use it while login user in.2) Store user specific connection string in user login details table in another column or in another table.3) During user log in get user data with specific connection...
C#
Answer 24 Mar 2013   license: CPOL
Check below link by Shivprasad koiralaASP.NET Application and Page Life Cycle[^]For interview purchase Shivprasad koirala book for interview. It is very nice.
Answer 22 Mar 2013   license: CPOL
Please check below linksoperation must use an updateable query ms access[^]http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/d2d32558-78a8-4cbd-9f3f-114d7f4d4705[^]
Answer 22 Mar 2013   license: CPOL
Check below msdn link for formsAuthentication exampleExplained: Forms Authentication in ASP.NET 2.0[^]Also Check below linkForms Authentication in ASP.NET with C#: Advance[^]Check Video onUsing ASP.NET Forms Authentication [^]
Answer 22 Mar 2013   license: CPOL
Check session value in page loadIf required value is null then redirect to home page which redirects to diferent page based on user roles.
MVC
Answer 22 Mar 2013   license: CPOL
Check below links for storing files in dbhttp://archive.aspsnippets.com/post/Save-and-Retrieve-Files-from-SQL-Server-Database-using-ASPNet.aspx[^]http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=112[^]
Answer 22 Mar 2013   license: CPOL
Hi Varun,You can use session object for this purpose.Steps1) in page init initialise dataset2) in page load not postback get data from db if required & store in session object3) in page load in post back get data from session.4) in actions like add/update/delete do actions on dataset...
Answer 22 Mar 2013   license: CPOL
Such error occurs when we have infinite loop. Please check
Answer 22 Mar 2013   license: CPOL
Simply gather data from different grids & then insert in the db table.
Answer 22 Mar 2013   license: CPOL
Not Sure but below link might help youhttp://forums.asp.net/t/1792541.aspx/1[^]
C#
Message contract in WCF by snehal harawande
Answer 22 Mar 2013   license: CPOL
Hi Buddy,You r using property as operation contract that's why do r not getting values in soap.Creating property as operation contract is not advicible.Use property as Datamember as explained in below...
about choosing field... by snehal harawande
Answer 22 Mar 2013   license: CPOL
Computer Engineering-Require to give pretest-fees are much high-vast portion so needs to mug up answers-More Theoritical than Practicals-Duration 4 yrsComputer Science-no pre-test-vast portion so need to mug up answers-Yearly paterns which puts pressure during exams-More...
Answer 22 Mar 2013   license: CPOL
Don't have much infromation but check below linkshttp://www.mssqltips.com/sqlservertip/1958/sql-server-cross-apply-and-outer-apply/[^]http://technet.microsoft.com/en-us/library/ms175156(v=sql.105).aspx[^]
Answer 22 Mar 2013   license: CPOL
Error is because of this linefor (int i = 1; i
load data from an access table by snehal harawande
Answer 22 Mar 2013   license: CPOL
No You don't need to add any reference.Just use System.Data.OleDb. Details given in below link.http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/8ee73442-f28b-49ab-a4d9-8b550f841aa4/[^]Also...
Answer 22 Mar 2013   license: CPOL
IDENTITY is supported in SQL Server 2000. Please check below linkhttp://msdn.microsoft.com/en-us/library/aa933196(v=sql.80).aspx[^]
Answer 21 Mar 2013   license: CPOL
foreach is just a shortcut, that simplifies performing the collection enumeration. From http://support.microsoft.com/kb/307484[^], which describes how to create a custom collection (implementing IEnumerable):How does this work? For Each calls the GetEnumerator method to create the Enumerator...
Answer 21 Mar 2013   license: CPOL
You needs to use AJAX extender for this functionality which gets list using webservice when you type a word or letter in text box.Use AJax Autocomplete Control for this as given in below linkhttp://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx[^]
Answer 21 Mar 2013   license: CPOL
In grid row databound event you can check values & change color for cell values using below codeint columnIndex = 1;int rowIndex = 2;// create bold font based on the default font Font newFont = new Font(dataGridView1.Font, FontStyle.Bold);dataGridView1[columnIndex, rowIndex].Style.Font...
C#
Answer 21 Mar 2013   license: CPOL
each operation from the service contract is exposed in WSDL. That is how WCF works. So each client consuming service WSDL can "use" it.If you want to hide method based on flag then use if case to execute method if flag true.Otherwise do not execute anything.
Answer 21 Mar 2013   license: CPOL
Use below msdn link to understand generics in detailhttp://msdn.microsoft.com/en-gb/library/512aeb7t(v=vs.80).aspx[^]
Answer 21 Mar 2013   license: CPOL
Such Exception generally occurs when you use infinite loop.Check if you r having infinite loop.
Answer 21 Mar 2013   license: CPOL
You needs to set foreign Key Constraint with cascade rule.So that, when you delete parent record all child records gets deleted.Similar thing you can done manually in a single stored proc asFirst delete all child records then delete parent record.
Querying using Entity Framework by snehal harawande
Answer 21 Mar 2013   license: CPOL
Try entity framework tutorial on below link. Very nicehttp://www.entityframeworktutorial.net[^]

Page 1 of 2
1 2


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