|
that depends on where you want to take it, although if I were you I'd be more concerned with figuring out "how to post intelligent question in forum?"
|
|
|
|
|
i am using C# Windows Application
at default i have stored some values in listbox
at page load i want to get all values from listbox
|
|
|
|
|
Where u binding these values in listbox ?? If u binding these in page_load then u can do it after binding some values in listbox.
try like this..
http://www.java2s.com/Code/CSharp/GUI-Windows-Form/Getselectedcheckboxlistitems.htm
|
|
|
|
|
I know that there is A C++ library for interoperability between C++ and Tcl.
I want to know how to do the similar thing for c#?
thanks.
|
|
|
|
|
I don't know the answer to this question but you can use DLLImport to use the method's from c++ as an exmaple I've done the following in the past
[DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")]
private static extern IntPtr CreateRoundRectRgn
(
int nLeftRect,
int nTopRect,
int nRightRect,
int nBottomRect,
int nWidthEllipse,
int nHeightEllipse
);
hope that helps a bit
|
|
|
|
|
Hi
i've configured my typed dataSet for Insert/Update/Delete/Select with stored procedures.
my insert procedure returns pk of inserted record as output parameter. i use TableAdapter.Update method to insert/update/delete operations. my question is that how to get pk of inserted row when i use TableAdapter.Update ?
Note : i need pk of inserted record for update it's child table(s).
|
|
|
|
|
are you not using the PK field to identify which row it is you are updating?
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
i want to get Pk of inserted row
|
|
|
|
|
Hi,,
i added a new form window using "Add new Item" option. the new added form display in the solution explorer. BUT it object is not available into another form why?
I am calling this form from Form1.
using this code
Form4 frm4 = new Form4(); // error line
frm4.Show();
it give an error "The Namespace Form4 could not found"
??? Why this gives the error?
|
|
|
|
|
Have you checked they are in the same namespace? I'm assuming that the new form is called form 4
|
|
|
|
|
i have data set linked with table adapter(which is already linked with table in the database)
and i have datgrid linked with the dataset and when i add values to the table in the db, the added values does not add to the dataset and so does not add to the data grid.
WHY?
|
|
|
|
|
I think the values which u r adding to the table in DB those are not reflecting in that table. Try like this, After adding values to the table
dt.AcceptChanges(); // dt means DataTable
|
|
|
|
|
how can i change the step length for y-axis through using
rad chart because the values of y-axis is too large?
and
how to remove y-axes values from the chart?
|
|
|
|
|
Go to the company that produced it and ask on their forums. This forum is for general C# questions - nothing specific to any third party tool/components you may have purchased.
|
|
|
|
|
How to read the large data(containig 2000 records) from binary file please anyone help me with code.
|
|
|
|
|
You are first going to have to find out the format of the binary file. We don't know this so can't really help beyond the basics of how to open a file for reading.
|
|
|
|
|
|
I think u can get it by dynamic creation of controls. First take a Panel in that u can add the controls one by one applying the height and width. By using LinkLabel control u can do redirection from one form to another. Definitely u can do in this way.
|
|
|
|
|
how to make text box empty while click in it (if some text is already written in text box while page loads)please help
|
|
|
|
|
textbox1.text = string.empty;
Or don't put a value in while in design mode.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
'while page loads' makes me think this is a lost ASP.NET question ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
in a on mouse entry event ( or what ever the correct event I can't remember from top off my head) call the code above.
textbox1.text = "";
|
|
|
|
|
|
I just had a look and think they actually probably want to use enter. Hover is if it goes over, enter when they use the control
|
|
|
|
|
maybe just like this
private void textBox1_Enter(object sender, EventArgs e)
{
textBox1.Text = String.Empty;
}
welcome to www.ideaext.com
|
|
|
|