Posts

Nilesh Gule's Technical Blog: Entity Framework : Part 6 – Perform CRUD operation...

Nilesh Gule's Technical Blog: Entity Framework : Part 6 – Perform CRUD operation... : "Background This is the sixth part of the Entity Framework 4 learning series . Today I am going to demonstrate how to perform create new e..."

Data Filtering to DetailsView Via GridView

Image
Introduction   We going to need a data table in order to work with this example. in here I’m using StudentResult as my data Table. you can download example files using the  Above link ..   Download     Step :1   First of all Fire-up Visual Studio and create a new Website select the Language as Visual C#. then hit ok button.. then add a data base to your project. and insert any data you want to display. in my case I'm using SqlExpress Database to store all my data. because its easy to use any I can interact with my database easily via visual studio.     Then add a GridView and a DetailsView  to the designing area. you will see something like this..     I have a Grid View at the top and a Details view at the bottom                         now we need to bind data in to GridView. to do that you can use smart tag as shown below..     ...

Simple Introduction to web services in ASP.net C#

Image
1.        What is a web service: A web service allows a web site(web application) to expose programmatic functionality via the Internet. Web services can accept messages and optionally return replies to those messages . in our case what we are doing is we create a web service and put it in a local web-server like IIS. Then we create a website that can request something from that web service.lets simply read time or some kind of string from web server. 1.        Getting familiar with web service.. Creating the web service… simply go to new project --> web --> Asp.net web service application and give the project name as you want.. in my case im using myWebservice as my project name.. 1.         In Solution Explorer you will see something like this.. Note that we don’t have something like ASPX.. Thing we have here is asmx that is the extension of service file.. that m...