User Profile
Collapse
-
Try a FOR EACH, and leave the EXIT SUB inside the IF (I'd rather use an EXIT FOR). -
For populating, try using the DataSet directly:
Code:cboFrom2.Datasource = ds.Tables(0)
Code:col.Add(dTable.Tables(0).Rows(i).Item("UserName").ToString.Trim())
Leave a comment:
-
¿Can you share your connection method and your connection string?, perhaps you're looking for a file instead of connecting to a server.Leave a comment:
-
kadghar replied to how to hide the link of linkbutton in gridview? how to prevent whole page refresh?in .NETwell, if you dont want the page to refresh, just set its 'autopostback' property to false... you can do it from the asp code.
Now, if you want to prevent the whole page to refresh, but still refreshing your gridview, put it into an iframe.Leave a comment:
-
I'm not quite sure i understood, if the problem is to make problemas = "111111", change its type, since an integer cannot be larger than 32,000 (aprox). Use a long.
If your problem is with the selected value. Select a default value in the 'load' sub.
HTHLeave a comment:
-
Sure, create a SaveFileDialog, call it, save the .file into a string and then call the method using that string....Leave a comment:
-
Your panel is a control, isnt it?
well, what we are doing here is:
1) create your control graphics and call them gr1
2) create a bitmap, the same size as your control
3) use the DrawToBitmap method
4) save it as a *.bmp file
This procedure will do it; just call it with the control and the file name as parameters.Leave a comment:
-
Get the control as a bitmap and save it into a file:
Code:public void SaveBitmap(Control control, string fileName) { Graphics gr1 = control.CreateGraphics(); Bitmap bmp1 = new Bitmap(control.Width, control.Height); control.DrawToBitmap(bmp1, new Rectangle(0, 0, control.Width, control.Height)); bmp1.Save(fileName); }
Leave a comment:
-
Use parenthesis:
IF(Exists(...
IF is a function for this matter.Leave a comment:
-
To read an XLSX, I wouldn't try any alternative. Installing Excel seems the right thing to do.Leave a comment:
-
If you want to create Excel files, its better if you have Excel installed. Never the less, you can create HTML tables in plain text, save them with *.XLS extension, and Excel will read them well.Leave a comment:
-
I'm not sure how this datetime picker works, but i believe it can only cross today's date. Never the less, you can show any date as marked or selected. Check out its properties.Leave a comment:
-
Sure, and your question is... ¿?
Check out the Microsoft DAO object libraryLeave a comment:
-
-
1) Create a FORM than only contains the gridView, or
2) Create a string by your own. It's quite simple to develop it by yourself.Leave a comment:
-
Of course its VBA, Rabbit.
Anyway, if your Access DB is an MDB, then you can do this:
1) Make sure you add this reference to your VBA project:
Microsoft DAO Object Library.
2) Use a DataBase object and a Recordset; something like:
Code:Dim DBobj As Database Dim RSet As Recordset Set DBobj = DBEngine.Workspaces(0).OpenDatabase([I]yourfile.mdb[/I]) Set RSet = DBobj.OpenRecordset("SELECT
Leave a comment:
-
Yes, i ment the label's text converted into a numeric value.
But now that i see your problem. perhaps you should make sure the form is public and also all its objects and methods.Leave a comment:
-
What ariful alarm said was java, but it's good for any server-side script engine. And it's a good way to do it.Leave a comment:
-
First of all, find a good algorithm for your incomplete gamma function for non-integers (then share it ^.^).Leave a comment:
-
Since you cannot guarantee you'll have Excel installed on your web server, the easiest way is to create an HTML table in plain text, then throw it as an .XLS file.
Excel can open HTML tables quite nice; with the little inconvenient it'll show a dialog before opening. (no big deal)Leave a comment:
No activity results to display
Show More
Leave a comment: