following are some practice problems for c#.net
programmers.teachers try it in classes.students
or novice c# programmers solve those problems to
practice c# programming in -
how to get RadioButtonList selected index and text using jquery
Written by Super Userif you want to get the selected index or text of a asp.net
RadioButtonList using jquery then use the codes below -
follow the steps to write web service in c# programming language-
opening a text editor,put the codes below and save the file as
web.asmx-
<%@ WebService Language="C#" class="WebService1" %>
using System;
using System.Web.Services;
[WebService(Namespace="http://www.yoursite.com/webservices/")]
class WebService {
[WebMethod]
public string SayingSomething() {
return "Hello all";}}
exporting to data in excel is a very common practice
in business website.one can use asp.net Response methods
to export to excel which is easy to do using a gridview.but
contents not appear properly like there will be white back-
ground over excel rows and this way is not efficient too.
Its easy to implement OnCheckedChanged event of RadioButton
control but most programmers makes mistake by not
including AutoPostBack="True" property in radiobutton
control.sometimes OnCheckedChanged not works for that
reason.here are the full working codes -
how to get profile and membership data in dnn module
Written by Super Usergetting dnn user information from dotnetnuke module is
easy.
you can get dotnetnuke user's User Credentials
and Profile data by the following way -
If you used itemtemplate for items in datalist control then
you can easily delete,edit and then update items
using edititemtemplate.to do that add a itemtemplate and
edititemtemplate in the datalist.also you have to add
command buttons and command event handlers -