|
If you're applying for a C# job, and you don't have any C# experience, how do you expect to actually perform the job? (Or are you hoping people on codeproject will help you every step of the way, every day?)
Regular expressions are the key to this problem. If you're a newbie, it's likely to make your brain hurt, which I'm sure is the reason why they've asked you the question.
|
|
|
|
|
actually didnt got the job..
would you give me the sample code for reference????
life is like a cup of coffee.. its pure black.. its up to you on how much coffee cream you pour in to cast away its blackness.
|
|
|
|
|
I don't have an example - I was just suggesting that regular expressions would be the a good way of solving it. If you really want me to the write the code for you, I'm sure we can come to an agreement if you're happy to pay a sensible hourly fee.
|
|
|
|
|
hello i understand the secrecy of your knowledge...
i hope u can elaborate more with regards to your code..
i hope u understand... i really want to learn...
thanks
life is like a cup of coffee.. its pure black.. its up to you on how much coffee cream you pour in to cast away its blackness.
|
|
|
|
|
can anybody send some solutions with this regard.. which more suitable using regular expressions or using stack..
thanks...
life is like a cup of coffee.. its pure black.. its up to you on how much coffee cream you pour in to cast away its blackness.
|
|
|
|
|
I had a web site i need to show some activity ICON in Taskbar. Icon will keep displaying updated Values upon receives from different users or Database. Just like when we receiv new email in Outlook express and populate small window.
Thanks,
Sun Rays
|
|
|
|
|
That's good to know. Let us know when you have a specific problem, and we'll try to help.
|
|
|
|
|
I dont know how to do this... bcoz in window application we have notify icon control which is doing the same.
but I need for Web Application,
Thanks.
Thanks,
Sun Rays
|
|
|
|
|
|
Hello,
I want to change pixel values of an image according to some data assigned for each pixel location.
I found many image processing tutorials but could not cum across with anything to change the pixel values. If someone can help me it'll be really appreciated.
Thank you
|
|
|
|
|
I suggest you have a look at Image Processing articles by Christian Graus here: http://www.codeproject.com/script/articles/list_articles.asp?userid=6556
|
|
|
|
|
First of all sorry for cross posting, but i need at answer in a short time. The Original Thread is here http://www.codeproject.com/script/comments/forums.asp?forumid=1650&df=2&select=2277409#xx2277409xx[^]
Is there any way to get the Line Number of an Exception at runtime. I don't want to use the pdb Files in the release version. I also tried the Stackframe Object and it also doesn't work.
I know that the Project is in the IL when it is build. But perhaps there is a way with reflection?
Any Ideas? Please help me.
|
|
|
|
|
So now you feel your lack of planning is a reason to annoy everyone else? We did not make any planning mistakes, so why do we have to see your post all over the place? What makes you think you have a more urgent need for the reply than everyone else posting there question in single thread? Actually, have you considered the world is not just about you?
|
|
|
|
|
HI,
i like to know how to read all of the Tables from my "DataBase.mdb" file.
i've created the ODBC Driver and it's DSN is "DataB"
know i'm doing this :
OdbcConnection dbCon = new OdbcConnection("DSN=DataB");
now i need to do this :
OdbcCommand dbcom = new OdbcCommand(SQLString,dbCon);
BUT i do not want a specific Table i want them all!!!!!
maybe i missing the point, i dont know
Help
THNKS
kobkob
|
|
|
|
|
|
it provide's me only a dataTable...
that's good for a start
but u cannot iterate (for/foreac) for all the tables
(without knowing the Tables name)
i like to run over all of it (without sending a table name to bring back)
kobkob
|
|
|
|
|
kobibi wrote: but u cannot iterate (for/foreac) for all the tables
(without knowing the Tables name)
Of course you can! Just use dataTable.Rows.Count and a for loop.
|
|
|
|
|
|
|
kobibi wrote: OdbcConnection dbCon = new OdbcConnection("DSN=myDataBase");
dbCon.Open();
string sSql = "SELECT Name FROM MSysObjects WHERE Type In (1)
AND Left([Name],4)<>MSYS";
OdbcCommand dbcom = new OdbcCommand(sSql, dbCon);
OdbcDataReader dbRdr = dbcom.ExecuteReader();
while(drRdr.read())
{
string newcmd= select * from + drRdr[0] ' one by one table
OdbcCommand dbcom2 = new OdbcCommand(newcmd, dbCon);
'now u can use in your won way
}
Happy Programming
-----
Abhijit
|
|
|
|
|
Look at that Error :
no read permission on 'MSysObjects'.
Because -
OdbcDataReader dbRdr = dbcom.ExecuteReader();
What.....
kobkob
|
|
|
|
|
|
I have run the program given below but iam not getting the values from excel can anyone help me out in this plz
using System;
using Excel;
namespace TestExcel
{
///
/// Summary description for ExcelApplication.
///
class ExcelApplication
{
///
/// The main entry point for the application.
///
[STAThread]
static void Main(string[] args)
{
string Path = @"D:\book1.xls";
// initialize the Excel Application class
Excel.ApplicationClass app = new ApplicationClass();
// create the workbook object by opening the excel file.
Excel.Workbook workBook = app.Workbooks.Open(Path, 0, true, 5, "", "", true, Excel.XlPlatform.xlWindows,
"\t", false, false, 0, true, 1, 0);
// get the active worksheet using sheet name or active sheet
Excel.Worksheet workSheet = (Excel.Worksheet)workBook.ActiveSheet;
string[] name =
{"SPACE_REF","LOCAL_SPACE_NAME","SPACE_AREA","SPACE_USE","CAT_CODE","SUB_CAT_CODE","SCHOOL_USE",
"NIA","EXCLUDED_%","SUFFICIENCY_SPACE_TYPE","SUFFICIENCY_STAUS_CODE","CEILING_HEIGHT","CEILING_TYPE",
"FLOOR_TYPE","CLN_SPEC","CLN_BY","FLOOR_REF","BUILDING_REF","SHARED_SPACE","SHARED_REF","SI_SKETCH_NO",
"UPRN","LMS%"};
int l;
l = name.Length;
for (int a =1; a
|
|
|
|
|
I'm not an expert at the Excel stuff but two things that stick out at me are
a) inside the while loop workSheet.Cells is being indexed with 1,1 for every iteration of the loop instead of i and j
b) also inside the loop the call to console.writeline is printing spaces, the string should be "{0}"
maybe that'll help . . .
|
|
|
|
|
hi all
How do i export a report (sql server reporting services) to the following formats using c# ??
o MS-Excel
o HTML
o MS-Word
o PDF
o CSV
o XML
o RTF
(anyone of the above would also be welcome);P
plss help!
thanks!
|
|
|
|