|
Tht is pretty known..i want to know how to put my whole application on WEB SERVER
|
|
|
|
|
|
|
Its possible to tell datagrid columns visible false in java script...,
If yes plz tell me how to do that one...,
How to mention the following codes in javascript...,
dgrdmain.Columns(0).Visible = False
dgrdmain.Columns(1).Visible = False
Advance thanks,
Magi
|
|
|
|
|
Magh_M wrote: dgrdmain.Columns(0).Visible = False
dgrdmain.Columns(1).Visible = False
These may not be straight-forward in JavaScript. You may need to emit a DIV and then locate it in Javascript using document.getElementsByTagName .
You then toggle visibility using style.display = 'none'
|
|
|
|
|
When you set a column to Visible = False in your server-side code-behind it means no HTML is emitted for that column, so there is nothing for your javascript to detect (so short answer is no)
|
|
|
|
|
I guess he was asking the equivalent in JavaScript right?
|
|
|
|
|
Hi
How to use COM control on ASP.Net page?
Thanks
|
|
|
|
|
ASP.NET has nothing to do with it. If your control can be hosted on a web page, you need to write the HTML to do that, ASP.NET has no COM support.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Do you mean COM Objects ? Like Excel ,IE Broswer ...etc
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
OK.. I have created my own OCX control in (C++,MFC) which i want to use it on aspx page by embeding HTML tags.
|
|
|
|
|
The question does not relate to ASP.NET, look for help on doing what you want in general, and that's what you need to do in ASP.NET
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Make a CAB file for the OCX and expose via OBJECT tag?
|
|
|
|
|
in asp.net,I want to use the cmd command to do something,such as net user ,
I want to create a user in asp.net,my code is follow:
System.Diagnostrics.Process.Start("net user" , @"sysadmin 123456 /add" );
but the calling was failed!Why?
System.Diagnostrics.Process.Start
|
|
|
|
|
A required privilege of processing that request is not held by ASP.NET, which runs as a low-privileged account.
|
|
|
|
|
I want to use microsoft outlook express in asp.net application if there is any api inform me
|
|
|
|
|
Former is interactive client desktop app. Latter is serverside service.
|
|
|
|
|
I heard there is an API for using this in asp.net for that i am asking
|
|
|
|
|
You can create add-inns for outlook and theres probably an interop library so you can control it from you own program, but these are designed for client-side apps, what possible requirement could you have to do it server-side?
|
|
|
|
|
i am doing an application in which i want to display values from dataset in gridview.
i am having a difficulty in getting a particular value from dataset to show in gridview.
one of my friend suggested this code it is not working...
GridView2.Rows[0].Cells[1].Text=ds.Tables[0].Rows[0]["Column1"].ToString();
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
|
|
|
|
|
Is your grid view using bound column or templet column or autocolumn??
Give some more information.
Your friend's code seem to me is right one.
Check other gridview property
|
|
|
|
|
ya its an auto generated column gridview.....
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
|
|
|
|
|
opps sorry but,
In gridview we can not add any new rows, so your code will not work.
But insted of this you can use datasource property of gridview to display recored
|
|
|
|
|
Hi,
Can you paste some more code please?
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
I suggest that you use a DataSource to get the data that is linked by the GridView.
There are several types of DataSources available. SQLDataSource to get data directly form a database, XmlDataSourde to query XML data or ObjectDataSource to get data from custom data objects.
MSDN has some samples of how to use them or just use google to find samples with the key words GridView DataSource
Good luck
Urs
-^-^-^-^-^-
no risk no funk
|
|
|
|