|
yeah.i want to add tables,insert columns ,rows and then display data of that tables.
Chohan
|
|
|
|
|
Why would you want to write a program that keeps adding tables to your database ? What for ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
now for learning purpose
Chohan
|
|
|
|
|
OK, what you've hopefully learned is, create your tables in SQL, then query them using SQL in your C# code.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi friends,
In my C#.Net application i am trying to sort the gridview contents by using the following line.
dgAddressBook.Sort(dgAddressBook.Columns[23], ListSortDirection.Ascending);
but i am receiving the following error. Please help me to resolve this problem.
Error:
The original exception is: DataGridView control must be bound to an IBindingList object to be sorted. at System.Windows.Forms.DataGridView.SortDataBoundDataGridView_PerformCheck(DataGridViewColumn dataGridViewColumn)"
Thanks in Advance,
Regards,
Prya
|
|
|
|
|
this is asp.net forum ....
|
|
|
|
|
|
|
Hi all
I add usercontrol in code behide but it not run some event in (file ascx)
UserControl control = (UserControl)Page.LoadControl("tool/WebUserControl1.ascx");
Page.Controls.Add(control);
Can u show me how is postback to server on file ascx
|
|
|
|
|
|
Hi,
I have this project it has a folder that it's supposed to read but when I run an error occurs the type or namespace name src could not be found(areyou missing a using directive or an assembly referrence?).
This folder is src. What could this be?
Thanks
|
|
|
|
|
hi there:
is this compilation error not run-time?
<< >>
|
|
|
|
|
This error appears when I'm trying to run the project.
|
|
|
|
|
can you post the code snippet here? anyway, the error message is rather clear that you missing the assembly...
<< >>
|
|
|
|
|
public src.controls.cont dngchart;
src is the folder that holds a folder controls wich holds the object cont. Do you think I can create a dll for it?
Thanks
|
|
|
|
|
but in your solution do you make referecence to an assembly that cotain src.controls.cont namespace?
<< >>
|
|
|
|
|
What should I do?
Thanks.
|
|
|
|
|
I'm not sure as I dont know what you really need... So what is the src.controls.cont? if that is a dll, just add reference to this...
<< >>
|
|
|
|
|
I create a crystal report in a asp.net web application. For printing i used window.print() javascript function. But the problem is i can't set page break. Co i used crystal report default printing method like MyReport.PrintToPrinter(1,False,0,0) method. Here it print with page breaks. But here also one problem I want to set printer name. for localhost it work perfectly. But in server how i can set printer name. It shows error while finding printer name. In some document i find one solution as map each and every printer in server. But how can it possible for an Internet application. Can u give one solution...
|
|
|
|
|
in my project i want one panel control to be visible at on mouseover of an event i have writtten the code like this
in code view
lnkbtnwhoweare.Attributes.Add("onmouseover", "show('" & Me.pnlwhoweare.ID & "')")
and in html view
function show(id)
{
document.getElementById(id).style.visibility="true"
}
but it won't work what i have to do
|
|
|
|
|
hi there:
try this document.getElementById(id).style.visibility = 'visible'...
<< >>
|
|
|
|
|
|
can you post your html code here?
<< >>
|
|
|
|
|
function show(id)
{
document.getElementById(id).style.visibility='true'
}
in code window
lnkbtnwhoweare.Attributes.Add("onmouseover", "show('" & Me.lnkbtnwhoweare.ID & "')")
|
|
|
|
|
I'd guess that your Ids are out of whack...what exact error are you getting?
As a stab in the dark, I'd suggest that it's all going "breasts skywards", since in your codebehind, you should be using Me.lnkbtnwhoweare.ClientID. You're trying to call with the server side ID, which will probably be different to the client id (hence the existence of the ClientID property), so when it gets as far as show, there isn't an object in the DOM with the right ID.
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|