Hi,
i am using Telerik.Web.UI version: 2009.2.826.35
I have a sql DataTable which contains id,startDate,End date and text.
basically i want to display all text between the date range in RadScheduler. this is only view purpose.
I could not find any good example to use SQL DataTable.
Can any one help me please...
here is my code to get data from SQL Database
private DataTable GetSelectedCitations(string strCitationIDs)
{
DataTable objDT = null;
using (SqlConnection objConn = new SqlConnection(DBConnectionString))
{
SqlCommand objCmd = new SqlCommand("uspCITGetCitationInfo", objConn);
objCmd.CommandType = CommandType.StoredProcedure;
objCmd.Parameters.AddWithValue("@ID", m_ID);
objCmd.Parameters.AddWithValue("@CitationID", strCitationIDs);
SqlDataAdapter objDA = new SqlDataAdapter(objCmd);
objDT = new DataTable();
objDA.Fill(objDT);
objDA.Dispose();
}
return objDT;
}
thanks
Ramnaa