Monthly Archives: November 2009

Use server side variable value in JavaScript in asp.net

Sometimes we have to use server side variable value in JavaScript. Here I would give how to use the Server Side Variable in JavaScript. In Code behind public string strName; In Page_Load strname = “Welcome to Code Behind Page”; In java … Continue reading

Posted in Articles | Tagged , , | Leave a comment

How to get distinct Data from Dataset ( or) select distinct from dataset.

In some scenario select distinct data from the Dataset. Dataset provide an option to get distinct data from the dataset. I have database connection to connect my local database.   SqlDataAdapter da = new SqlDataAdapter(“select empolyeename,Department,salary from employees inner join … Continue reading

Posted in Articles | Tagged , | Leave a comment

How to filter data in dataset

  Dataset is collection of data of Tables stored in Client Memory. In some scenario we want to filter the data without submitting another request to the database server.Dataset provide an option to filter the data based on condition.  SqlDataAdapter … Continue reading

Posted in Articles | Tagged | 1 Comment