|
i'm not so good in coding....
i'm good in designing....
any suggestions??
|
|
|
|
|
Thats like saying "I have no idea about engineering, but I'm good at designing bridges".
In the real world that means "Your bridge will look cool on paper, but it will fall down". Perhaps if you are good at coming up with things that look cool on paper and are unworkable in the real world you should consider changing major to arts?
|
|
|
|
|
Mark Churchill wrote: Perhaps if you are good at coming up with things that look cool on paper and are unworkable in the real world you should consider changing major to arts?
Or marketing?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
...
Blog link to be reinstated at a later date.
|
|
|
|
|
i'm soory for having done that... 
|
|
|
|
|
Hello All,
I am using Visual Studio c# to make a sample application to send an email from the website.
Now I have query about the web.config file when specifying the host address.
If it is your own, lets say its the local server, whereabouts do you find it?
Cheers & Happy New Year
|
|
|
|
|
The local machine's host address is always 127.0.0.1
|
|
|
|
|
m developing a windows based application in vb.net 2005
what i want to do is to match/compare the data in the database table with the data typed in the textfile,kindly help me...............
|
|
|
|
|
1) Read data from database
2) Read data from file
3) Compare
only two letters away from being an asset
|
|
|
|
|
how to read my.mysettings property from other computer compiled my application.Actualy i want to know that how we can share our app.config file with other computer deployed the same project
Shamo
|
|
|
|
|
|
|
hi,
I am using Gridview.That gridview i have my table contents & one extra column.
that extra cloumn, the column header has a button & the column body has many checkboxes.
If i choose the checkboxes and hit the button the checked rows are deleted in gridview as well as database.....
how do i do that problem?
Pl send the sample code.....
|
|
|
|
|
This is .NET Framework Forum. Please post it on ASP.NET Forum
cheers,
Abhijit
|
|
|
|
|
Check the Link[^]
Cheers!!
Brij
|
|
|
|
|
I need to bind infragistics grid (with template columns of type DropDown) to data from different tables on different servers.There is no relationship between these tables.
I tried following options but no luck
1. Tried merging data from 2 datasets into one. But that needs me to have relationship between datasets.
2. Adding table from one dataset to another, but got an error "Data Table already belongs to another Data Set".
3.Adding columns to DataSet, error: RowCollection has to be serializable.
4.Setting Value List properties for the columns, but it doesn't reflect.
Just wondering if this is possible or should I try following option:
Get Data from different datasets into a Serializable class and bind the grid to this class.
Not sure if I am on the right track..
Please help!
modified on Wednesday, December 31, 2008 4:22 AM
|
|
|
|
|
Hi,
1. You can only merge two datasets if they are identical. If they are then proceed as follows
DataSet third = new DataSet();
third = first.Tables[0].clone();
//Now Loop through thorough each dataset(First, second) and add row by row to third.
2. I think you are using
dsNew.tables.add(datatable);
Try using
dsNew.tables.add(datatable.Copy());
Use copy command of DataTable to add new table to dataset.
3. I used to add columns to dataset using
dsNew.Tables[0].columns.add("colname",typeof(System.string));
and it works fine
4. I cannot understand what you mean
|
|
|
|
|
Thanks a lot..
1. Datasets are not identical.So I guess I can't use Merge.
2. Copy command of DataTable worked I copied table from one dataset into another dataset.
So now I have a consolidated DataSet with 2 tables(from different datasets)
3. I wanted to add existing columns of a table into another dataset and hence it was giving an error.but since above (2) worked this is fine.
4.I want to bind different columns of infragistics grid with columns from different tables, something like this:
grid.col[0] -> ds.table[0].col[0]
grid.col[1] -> ds.table[2].col[3] etc..
But I can set DataSource property of the grid as only one of the tables:
grid.datasource = ds.tables[0]
now all the columns are bound to cols from tables[0] mentioned above and the individual column bindings are overridden...
|
|
|
|
|
PritiP wrote: 4.I want to bind different columns of infragistics grid with columns from different tables, something like this:
grid.col[0] -> ds.table[0].col[0]
grid.col[1] -> ds.table[2].col[3] etc..
But I can set DataSource property of the grid as only one of the tables:
grid.datasource = ds.tables[0]
You cannot bind a single column of grid to a dataset.
Rather construct the single dataset that servers the purpose
|
|
|
|
|
I was able to bind a column to different table of the dataset as below:
grid.Columns[0].Type=ColumnType.DropDownList;
ValueList vlist = grid.Columns[0].ValueList;
vlist.DataSource=ds;
vlist.DataMember="table_name";
vlist.ValueMember="id";
vlist.DisplayMember="col_name";
vlist.DataBind();
Could do this in Infragistics..Not sure if we can do this with .NET grid though.
|
|
|
|
|
Hi,
I am developing an addin for Outlook 2003. Here I use a CommandBarComboBox for searching purpose. The change event is fired following two situations.
1. Hitting Enter(Return) key after typing search keyword.
2. Clicking the mouse button anywhere in the outlook after typing search keyword.
I need the event will be fired only when hitting Enter(Return) key.
If any solutions exist please share it.
(I need the same functionality as help textbox on the top right corner of the outlook screen)
Thanks,
Prasad J.
|
|
|
|
|
Dear All
I have a problem in crystal report line. I want to make the single line into double line.so i increased the width. And this doesn't work. Then i tried giving "Double Line Property" then i have the error like this.
"Exception of type 'System.Runtime.InteropServices.ExternalException' was thrown." This error occurs and i am not able to set the property.
Can anyone help me
Thanks in advance
|
|
|
|
|
Hi all,
How to connect windows xp sp2 from windows server 2008?They are all on the same network (a workgroup, not domain), with no firewalls in between (excepting Windows Firewall, which I have disabled on windows xp sp2)this is my code.Remote access is success for server 2008 from windows xp sp2.but i can't access windows xp sp2 from windows server 2008.can any one help me? how to solve the problem?
ConnectionOptions connection = new ConnectionOptions();
connection.EnablePrivileges = true;
ManagementScope scope = null;
connection.Authority = "NTLMDomain:" + domain;
connection.Username = "userName";
connection.Password = " password";
//Local Machine
if (compName.ToUpper() == Environment.MachineName.ToUpper())
{
scope = new ManagementScope(@"\root\cimv2", connection);
}
else //Remote Machine
{
scope = new ManagementScope(@"\\" + compName + @"\root\cimv2", connection);
}
scope.Options.EnablePrivileges = true;
scope.Connect();//Getting the error here. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
//
ObjectQuery query = new ObjectQuery("SELECT * FROM Win32_OperatingSystem");
ManagementObjectSearcher objsearcher = new ManagementObjectSearcher(scope, query);
ManagementObjectCollection objcol = objsearcher.Get();
|
|
|
|
|
Access Denied means the account your code is running under doesn't have the permissions to connect to the WMI provider on the other machine. If your machines are in a workgroup environment, each machine maintains its own accounts and doesn't trust the accounts of another machine. In a domain envirionment, every machine in the domain trusts the same account database.
So, if in a workgroup, you're running the code under an admin account, that account has no meaning to the other machine.
|
|
|
|
|