|
sir
plssssssss help me
I want to make a run time form with text box and label control for a user .
becaue I want user can take textbox from a control by drag and drop and then take a filed from database by combobox and bind them and save as a exe file and then run it .(all this work user will do on runtime form)
as like developer design a form for a user but i want i will give textboxe control,and lable control and also fields to user in this way user by self make a runtime form
r_ifti@hotmail.com
thx
|
|
|
|
|
This part of your question really I don't understand.
rashid2009 wrote: becaue I want user can take textbox from a control by drag and drop and then take a filed from database by combobox and bind them and save as a exe file and then run it .(all this work user will do on runtime form)
as like developer design a form for a user but i want i will give textboxe control,and lable control and also fields to user in this way user by self make a runtime form
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
sir
i want a blank runtime form for a user with textbox control and others control who can take a text field and take a database field from combo box and design a runtime form .(just like a mini vb.net)
for this requirement purpose user itself create a page and design .
thx
|
|
|
|
|
rashid2009 wrote: .(just like a mini vb.net)
Why are you posting in the C# forum then ?
This is a TON of work. You would need to basically write a framework that allows the user to create their own controls and databind them. I would say it's almost certainly beyond you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
i think this is beyond ur knowledge...
it requires lot of efforts to do this...and if u can give such solution than u will be next threat to MS...pls...dont post such hypothetical issues....
dipak
|
|
|
|
|
hello...
i am developing a C# window based application.i have a form(view Item) that contain a datagridview and a button.
datagridview shows the item information and at the button click a new form(Add Item) opened by which user can add the item information.
All i need to do is after filling the item information when we click the save button the datagridview must be updated.
How can i do this.
|
|
|
|
|
Bind daatagridview with select command after you insret new item.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Its not Like that.........
datagridview is on a form named ViewItem and we want to update this datgridview through a button that is on another form name AddItem...
|
|
|
|
|
In dataGeidView set property Modifiers to true and in form AddItem bind datagridview which is in form ViewItem.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
datagridview having property Public,Private,internal,internalProcted
one thing that can be matters is The viewitem form is a MDIChild Form.
but the form Additem Is not a MDI form..ok
|
|
|
|
|
merahul wrote: datagridview having property Public,Private,internal,internalProcted
You are right,sorry it was my mistake to set Modifiers to true,I wanted write Public but not true .
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
I tried but its not working...
|
|
|
|
|
Use delegates to cause events to happen between forms.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
how can i use the delegates.tell me in detail or any example...
|
|
|
|
|
|
I like to give just the keywords. Anyone with any chance of ever becoming a programmer, should be able to type 'C# delegate' into google and find tons of articles to read.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
OleDbCommand cmd1 = new OleDbCommand("select Group_id from Group_details where group='" + descriptiondpdwnlist.SelectedItem .Value + "'", con1);
dr = cmd1.ExecuteReader();
I am selecting a value from dropdownlist and comparing it to group field in table-group_details and group is selected from it ...But why is this error coming?"syntax error near where clause"
|
|
|
|
|
Replace
where group
with
where [group]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
i m working with access database at the back end and using C#.net programming
i want to store the multiple selected items from the listbox to the access database in a single column
plzzzz can anyone help me
i need reply sooon!!!!!!
i m a new learner in C#.net
thnx in advance
|
|
|
|
|
Loop in all items of Listbox and while looping get only selected items.
e.g.
StringBuilder sb = new StringBuilder();<br />
for (int i=0;i<=listBox1.Items.Count-1;i++)<br />
{<br />
if (listBox1.GetSelected(i) == true)<br />
{<br />
sb.Append(listBox1.Items[i].ToString());<br />
sb.Append(",");<br />
}<br />
}<br />
string values = sb.ToString();
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
i m getting error
Error 1 : The type or namespace name 'StringBuilder' could not be found (are you missing a using directive or an assembly reference?)
how to declare this name space??
|
|
|
|
|
Include using namespace System.Text on top of class,or use System.Text.StringBuilder sb = new System.Text.StringBuilder();
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Hi,
I would like to know how can I refer to array such as byte array with offset
such as I would like to use the array from spesific location till the array end
in c++ i would do somthing like that
char *samplesBuffer
int offset = 20;
funcName(samplesBuffer+offset)
how can I do int in c#
thanks
ronen
|
|
|
|
|
You can't. C# doesn't support that sort of pointer arithmetic. You'd have to pass in the starting index instead. The good news is, the array knows it's length, in C++ you'd still have to pass in a length so you knew how far you could go in it
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|