nisar,
thanks for your reply...
actually my question is i need to access data by executing storedprocedure as i questioned earlier in tha chat.
here is my part of my snippet.... but i didn't understand DataContext so i'm just referring now...
private const string SP_GET_ALL_CATEGORY = "SP_GET_ALL_CATEGORY"; // my stored procedure which is in SQL server. not in DBML/ edmx....
public static void GetCategory()
{
using (DataContext dc = new DataContext(connectionString))
{
// here i need to pass parameter and execute the SP.... how?
}
}
could you please give me reply....