|
|
I have a C# 2010 web form application that uses linq to sql connections. I am having problems with the visual studio.net 2010 ide opening up very slowly.
The problem looks like I need to change part of the name for a dbml file. Here are the names I am working with;
1. testapp.dbml,
2. testapp.dbml.layout, and
3. testapp1.designer.cs.
I know the problem is the name called testapp1.designer.cs.
I do not know how to change the name of this element. The visual studio.net ide will not let me change
the name from testapp1.designer.cs to testapp.designer.cs.
Thus can you tell me how to change the name?
If you think something else is causing the problem, can you let me know what it is and how to solve the problem?
|
|
|
|
|
You need to apply the rename to the parent file testapp1.cs .
|
|
|
|
|
I changed the higher level file name to:
testapp1.
Then the lower level file name became the following:
testapp11.
Do you have other suggestions?
|
|
|
|
|
Strange, there must be some other naming system in web applications; I have never seen this before. Maybe you should create a new project and see if it follows the same pattern. I also forget why you need to change this name, perhaps you could clarify what the problem is.
|
|
|
|
|
I am having a problem with the default behavior of linq to sql when I added a new table to the app.dbml file to an existing C# 2010 web form app. . The application changed the connection string from appConnectionString (Settings) to OtherConnectionString (Settings).
I am trying to get the app.dbml file file to allow me to change it back to appConnectionString (Settings). However the designer is not allowing me to do that unless i create a new connection string.
Basically I am opening the app.dbml file so I can see the designer. From here I click on properties and I see the connection string settings.
Thus can you tell me how I can get access to change the setting back to appConnectionString (Settings)?
modified 6-Jul-12 16:24pm.
|
|
|
|
|
Hi All,
I'm using HTML Report Engine to create reports in my ASP.net pages (framework 3.5), but I'm receiving false when will save the report.
I'm trying to figure out why of this false return, and in the folder where the file should be in, there´s no file.
Something wrong with my environment?
Anybody can help me please?
Thanks in advance
Regards
Alex
|
|
|
|
|
Monetto wrote: Something wrong with my environment?
Anybody can help me please?
Whatever you have shared is insufficient to comment. There is some unexpected behavior and you ask us why so without any further reference or clue.
Have a look at the sample implementation of HTML Report engine here and see if you find any discrepancy: The HTML Report Engine[^]
|
|
|
|
|
Hi
I'm looking for an asp.net captcha that free and doesn't have a reference to any site but I couldn't find any please help me
|
|
|
|
|
|
Thanks for your help it's really useful ![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
|
Please somebody post reply to this. I am a new developer, and am searching for merging rows of particular column alone.
Thanks,
Sharmi
|
|
|
|
|
Merge column of table (data source).
you have select statement like
Select A, B, C from tableName
so modify it like
Select A = A+B, C from tableName
If you can't access select statement, then you have to modify datasource object prior setting to grid !
|
|
|
|
|
Sorry Let me clearly ask the question again. I am binding the data from stored procedure. I must not touch the SP now. I just need to write a code in rowbound function for merging. I find only the below code in all blogs. It is merging rows of all columns in grid, i need it for only 1 column.
for (int rowIndex = REGrid.Rows.Count - 2; rowIndex >= 0; rowIndex--)
{
GridViewRow gvRow = REGrid.Rows[rowIndex];
GridViewRow gvPreviousRow = REGrid.Rows[rowIndex + 1];
for (int cellCount = 0; cellCount < gvRow.Cells.Count; cellCount++)
{
if (gvRow.Cells[cellCount].Text == gvPreviousRow.Cells[cellCount].Text)
{
if (gvPreviousRow.Cells[cellCount].RowSpan < 2)
{
gvRow.Cells[cellCount].RowSpan = 2;
}
else
{
gvRow.Cells[cellCount].RowSpan = gvPreviousRow.Cells[cellCount].RowSpan + 1;
}
gvPreviousRow.Cells[cellCount].Visible = false;
}
}
}
This is the code. Could you please help me in this, how to re frame this loop for just 1 column. Lets assume for the first column in grid. thanks in advance
Thanks,
Sharmi
|
|
|
|
|
|
Hi , I already saw that link, It is merging all columns right. I need to merge just for 1 column. I dint get it properly,the code. If possible could u pls explain each line.
:confused:
Thanks,
Sharmi
|
|
|
|
|
so you should remove
for in your perevious code and on GridView1_RowDataBound event
try this code: as an example if you want to merge cells 2 of your grid
e.Row.Cells[2].ColumnSpan=2;
Help people is help yourself
|
|
|
|
|
Friends, Please help me with this as soon as possible. By monday i need to show a demo to my Manager. Kinldy do the needful
Thanks,
Sharmi
|
|
|
|
|
I got it done myself. It is working fine now.
Thanks,
Sharmi
|
|
|
|
|
Hi dear you can first add column to the datatable before adding to datasource acording to the datatype
|
|
|
|
|
Hello,
I have Mvc 3.0 functional web site but i need to add CMS into this for static pages. On Kooboo documentation, i saw adding new module to Kooboo site. But is there any way of adding kooboo(for static pages) into my existing mvc functional website ? This will be very helpful to me.
Thanks !
|
|
|
|
|
How to export few sets of data to excel in different worksheets under same book in c#?
I have tried using for loop to call the function which export to excel but it stop after open 1 excel book.
What should I do?
|
|
|
|
|
|
Thanks alot ![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|