Showing posts with label build. Show all posts
Showing posts with label build. Show all posts

Thursday, March 29, 2012

Please correct my @ Page directive for codebehind asp.net

I have a vbproject called myvbproject, in that i created a class called class1.

I build the solution to it, and it created the class1.dll in its bin directory.

Now, i want to use that class1.dll in my asp.net projects web form.

I am writing the following in my asp.net webform1: It is not working: Can you please correct my @dotnet.itags.org.page directive code.

<%@dotnet.itags.org. Page language="VB" Codebehind="class1" AutoEventWireup="false" Inherits="myvbproject.class1" %

Thank you very much for the help.To use class1 from compiled assembly class1.ddl you should not alter your page directive. Add reference to class1.dll, declare variable and use it.

Saturday, March 24, 2012

please help .. with Microsoft webcontrols ..

I downloaded the IE Web controls package and as instructed ran the Build file which does create the build folder with a subfolder called runtime but I do not see any Microsoft.Web.UI.WebControls.dll being created anywhere in this folder. What is going on ?Open up your build.bat with notepad and make sure the path to
csc.exe is valid. see below example.

c:\windows\microsoft.net\framework\v1.1.4322\csc.exe

Also run build.bat from the DOS shell not the Run menu so you can see what is happening.
I downloaded the IE Web controls package

For the love of our lord Jesus Christ, why?

and as instructed ran the Build file which does create the build folder with a subfolder called runtime but I do not see any Microsoft.Web.UI.WebControls.dll being created anywhere in this folder. What is going on ?

Are you building through commandline, and when building, did you resolve the first 'error'? (THis might be entirely based on experience, but there is usually one error to resolve when you try to build it the first time
hey what do you have against the iewebcontrols... the tabstrip + multipage works ok. Do you know of any other tabbing control that's free that's better. It would make my life a lot easier.
Free? No.

Better? All of them.

The IE Web Controls are the equivalent of Windows Millennium. It works, but it really isn't that good. If I had been a little more dishonest, I could have given you my version of the same controls I wrote for my previous company... those controls are probably on sale somewhere right now. :(

please help , build datatable of FileUpload , or DataColumn , datatype of FileUpload

hello , I'm trying to create tatatable to store list of fileuploads to use them to patch upoad

my problem is to create the (DataColum)

this is my code

1DataTable My_Dt =new DataTable();23 DataColumn myDataColumn =new DataColumn("ColName", Type.GetType("System.Web.UI.WebControls.FileUpload",true));4 My_Dt.Columns.Add(myDataColumn);5
 It gives me error
/*****/ 
 Could not load type 'System.Web.UI.WebControls.FileUpload' from assembly 'App_Web_5dgo8bbt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
 /******/
so anyone provide any help to do this ?
thanks in advance,. 
 

I don't think you can create a datacolumn with a datatype of FileUpload control.
If you are trying contain the file name, then all you need is a text column. Then, when populating your datatable, add in the string equivalent of the filename.
Hope this helps.


well, thank you rof your response

I got it

let me share it with you

DataTable My_Dt = new DataTable();
Type type = FileUpload1.GetType();//it's in my form
DataColumn myDataColumn = new DataColumn("ColName", type);
My_Dt.Columns.Add(myDataColumn);

I hope this helps you in future, lol

Wednesday, March 21, 2012

Please help me find a solution

I need to build a web application which has these features.

1. I want to build a tree view structure which dynamically maps the dirs and sub dirs on the server. In another word, if the directory/folder structure on the server has been updated, then it shows dynamically/automatically on my web page.

2. I want user to be able to save word document as .html file under the server directory, so that when I click the node of treeview on my web page, the word document could be shown up in the right panel of the web page.

what is the best way to implement it? I have these available:

a.)asp.net /asp
b.)vb.net /vb
c.)write activex control using vb or vb.net then embed it into the web page.(I don't like activex control though)Any from a and b would do. Just remember that asp goes with vb and asp goes with vb.net, the way you have written it looks as if you may be a little confused here.

please help me i need build a search for my site

i need to build a search for my site that can searching in my dynamic and static page that in my site
pleease give me help to solve my problem
thanks my friendSee this thread;
http://forums.asp.net/1127411/ShowPost.aspx

Friday, March 16, 2012

Please help me to find...

Please! Help me to find the example of code, to build user data list and add user to the list, and delete.Hi,

and welcome to the forums.

This is a very interesting link for you that you can use when discovering the datalist control:ASP.NET Data Controls Part 3: DataList.

Grz, Kris.