Ok actually i m new to .net so you can tell me that i m right or wrong.
1. First of all i created a class library project in which i added a Windows Form (ModuleTest.cs)
in this form i added a web browser control.This form is having on method.
public void CheckModule(String username, String password, String modulename, List<CustumFields> objList)
{
----------------
-----------------
}
then i build this whole library.(ClassLibrary.dll).
2. I created a web site in which i added ClassLibrary.dll reference.
then i placed on button control over the page
protected void Button1_Click(object sender, EventArgs e)
{
ModuleTest obj = new ModuleTest();
List<CustumFields> objlist= new List<CustumFields>();
obj.CheckModule("admin", "adm1n1@3", "Testing102", objlist);
View Complete Post