The scenario is: There is two asp text fields Date From and Date To and in both there are asp Calender and a ajax Calendar Extender beside the text field. So when the calendar is clicked it po...
How do I use a variable for the printer name 'Adobe PDF' in the WMI query, instead of hard coding the printer name? I would like to pass in a string variable, such as strDefaultPrinter. I am t...
I came accross one in Chapter 7, here:
http://212.14.233.133/portal_resources/downloads/programming/c_sharp_dot_net_web_developers_guide.pdf
but wonder if it's still current since the do...
Hi experts,
I could not apply the font size from codebehind.
I tried 2 things,
lblQuestion_1.Text = "<a style=font-size=24px;font-family=Tahoma href='./Default.aspx?mid=" + s...
are there any time-series libraries in c#?
I have a field inside a gridview/detailsview that pulls data from a database. That field is a bound field.
I want to replace the original text inside that field with text that's been parsed...
Is it possible to do a trim the text in a gridview to only show the first 10 characters.
I can do this in sql, but i really need to be able to trim the text once in the gridview.
Hello,
I found this tool online: http://www.mikes-marketing-tools.com/ranking-reports/
It checks the current position of a given keyword on different search engines. As I have several webs...
I just want to know how to represent integers in WriteLine("value of integer: \i", integer);
I know \i isn't right.
Hi
I need to
1. Read a text file (a.txt), it has the data:
Peter
Tom
Edith
(One line one name)
2. Add a number to them
Peter 132
Tom 253
Edith 455
(one line one name + number)
...
Hi I have a Dataset of studentData
I make a subset of Active Students into a different Dataset... Original dataset bound , I have no problems
I try binding this Dataset to the combo. It ...
Hi,
I have a dataset bound to comboBox1 with records.
In a certain scenario I have to reload the dataset with some other data if combo2 is selected.
So When combo2 is selected I set the ...
Greetings:
I'm trying to compile a project that compilied fine five minutes earlier. The error I'm getting is:
Property or indexer '...' cannot be assigned to -- it is read only C:\Proj...
Greetings all
I insert records into a DataGridView, via the dataset (see attached). If, before moving off the new record, the user presses <Escape> I would like to drop that record.
Hoe...
I have a treeview in my winforms app where every time a node is selected, a form is displayed for that node. Usually it is the same form and the image is updated.
If you use the up or down ar...
I'm developing an application in C# and it needs to utilize a separate utility that is an .exe file. How can I execute commands in C# code as if I was executing them from the command prompt?
Hi,
I have a typed dataset (dsOrder) and an XSLT template. I want to transform the dataset to XML but couldn't get any output. I think is something to do with the "Match" and "Select" state...
Hi all,
I am trying to creat a clock in a windows form .... slowly to become a prgoram. I need it to display the current time... ticking and the date. Both in Central time and than one in ...
I have a code
Session["Member"]
How can I delete that session when user press logout?
I'm trying to pass a timestamp into a label I already have one of the labels working correctly with this code:
this.lbl_time.Text = DateTime.Now.ToString("HHMM");
I would like to do thi...
Hello Experts,
I am receiving a CSV file from a third party. The file aways comes with the first Column of cells with no data. This is due to a comment at location A1 on the spreadsheet. D...
Hi,
I have a Textbox which displays values using DataReader on form1.
when user clicks a button a dialog form (form2 opens up). User enters value in textbox and clicks button.
I save the v...
I have two ASP.net (code written using c#) web pages which I would like to pass a Dataset between.
I have tried using a session but it has not worked.
I am getting an error saying:
C...
In the attached code snippets I am trying to pass a process name or handle via the argument list and have the code find the passed argument in the list of running processes. The first code sni...
I got a httpresponse object with
the header containt below data
base {System.Collections.Specialized.NameValueCollection} = {Content-Disposition: attachment; filename=1234.EXE
Cneonction...