|
|
rajatarora wrote: i m gettin this exception while makin a connection
What is the exception message ?
You should give problem explanation of your problem so that you can get the exact answer. While you are asking question like "I am getting this exception while making a connection" - Now as a end user persprective thing about it. What connection ? What exception ?
So, please be specific.
Thanks !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
How can i count number of browsers running on my system by using .net application.
regards,
basha'
|
|
|
|
|
On the client computer? AFAIK answer should be no.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
Are you talking about Client or Server ?
IF you are talking about Your own machine, you can just use System.Diagnostics.Process.GetProcesses and point out all the application exe's running on the system.
If you are talking about Clients who logs in to your system, you cant do that.
|
|
|
|
|
in my system only...if u have any samples code plz post it.
Regards,
Basha.
|
|
|
|
|
inayat basha wrote: in my system only
So that makes this a wrong forum.
There is a method GetProcesses in the class Process . That will give you list of all the processes running on your computer. From them, you will need to filter out the processes related to the browsers. For eg. chrome.exe for chrome browser.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
|
Hi All,
I have a cube created using SSAS 2005.
1- I need to create Roles related to this cube using ASP.net. Any help or suggestions.
2- Is it possible to develop some code that opens the window that pops up when creating a Role from SSAS and the manipulation is done through this window instead of code.
Thanks
|
|
|
|
|
Hi,
I have a plain template coloum in a gridview, when user click on the template coloum a dropdown list should display in the particular cell with dynamically binded values.
How can we do so?
Thanks
YPKI
|
|
|
|
|
You can put a label in the template column , and onclick event of the label show the dropdown
|
|
|
|
|
You add EditTemplate Item with that template field.
there you can add a drop down and bind the values
in grid view Edit event
|
|
|
|
|
Hi,
Is it possible to bind all the columns in a data table to a dropdownlist? ex, I have the below table, I want to bind all the columns except ProductID column to a dropdownlist and when user select product from the list I need to get the productID.Can any one suggest me.. If not possible in dropdown is there any alternative method to meet my requirement? am using vs2008 asp.net and C#
ProductID Product Name Version Platform
111 Madeira 2.0 windows
222 Amazon 1.1 windows
333 Madeira3 2.1 Lynux
|
|
|
|
|
Loop the datatable and Append All the values expect productId into string
.Use this string as DataTextField anf ProductId as DataValueField
|
|
|
|
|
thanks for your suggestion. I have hundreds of products in the table. Is there any possibility to have scroll bar in the dropdonwnlist.
|
|
|
|
|
When you click on the arow in the drop down list , it will be shows a list of items with scroll bar. am i right?
|
|
|
|
|
|
Then why should you need a scroll bar in dropdownlist?
|
|
|
|
|
when the dropdownlist gets too many items in it the user cannot select the bottom ones (the bottom goes below the screen area). How do i put the scrollbar in the dropdownlist?
|
|
|
|
|
scroll bar is coming automatically when items are more...
|
|
|
|
|
Hi,
We can put dropdownlist into a panel
kannak
|
|
|
|
|
hi,
I am passing values (as list object) to flex using webservices.
I am getting problem in assigning these values to combo box in action script.
my code....
private function Getemp(event:ResultEvent):void
{
cb.dataProvider = event.result;
cb.labelField = "@empname";
cb.data = "@empid";
}
any suggestion on this...
|
|
|
|
|
How to import email id or contacts from other domain for ex. say from rediffmail,AOL mail,gmail,etc in asp.net c#?
|
|
|
|
|
|
I used below code to display some data using crystal report.i used separate dataSet() object and connected it to the crystal report setDataSourse.
There are no compile errors,but after running it gives me the error
"Load report failed".
plz help..
The code.
String ConnectionString = ConfigurationManager.ConnectionStrings[0].ConnectionString;
SqlConnection con = new SqlConnection(ConnectionString);
SqlCommand com = new SqlCommand();
SqlDataAdapter da = new SqlDataAdapter();
DataSet1 dataset = new DataSet1();
com.Connection = con;
com.CommandText = "Select * from tbl_test_ForumList";
da.SelectCommand = com;
try
{
con.Open();
da.Fill(dataset, "Query");
}
finally
{
con.Close();
}
ReportDocument myrpt = new ReportDocument();
myrpt.Load(@"D:\ssp_vir\Forum5\Interfaces\Common\ExamResults\Results.rpt");
myrpt.Database.Tables[0].SetDataSource(dataset);
CrystalReportViewer1.ReportSource = myrpt;
CrystalReportViewer1.DataBind();
|
|
|
|