1
Answer

how to store and retreive ms word document in sql server 2000 using asp.net with c#

Photo of charan sekhar

charan sekhar

14y
2.3k
1

hi iam using asp.net with c#  with back end as sql server 2000

i want to store and retreive ms word document 2003 or 2007 using asp.net with c#.....can you give me example which helps me

Answers (1)

0
Photo of Hirendra Sisodiya
NA 8.8k 3m 15y

if you make it protected , only derived classes (of even another Assembly) can access the member and if you make it internal , only classes (either derived or not) of the same Assembly can access the member
Suppose that
namespace Country
{
public class State
{
// Declare three methods protected internal,protected and internal inclass state of Country library
protected internal void City1
{
// Code
}
protected void City2
{
// Code
}
internal void City3
{
// Code
}
}
// drive new class District from state
public class District : State
{
public District()
{
// we can access all three methods..
City1();
City2();
City3();
}
}
public class Highway
{
public static void Main()
{
State cls = new State();
cls.City1();
cls.City3();
//----------------------------------------
cls.City2();
//--Here we cant access Prtotected Method
//----------------------------------------------
}
}
}

// now wetake an another class library

namespace
Water
{
public class River : State
{
public void Main()
{
cls.City1();
cls.City3();
//--Here we cant access internal method
}
}
}

that means protected internal; only derived types or types within the same assembly can access that member, so they need to be in the same Dynamic Link Library or an executable file.
hope your confusion hasbeen cleared
thanks
Please mark as answere if it helps